#8952BF#8952BF
#8952BF is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.1% C 0.168 H 304.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #8952BF |
|---|---|
| RGB | rgb(137, 82, 191) |
| HSL | hsl(270, 46%, 54%) |
| HSV | hsv(270, 57%, 75%) |
| CMYK | cmyk(28.3%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(45.79, 44.04, -48.79) |
| CIE-LCH | lch(45.79, 65.72, 312.07°) |
| OKLab | oklab(55.13% 0.0956 -0.1376) |
| OKLCH | oklch(55.13% 0.168 304.8) |
| XYZ | xyz(22.7357, 15.1147, 50.9998) |
| Luminance | 0.1512 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.04
Royal Purple
#7851A9
ΔE00 4.56
Amethyst
#9B5FC0
ΔE00 5.55
Purply
#983FB2
ΔE00 5.73
Purpley
#8756E4
ΔE00 6.02
Darkorchid
#9932CC
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8952BF #88BF52
analogous
#5252BF #8952BF #BF52BF
triadic
#8952BF #BF8952 #52BF89
tetradic
#8952BF #BF5252 #88BF52 #52BFBF
square
#8952BF #BF5252 #88BF52 #52BFBF
split-complementary
#8952BF #BFBF52 #52BF52
monochromatic
#4C296E #6A399B #8952BF #A77FD0 #C6ABE0
Accessibility & contrast
On white
5.22
#8952BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#8952BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8952BF
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8952BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8952BF | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#276BC3
Deuteranopia (green-blind)
#3C6DBC
Tritanopia (blue-blind)
#806781
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8952bf; /* rgb */ color: rgb(137, 82, 191); /* oklch */ color: oklch(55.1% 0.168 304.8);
Tailwind
colors: {
custom: {
50: '#af85d3',
500: '#8952bf',
950: '#000000',
},
}SCSS
$custom: #8952bf; $custom-light: #af85d3; $custom-dark: #000000;
JSON
{
"hex": "#8952bf",
"rgb": {
"r": 137,
"g": 82,
"b": 191
},
"hsl": {
"h": 270.275,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.55133,
"c": 0.16761,
"h": 304.8
},
"luminance": 0.15115
}Semantic roles & 50–950 ramp
primary
#8952BF
secondary
#B6CE9F
accent
#D65293
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83