#882EB6#882EB6
#882EB6 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.206 H 311.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #882EB6 |
|---|---|
| RGB | rgb(136, 46, 182) |
| HSL | hsl(280, 60%, 45%) |
| HSV | hsv(280, 75%, 71%) |
| CMYK | cmyk(25.3%, 74.7%, 0%, 28.6%) |
| CIE-LAB | lab(38.84, 58.88, -54.70) |
| CIE-LCH | lch(38.84, 80.37, 317.11°) |
| OKLab | oklab(49.91% 0.1359 -0.1549) |
| OKLCH | oklch(49.91% 0.206 311.3) |
| XYZ | xyz(19.5722, 10.5661, 45.2553) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.41
Darkviolet
#9400D3
ΔE00 4.59
Purple (survey)
#7E1E9C
ΔE00 5.06
Purply
#983FB2
ΔE00 5.18
Blueviolet
#8A2BE2
ΔE00 6.17
Barney
#AC1DB8
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#882EB6 #5CB62E
analogous
#442EB6 #882EB6 #B62EA0
triadic
#882EB6 #B6882E #2EB688
tetradic
#882EB6 #B6442E #5CB62E #2EA0B6
square
#882EB6 #B6442E #5CB62E #2EA0B6
split-complementary
#882EB6 #A0B62E #2EB644
monochromatic
#3F1554 #632285 #882EB6 #A64FD2 #BF80DF
Accessibility & contrast
On white
6.75
#882EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#882EB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #882EB6
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##882EB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##882EB6 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#155DB3
Tritanopia (blue-blind)
#824D70
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #882eb6; /* rgb */ color: rgb(136, 46, 182); /* oklch */ color: oklch(49.9% 0.206 311.3);
Tailwind
colors: {
custom: {
50: '#af70cd',
500: '#882eb6',
950: '#000000',
},
}SCSS
$custom: #882eb6; $custom-light: #af70cd; $custom-dark: #000000;
JSON
{
"hex": "#882eb6",
"rgb": {
"r": 136,
"g": 46,
"b": 182
},
"hsl": {
"h": 279.706,
"s": 59.649,
"l": 44.706
},
"oklch": {
"l": 0.49907,
"c": 0.20603,
"h": 311.3
},
"luminance": 0.10566
}Semantic roles & 50–950 ramp
primary
#882EB6
secondary
#93C878
accent
#E3457A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82