#8F4FE1#8F4FE1
#8F4FE1 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.7% C 0.212 H 299.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4FE1 |
|---|---|
| RGB | rgb(143, 79, 225) |
| HSL | hsl(266, 71%, 60%) |
| HSV | hsv(266, 65%, 88%) |
| CMYK | cmyk(36.4%, 64.9%, 0%, 11.8%) |
| CIE-LAB | lab(48.09, 55.28, -64.55) |
| CIE-LCH | lch(48.09, 84.99, 310.58°) |
| OKLab | oklab(57.66% 0.1056 -0.1837) |
| OKLCH | oklch(57.66% 0.212 299.9) |
| XYZ | xyz(27.7109, 16.8676, 73.0154) |
| Luminance | 0.1687 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.19
Lightish Purple
#A552E6
ΔE00 4.32
Lighter Purple
#A55AF4
ΔE00 5.86
Electric Purple
#AA23FF
ΔE00 6.42
Blueviolet
#8A2BE2
ΔE00 6.69
Darkorchid
#9932CC
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4FE1 #A1E14F
analogous
#4F58E1 #8F4FE1 #D84FE1
triadic
#8F4FE1 #E18F4F #4FE18F
tetradic
#8F4FE1 #E14F58 #A1E14F #4FE1D8
square
#8F4FE1 #E14F58 #A1E14F #4FE1D8
split-complementary
#8F4FE1 #E1D84F #58E14F
monochromatic
#531A9B #6F23CF #8F4FE1 #B083EA #D2B8F3
Accessibility & contrast
On white
4.80
#8F4FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#8F4FE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4FE1
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4FE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4FE1 | 1.00 | 4.80 | 4.37 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#0071DE
Tritanopia (blue-blind)
#7D7091
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8f4fe1; /* rgb */ color: rgb(143, 79, 225); /* oklch */ color: oklch(57.7% 0.212 299.9);
Tailwind
colors: {
custom: {
50: '#b584eb',
500: '#8f4fe1',
950: '#000000',
},
}SCSS
$custom: #8f4fe1; $custom-light: #b584eb; $custom-dark: #000000;
JSON
{
"hex": "#8f4fe1",
"rgb": {
"r": 143,
"g": 79,
"b": 225
},
"hsl": {
"h": 266.301,
"s": 70.874,
"l": 59.608
},
"oklch": {
"l": 0.5766,
"c": 0.21192,
"h": 299.9
},
"luminance": 0.16868
}Semantic roles & 50–950 ramp
primary
#8F4FE1
secondary
#C9E2AA
accent
#EE3A9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84