#8F4FE3#8F4FE3
#8F4FE3 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.8% C 0.214 H 299.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4FE3 |
|---|---|
| RGB | rgb(143, 79, 227) |
| HSL | hsl(266, 73%, 60%) |
| HSV | hsv(266, 65%, 89%) |
| CMYK | cmyk(37%, 65.2%, 0%, 11%) |
| CIE-LAB | lab(48.23, 55.77, -65.46) |
| CIE-LCH | lch(48.23, 86.00, 310.43°) |
| OKLab | oklab(57.8% 0.1054 -0.1864) |
| OKLCH | oklch(57.8% 0.214 299.5) |
| XYZ | xyz(27.9854, 16.9774, 74.4607) |
| Luminance | 0.1698 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.08
Lightish Purple
#A552E6
ΔE00 4.29
Lighter Purple
#A55AF4
ΔE00 5.73
Electric Purple
#AA23FF
ΔE00 6.33
Blueviolet
#8A2BE2
ΔE00 6.74
Darkorchid
#9932CC
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4FE3 #A3E34F
analogous
#4F59E3 #8F4FE3 #D94FE3
triadic
#8F4FE3 #E38F4F #4FE38F
tetradic
#8F4FE3 #E34F59 #A3E34F #4FE3D9
square
#8F4FE3 #E34F59 #A3E34F #4FE3D9
split-complementary
#8F4FE3 #E3D94F #59E34F
monochromatic
#53199E #6E22D3 #8F4FE3 #B184EB #D2B9F4
Accessibility & contrast
On white
4.78
#8F4FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#8F4FE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4FE3
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4FE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4FE3 | 1.00 | 4.78 | 4.40 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E8
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#7C7192
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8f4fe3; /* rgb */ color: rgb(143, 79, 227); /* oklch */ color: oklch(57.8% 0.214 299.5);
Tailwind
colors: {
custom: {
50: '#b584ed',
500: '#8f4fe3',
950: '#000000',
},
}SCSS
$custom: #8f4fe3; $custom-light: #b584ed; $custom-dark: #000000;
JSON
{
"hex": "#8f4fe3",
"rgb": {
"r": 143,
"g": 79,
"b": 227
},
"hsl": {
"h": 265.946,
"s": 72.549,
"l": 60
},
"oklch": {
"l": 0.57804,
"c": 0.21414,
"h": 299.5
},
"luminance": 0.16978
}Semantic roles & 50–950 ramp
primary
#8F4FE3
secondary
#CBE3AA
accent
#EF39A0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84