#8951C8#8951C8
#8951C8 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.6% C 0.180 H 302.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8951C8 |
|---|---|
| RGB | rgb(137, 81, 200) |
| HSL | hsl(268, 52%, 55%) |
| HSV | hsv(268, 60%, 78%) |
| CMYK | cmyk(31.5%, 59.5%, 0%, 21.6%) |
| CIE-LAB | lab(46.14, 46.78, -53.44) |
| CIE-LCH | lch(46.14, 71.02, 311.20°) |
| OKLab | oklab(55.57% 0.0969 -0.1513) |
| OKLCH | oklch(55.57% 0.18 302.6) |
| XYZ | xyz(23.6819, 15.3733, 56.3521) |
| Luminance | 0.1537 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.63
Deep Lavender
#8D5EB7
ΔE00 5.06
Royal Purple
#7851A9
ΔE00 5.64
Darkorchid
#9932CC
ΔE00 6.06
Amethyst
#9B5FC0
ΔE00 6.13
Light Indigo
#6D5ACF
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8951C8 #90C851
analogous
#5155C8 #8951C8 #C451C8
triadic
#8951C8 #C88951 #51C889
tetradic
#8951C8 #C85155 #90C851 #51C8C4
square
#8951C8 #C85155 #90C851 #51C8C4
split-complementary
#8951C8 #C8C451 #55C851
monochromatic
#4D2679 #6B35A7 #8951C8 #A980D7 #C8AEE5
Accessibility & contrast
On white
5.15
#8951C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#8951C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8951C8
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8951C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8951C8 | 1.00 | 5.15 | 4.07 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#136CCC
Deuteranopia (green-blind)
#316DC5
Tritanopia (blue-blind)
#7D6985
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8951c8; /* rgb */ color: rgb(137, 81, 200); /* oklch */ color: oklch(55.6% 0.180 302.6);
Tailwind
colors: {
custom: {
50: '#af84d9',
500: '#8951c8',
950: '#000000',
},
}SCSS
$custom: #8951c8; $custom-light: #af84d9; $custom-dark: #000000;
JSON
{
"hex": "#8951c8",
"rgb": {
"r": 137,
"g": 81,
"b": 200
},
"hsl": {
"h": 268.235,
"s": 51.965,
"l": 55.098
},
"oklch": {
"l": 0.55567,
"c": 0.17965,
"h": 302.6
},
"luminance": 0.15373
}Semantic roles & 50–950 ramp
primary
#8951C8
secondary
#BCD3A1
accent
#DB4C98
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83