#8F4FE0#8F4FE0
#8F4FE0 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.6% C 0.211 H 300.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4FE0 |
|---|---|
| RGB | rgb(143, 79, 224) |
| HSL | hsl(266, 70%, 59%) |
| HSV | hsv(266, 65%, 88%) |
| CMYK | cmyk(36.2%, 64.7%, 0%, 12.2%) |
| CIE-LAB | lab(48.02, 55.04, -64.10) |
| CIE-LCH | lch(48.02, 84.48, 310.65°) |
| OKLab | oklab(57.59% 0.1057 -0.1824) |
| OKLCH | oklch(57.59% 0.211 300.1) |
| XYZ | xyz(27.5749, 16.8132, 72.2991) |
| Luminance | 0.1681 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.25
Lightish Purple
#A552E6
ΔE00 4.33
Lighter Purple
#A55AF4
ΔE00 5.93
Electric Purple
#AA23FF
ΔE00 6.47
Darkorchid
#9932CC
ΔE00 6.60
Blueviolet
#8A2BE2
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4FE0 #A0E04F
analogous
#4F58E0 #8F4FE0 #D84FE0
triadic
#8F4FE0 #E08F4F #4FE08F
tetradic
#8F4FE0 #E04F58 #A0E04F #4FE0D8
square
#8F4FE0 #E04F58 #A0E04F #4FE0D8
split-complementary
#8F4FE0 #E0D84F #58E04F
monochromatic
#531B9A #6F24CE #8F4FE0 #B083E9 #D1B7F2
Accessibility & contrast
On white
4.81
#8F4FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#8F4FE0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4FE0
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4FE0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4FE0 | 1.00 | 4.81 | 4.36 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E4
Deuteranopia (green-blind)
#0071DD
Tritanopia (blue-blind)
#7D7091
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8f4fe0; /* rgb */ color: rgb(143, 79, 224); /* oklch */ color: oklch(57.6% 0.211 300.1);
Tailwind
colors: {
custom: {
50: '#b584eb',
500: '#8f4fe0',
950: '#000000',
},
}SCSS
$custom: #8f4fe0; $custom-light: #b584eb; $custom-dark: #000000;
JSON
{
"hex": "#8f4fe0",
"rgb": {
"r": 143,
"g": 79,
"b": 224
},
"hsl": {
"h": 266.483,
"s": 70.048,
"l": 59.412
},
"oklch": {
"l": 0.57589,
"c": 0.21081,
"h": 300.1
},
"luminance": 0.16813
}Semantic roles & 50–950 ramp
primary
#8F4FE0
secondary
#C9E2A9
accent
#ED3B9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84