#882DB6#882DB6
#882DB6 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.8% C 0.207 H 311.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #882DB6 |
|---|---|
| RGB | rgb(136, 45, 182) |
| HSL | hsl(280, 60%, 45%) |
| HSV | hsv(280, 75%, 71%) |
| CMYK | cmyk(25.3%, 75.3%, 0%, 28.6%) |
| CIE-LAB | lab(38.71, 59.26, -54.92) |
| CIE-LCH | lch(38.71, 80.80, 317.18°) |
| OKLab | oklab(49.81% 0.1368 -0.1555) |
| OKLCH | oklch(49.81% 0.207 311.3) |
| XYZ | xyz(19.5336, 10.4889, 45.2425) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.48
Darkviolet
#9400D3
ΔE00 4.52
Purple (survey)
#7E1E9C
ΔE00 4.96
Purply
#983FB2
ΔE00 5.30
Blueviolet
#8A2BE2
ΔE00 6.19
Barney
#AC1DB8
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#882DB6 #5BB62D
analogous
#442DB6 #882DB6 #B62DA0
triadic
#882DB6 #B6882D #2DB688
tetradic
#882DB6 #B6442D #5BB62D #2DA0B6
square
#882DB6 #B6442D #5BB62D #2DA0B6
split-complementary
#882DB6 #A0B62D #2DB644
monochromatic
#3F1554 #632185 #882DB6 #A64DD3 #BF7EDF
Accessibility & contrast
On white
6.78
#882DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#882DB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #882DB6
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##882DB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##882DB6 | 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)
#0057BA
Deuteranopia (green-blind)
#135DB3
Tritanopia (blue-blind)
#824D70
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #882db6; /* rgb */ color: rgb(136, 45, 182); /* oklch */ color: oklch(49.8% 0.207 311.3);
Tailwind
colors: {
custom: {
50: '#af6fcd',
500: '#882db6',
950: '#000000',
},
}SCSS
$custom: #882db6; $custom-light: #af6fcd; $custom-dark: #000000;
JSON
{
"hex": "#882db6",
"rgb": {
"r": 136,
"g": 45,
"b": 182
},
"hsl": {
"h": 279.854,
"s": 60.352,
"l": 44.51
},
"oklch": {
"l": 0.49813,
"c": 0.20711,
"h": 311.3
},
"luminance": 0.10488
}Semantic roles & 50–950 ramp
primary
#882DB6
secondary
#92C877
accent
#E3447A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82