#882ABB#882ABB
#882ABB is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.9% C 0.215 H 310.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #882ABB |
|---|---|
| RGB | rgb(136, 42, 187) |
| HSL | hsl(279, 63%, 45%) |
| HSV | hsv(279, 78%, 73%) |
| CMYK | cmyk(27.3%, 77.5%, 0%, 26.7%) |
| CIE-LAB | lab(38.69, 61.42, -57.90) |
| CIE-LCH | lch(38.69, 84.41, 316.69°) |
| OKLab | oklab(49.92% 0.1385 -0.1642) |
| OKLCH | oklch(49.92% 0.215 310.1) |
| XYZ | xyz(19.9492, 10.4785, 47.9757) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.79
Darkorchid
#9932CC
ΔE00 4.29
Purple (survey)
#7E1E9C
ΔE00 5.37
Blueviolet
#8A2BE2
ΔE00 5.51
Purply
#983FB2
ΔE00 5.84
Violet (survey)
#9A0EEA
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#882ABB #5DBB2A
analogous
#402ABB #882ABB #BB2AA5
triadic
#882ABB #BB882A #2ABB88
tetradic
#882ABB #BB402A #5DBB2A #2AA5BB
square
#882ABB #BB402A #5DBB2A #2AA5BB
split-complementary
#882ABB #A5BB2A #2ABB40
monochromatic
#3F1457 #641F89 #882ABB #A64CD7 #BF7DE2
Accessibility & contrast
On white
6.78
#882ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#882ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #882ABB
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##882ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##882ABB | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#814E72
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #882abb; /* rgb */ color: rgb(136, 42, 187); /* oklch */ color: oklch(49.9% 0.215 310.1);
Tailwind
colors: {
custom: {
50: '#b06ed0',
500: '#882abb',
950: '#000000',
},
}SCSS
$custom: #882abb; $custom-light: #b06ed0; $custom-dark: #000000;
JSON
{
"hex": "#882abb",
"rgb": {
"r": 136,
"g": 42,
"b": 187
},
"hsl": {
"h": 278.897,
"s": 63.319,
"l": 44.902
},
"oklch": {
"l": 0.49915,
"c": 0.21483,
"h": 310.1
},
"luminance": 0.10478
}Semantic roles & 50–950 ramp
primary
#882ABB
secondary
#94CA76
accent
#E6417B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82