#8951BC#8951BC
#8951BC is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.8% C 0.166 H 305.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #8951BC |
|---|---|
| RGB | rgb(137, 81, 188) |
| HSL | hsl(271, 44%, 53%) |
| HSV | hsv(271, 57%, 74%) |
| CMYK | cmyk(27.1%, 56.9%, 0%, 26.3%) |
| CIE-LAB | lab(45.41, 43.86, -47.66) |
| CIE-LCH | lch(45.41, 64.77, 312.62°) |
| OKLab | oklab(54.79% 0.0969 -0.1343) |
| OKLCH | oklch(54.79% 0.166 305.8) |
| XYZ | xyz(22.3341, 14.8342, 49.2539) |
| Luminance | 0.1483 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.07
Royal Purple
#7851A9
ΔE00 4.25
Purply
#983FB2
ΔE00 5.29
Amethyst
#9B5FC0
ΔE00 5.67
Darkorchid
#9932CC
ΔE00 6.29
Purpley
#8756E4
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8951BC #84BC51
analogous
#5451BC #8951BC #BC51B9
triadic
#8951BC #BC8951 #51BC89
tetradic
#8951BC #BC5451 #84BC51 #51B9BC
square
#8951BC #BC5451 #84BC51 #51B9BC
split-complementary
#8951BC #B9BC51 #51BC54
monochromatic
#4B296A #6A3A96 #8951BC #A77DCD #C5A9DE
Accessibility & contrast
On white
5.29
#8951BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#8951BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8951BC
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8951BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8951BC | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#286AC0
Deuteranopia (green-blind)
#3E6CB9
Tritanopia (blue-blind)
#81657F
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8951bc; /* rgb */ color: rgb(137, 81, 188); /* oklch */ color: oklch(54.8% 0.166 305.8);
Tailwind
colors: {
custom: {
50: '#ae84d1',
500: '#8951bc',
950: '#000000',
},
}SCSS
$custom: #8951bc; $custom-light: #ae84d1; $custom-dark: #000000;
JSON
{
"hex": "#8951bc",
"rgb": {
"r": 137,
"g": 81,
"b": 188
},
"hsl": {
"h": 271.402,
"s": 44.398,
"l": 52.745
},
"oklch": {
"l": 0.54793,
"c": 0.1656,
"h": 305.8
},
"luminance": 0.14834
}Semantic roles & 50–950 ramp
primary
#8951BC
secondary
#B3CC9D
accent
#D45491
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82