#8951E1#8951E1
#8951E1 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.3% C 0.209 H 297.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8951E1 |
|---|---|
| RGB | rgb(137, 81, 225) |
| HSL | hsl(263, 71%, 60%) |
| HSV | hsv(263, 64%, 88%) |
| CMYK | cmyk(39.1%, 64%, 0%, 11.8%) |
| CIE-LAB | lab(47.80, 53.05, -65.06) |
| CIE-LCH | lch(47.80, 83.94, 309.20°) |
| OKLab | oklab(57.3% 0.0954 -0.1854) |
| OKLCH | oklch(57.3% 0.209 297.2) |
| XYZ | xyz(26.8461, 16.6390, 73.0168) |
| Luminance | 0.1664 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.39
Lightish Purple
#A552E6
ΔE00 5.23
Light Indigo
#6D5ACF
ΔE00 5.90
Lighter Purple
#A55AF4
ΔE00 6.42
Slate Blue
#6A5ACD
ΔE00 6.50
Bluish Purple
#703BE7
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8951E1 #A9E151
analogous
#5161E1 #8951E1 #D151E1
triadic
#8951E1 #E18951 #51E189
tetradic
#8951E1 #E15161 #A9E151 #51E1D1
square
#8951E1 #E15161 #A9E151 #51E1D1
split-complementary
#8951E1 #E1D151 #61E151
monochromatic
#4D1B9D #6724D1 #8951E1 #AC85EA #D0B9F3
Accessibility & contrast
On white
4.85
#8951E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#8951E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8951E1
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8951E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8951E1 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#0070DE
Tritanopia (blue-blind)
#747292
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8951e1; /* rgb */ color: rgb(137, 81, 225); /* oklch */ color: oklch(57.3% 0.209 297.2);
Tailwind
colors: {
custom: {
50: '#b185eb',
500: '#8951e1',
950: '#000000',
},
}SCSS
$custom: #8951e1; $custom-light: #b185eb; $custom-dark: #000000;
JSON
{
"hex": "#8951e1",
"rgb": {
"r": 137,
"g": 81,
"b": 225
},
"hsl": {
"h": 263.333,
"s": 70.588,
"l": 60
},
"oklch": {
"l": 0.57301,
"c": 0.20855,
"h": 297.2
},
"luminance": 0.16639
}Semantic roles & 50–950 ramp
primary
#8951E1
secondary
#CDE3AB
accent
#ED3AA8
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84