#8951CA#8951CA
#8951CA is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.7% C 0.182 H 302.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8951CA |
|---|---|
| RGB | rgb(137, 81, 202) |
| HSL | hsl(268, 53%, 55%) |
| HSV | hsv(268, 60%, 79%) |
| CMYK | cmyk(32.2%, 59.9%, 0%, 20.8%) |
| CIE-LAB | lab(46.27, 47.27, -54.39) |
| CIE-LCH | lch(46.27, 72.06, 311.00°) |
| OKLab | oklab(55.7% 0.0969 -0.1541) |
| OKLCH | oklch(55.7% 0.182 302.2) |
| XYZ | xyz(23.9172, 15.4674, 57.5911) |
| Luminance | 0.1547 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.32
Deep Lavender
#8D5EB7
ΔE00 5.27
Royal Purple
#7851A9
ΔE00 5.91
Darkorchid
#9932CC
ΔE00 6.09
Light Indigo
#6D5ACF
ΔE00 6.22
Amethyst
#9B5FC0
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8951CA #92CA51
analogous
#5155CA #8951CA #C651CA
triadic
#8951CA #CA8951 #51CA89
tetradic
#8951CA #CA5155 #92CA51 #51CAC6
square
#8951CA #CA5155 #92CA51 #51CAC6
split-complementary
#8951CA #CAC651 #55CA51
monochromatic
#4D257B #6B34AA #8951CA #A980D8 #C9AFE7
Accessibility & contrast
On white
5.13
#8951CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#8951CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8951CA
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8951CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8951CA | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C6DCE
Deuteranopia (green-blind)
#2F6DC7
Tritanopia (blue-blind)
#7C6A86
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8951ca; /* rgb */ color: rgb(137, 81, 202); /* oklch */ color: oklch(55.7% 0.182 302.2);
Tailwind
colors: {
custom: {
50: '#af84db',
500: '#8951ca',
950: '#000000',
},
}SCSS
$custom: #8951ca; $custom-light: #af84db; $custom-dark: #000000;
JSON
{
"hex": "#8951ca",
"rgb": {
"r": 137,
"g": 81,
"b": 202
},
"hsl": {
"h": 267.769,
"s": 53.304,
"l": 55.49
},
"oklch": {
"l": 0.557,
"c": 0.18198,
"h": 302.2
},
"luminance": 0.15467
}Semantic roles & 50–950 ramp
primary
#8951CA
secondary
#BDD5A2
accent
#DD4B99
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83