#8E4FDF#8E4FDF
#8E4FDF is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.4% C 0.210 H 299.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4FDF |
|---|---|
| RGB | rgb(142, 79, 223) |
| HSL | hsl(266, 69%, 59%) |
| HSV | hsv(266, 65%, 87%) |
| CMYK | cmyk(36.3%, 64.6%, 0%, 12.5%) |
| CIE-LAB | lab(47.84, 54.59, -63.83) |
| CIE-LCH | lch(47.84, 83.99, 310.54°) |
| OKLab | oklab(57.41% 0.1045 -0.1817) |
| OKLCH | oklch(57.41% 0.21 299.9) |
| XYZ | xyz(27.2673, 16.6702, 71.5788) |
| Luminance | 0.1667 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.24
Lightish Purple
#A552E6
ΔE00 4.53
Lighter Purple
#A55AF4
ΔE00 6.14
Darkorchid
#9932CC
ΔE00 6.55
Blueviolet
#8A2BE2
ΔE00 6.59
Electric Purple
#AA23FF
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4FDF #A0DF4F
analogous
#4F58DF #8E4FDF #D64FDF
triadic
#8E4FDF #DF8E4F #4FDF8E
tetradic
#8E4FDF #DF4F58 #A0DF4F #4FDFD6
square
#8E4FDF #DF4F58 #A0DF4F #4FDFD6
split-complementary
#8E4FDF #DFD64F #58DF4F
monochromatic
#521C98 #6E25CC #8E4FDF #AF83E8 #D0B7F2
Accessibility & contrast
On white
4.85
#8E4FDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#8E4FDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4FDF
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4FDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4FDF | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#7C6F90
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8e4fdf; /* rgb */ color: rgb(142, 79, 223); /* oklch */ color: oklch(57.4% 0.210 299.9);
Tailwind
colors: {
custom: {
50: '#b484ea',
500: '#8e4fdf',
950: '#000000',
},
}SCSS
$custom: #8e4fdf; $custom-light: #b484ea; $custom-dark: #000000;
JSON
{
"hex": "#8e4fdf",
"rgb": {
"r": 142,
"g": 79,
"b": 223
},
"hsl": {
"h": 266.25,
"s": 69.231,
"l": 59.216
},
"oklch": {
"l": 0.57411,
"c": 0.20955,
"h": 299.9
},
"luminance": 0.1667
}Semantic roles & 50–950 ramp
primary
#8E4FDF
secondary
#C8E1A9
accent
#EC3C9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84