#8951BF#8951BF
#8951BF is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.0% C 0.169 H 305.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8951BF |
|---|---|
| RGB | rgb(137, 81, 191) |
| HSL | hsl(271, 46%, 53%) |
| HSV | hsv(271, 58%, 75%) |
| CMYK | cmyk(28.3%, 57.6%, 0%, 25.1%) |
| CIE-LAB | lab(45.59, 44.58, -49.11) |
| CIE-LCH | lch(45.59, 66.33, 312.23°) |
| OKLab | oklab(54.98% 0.0969 -0.1386) |
| OKLCH | oklch(54.98% 0.169 305) |
| XYZ | xyz(22.6609, 14.9649, 50.9748) |
| Luminance | 0.1497 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.27
Royal Purple
#7851A9
ΔE00 4.56
Purply
#983FB2
ΔE00 5.56
Amethyst
#9B5FC0
ΔE00 5.74
Purpley
#8756E4
ΔE00 6.08
Darkorchid
#9932CC
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8951BF #87BF51
analogous
#5251BF #8951BF #BF51BE
triadic
#8951BF #BF8951 #51BF89
tetradic
#8951BF #BF5251 #87BF51 #51BEBF
square
#8951BF #BF5251 #87BF51 #51BEBF
split-complementary
#8951BF #BEBF51 #51BF52
monochromatic
#4B286D #6A399A #8951BF #A77ECF #C6AAE0
Accessibility & contrast
On white
5.26
#8951BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#8951BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8951BF
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8951BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8951BF | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#246AC3
Deuteranopia (green-blind)
#3B6CBC
Tritanopia (blue-blind)
#806680
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8951bf; /* rgb */ color: rgb(137, 81, 191); /* oklch */ color: oklch(55.0% 0.169 305.0);
Tailwind
colors: {
custom: {
50: '#af84d3',
500: '#8951bf',
950: '#000000',
},
}SCSS
$custom: #8951bf; $custom-light: #af84d3; $custom-dark: #000000;
JSON
{
"hex": "#8951bf",
"rgb": {
"r": 137,
"g": 81,
"b": 191
},
"hsl": {
"h": 270.545,
"s": 46.218,
"l": 53.333
},
"oklch": {
"l": 0.54983,
"c": 0.16913,
"h": 305
},
"luminance": 0.14965
}Semantic roles & 50–950 ramp
primary
#8951BF
secondary
#B5CE9E
accent
#D65293
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83