#8F76E2#8F76E2
#8F76E2 is a light, vivid violet. Relative luminance 0.243; OKLCH L 63.8% C 0.158 H 292.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8F76E2 |
|---|---|
| RGB | rgb(143, 118, 226) |
| HSL | hsl(254, 65%, 67%) |
| HSV | hsv(254, 48%, 89%) |
| CMYK | cmyk(36.7%, 47.8%, 0%, 11.4%) |
| CIE-LAB | lab(56.37, 34.17, -51.82) |
| CIE-LCH | lch(56.37, 62.07, 303.40°) |
| OKLab | oklab(63.77% 0.059 -0.1464) |
| OKLCH | oklch(63.77% 0.158 292) |
| XYZ | xyz(31.5300, 24.2867, 74.9633) |
| Luminance | 0.2429 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.45
Periwinkle (survey)
#8E82FE
ΔE00 5.46
Mediumslateblue
#7B68EE
ΔE00 5.74
Lavender Blue
#8B88F8
ΔE00 6.60
Perrywinkle
#8F8CE7
ΔE00 6.88
Light Urple
#B36FF6
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F76E2 #C9E276
analogous
#7693E2 #8F76E2 #C576E2
triadic
#8F76E2 #E28F76 #76E28F
tetradic
#8F76E2 #E27693 #C9E276 #76E2C5
square
#8F76E2 #E27693 #C9E276 #76E2C5
split-complementary
#8F76E2 #E2C576 #93E276
monochromatic
#4827B7 #6643D7 #8F76E2 #B8A9ED #E2DBF7
Accessibility & contrast
On white
3.59
#8F76E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#8F76E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F76E2
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F76E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F76E2 | 1.00 | 3.59 | 5.86 | 5.86 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E89E6
Deuteranopia (green-blind)
#5285DF
Tritanopia (blue-blind)
#7A8BA1
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8f76e2; /* rgb */ color: rgb(143, 118, 226); /* oklch */ color: oklch(63.8% 0.158 292.0);
Tailwind
colors: {
custom: {
50: '#b39eec',
500: '#8f76e2',
950: '#000000',
},
}SCSS
$custom: #8f76e2; $custom-light: #b39eec; $custom-dark: #000000;
JSON
{
"hex": "#8f76e2",
"rgb": {
"r": 143,
"g": 118,
"b": 226
},
"hsl": {
"h": 253.889,
"s": 65.06,
"l": 67.451
},
"oklch": {
"l": 0.63774,
"c": 0.15784,
"h": 292
},
"luminance": 0.24287
}Semantic roles & 50–950 ramp
primary
#8F76E2
secondary
#E3EBC9
accent
#CD19A3
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84