#8E7DFC
Color Details
HEX
#8E7DFC
RGB
rgb(142, 125, 252)
HSL
hsl(248, 95%, 74%)
CMYK
cmyk(44%, 50%, 0%, 1%)
Best text on this color
#000000 (CR 6.49:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #8E7DFC
#8E7DFC converts to RGB(142, 125, 252) and HSL(248, 95%, 74%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.
Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).
#8E7DFC FAQs
What is the RGB value of #8E7DFC?
RGB: 142, 125, 252. Copy as CSS:
rgb(142, 125, 252)
Is #8E7DFC a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #8E7DFC?
Complement: #ebfc7e.
Does #8E7DFC have good contrast on white or black?
On white: 3.24:1 (AA (large text)).
On black: 6.49:1 (AA (normal text)).