#8E4FE6#8E4FE6
#8E4FE6 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.9% C 0.217 H 298.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4FE6 |
|---|---|
| RGB | rgb(142, 79, 230) |
| HSL | hsl(265, 75%, 61%) |
| HSV | hsv(265, 66%, 90%) |
| CMYK | cmyk(38.3%, 65.7%, 0%, 9.8%) |
| CIE-LAB | lab(48.33, 56.32, -67.00) |
| CIE-LCH | lch(48.33, 87.53, 310.05°) |
| OKLab | oklab(57.92% 0.1037 -0.191) |
| OKLCH | oklch(57.92% 0.217 298.5) |
| XYZ | xyz(28.2306, 17.0555, 76.6523) |
| Luminance | 0.1706 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.89
Lightish Purple
#A552E6
ΔE00 4.47
Lighter Purple
#A55AF4
ΔE00 5.69
Electric Purple
#AA23FF
ΔE00 6.28
Blueviolet
#8A2BE2
ΔE00 6.79
Light Indigo
#6D5ACF
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4FE6 #A7E64F
analogous
#4F5BE6 #8E4FE6 #D94FE6
triadic
#8E4FE6 #E68E4F #4FE68E
tetradic
#8E4FE6 #E64F5B #A7E64F #4FE6D9
square
#8E4FE6 #E64F5B #A7E64F #4FE6D9
split-complementary
#8E4FE6 #E6D94F #5BE64F
monochromatic
#5217A3 #6C1FD9 #8E4FE6 #B085EE #D3BAF5
Accessibility & contrast
On white
4.76
#8E4FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#8E4FE6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4FE6
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4FE6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4FE6 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0071E3
Tritanopia (blue-blind)
#797294
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #8e4fe6; /* rgb */ color: rgb(142, 79, 230); /* oklch */ color: oklch(57.9% 0.217 298.5);
Tailwind
colors: {
custom: {
50: '#b584ef',
500: '#8e4fe6',
950: '#000000',
},
}SCSS
$custom: #8e4fe6; $custom-light: #b584ef; $custom-dark: #000000;
JSON
{
"hex": "#8e4fe6",
"rgb": {
"r": 142,
"g": 79,
"b": 230
},
"hsl": {
"h": 265.033,
"s": 75.124,
"l": 60.588
},
"oklch": {
"l": 0.57916,
"c": 0.21733,
"h": 298.5
},
"luminance": 0.17056
}Semantic roles & 50–950 ramp
primary
#8E4FE6
secondary
#CDE5AC
accent
#D70E83
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85