#882CB9#882CB9
#882CB9 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.9% C 0.211 H 310.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #882CB9 |
|---|---|
| RGB | rgb(136, 44, 185) |
| HSL | hsl(279, 62%, 45%) |
| HSV | hsv(279, 76%, 73%) |
| CMYK | cmyk(26.5%, 76.2%, 0%, 27.5%) |
| CIE-LAB | lab(38.79, 60.27, -56.55) |
| CIE-LCH | lch(38.79, 82.65, 316.82°) |
| OKLab | oklab(49.94% 0.1372 -0.1603) |
| OKLCH | oklch(49.94% 0.211 310.6) |
| XYZ | xyz(19.8093, 10.5388, 46.8802) |
| Luminance | 0.1054 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.12
Darkorchid
#9932CC
ΔE00 4.29
Purple (survey)
#7E1E9C
ΔE00 5.26
Purply
#983FB2
ΔE00 5.54
Blueviolet
#8A2BE2
ΔE00 5.75
Barney
#AC1DB8
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#882CB9 #5DB92C
analogous
#422CB9 #882CB9 #B92CA3
triadic
#882CB9 #B9882C #2CB988
tetradic
#882CB9 #B9422C #5DB92C #2CA3B9
square
#882CB9 #B9422C #5DB92C #2CA3B9
split-complementary
#882CB9 #A3B92C #2CB942
monochromatic
#3F1456 #642088 #882CB9 #A64DD5 #BF7FE1
Accessibility & contrast
On white
6.76
#882CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#882CB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #882CB9
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##882CB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##882CB9 | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#055DB6
Tritanopia (blue-blind)
#814E71
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #882cb9; /* rgb */ color: rgb(136, 44, 185); /* oklch */ color: oklch(49.9% 0.211 310.6);
Tailwind
colors: {
custom: {
50: '#b06fcf',
500: '#882cb9',
950: '#000000',
},
}SCSS
$custom: #882cb9; $custom-light: #b06fcf; $custom-dark: #000000;
JSON
{
"hex": "#882cb9",
"rgb": {
"r": 136,
"g": 44,
"b": 185
},
"hsl": {
"h": 279.149,
"s": 61.572,
"l": 44.902
},
"oklch": {
"l": 0.49942,
"c": 0.21096,
"h": 310.6
},
"luminance": 0.10538
}Semantic roles & 50–950 ramp
primary
#882CB9
secondary
#94C978
accent
#E5437B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82