#882AAA#882AAA
#882AAA is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.199 H 315.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #882AAA |
|---|---|
| RGB | rgb(136, 42, 170) |
| HSL | hsl(284, 60%, 42%) |
| HSV | hsv(284, 75%, 67%) |
| CMYK | cmyk(20%, 75.3%, 0%, 33.3%) |
| CIE-LAB | lab(37.47, 57.91, -49.79) |
| CIE-LCH | lch(37.47, 76.37, 319.31°) |
| OKLab | oklab(48.67% 0.1415 -0.1404) |
| OKLCH | oklch(48.67% 0.199 315.2) |
| XYZ | xyz(18.2358, 9.7931, 38.9521) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.36
Purply
#983FB2
ΔE00 5.50
Darkviolet
#9400D3
ΔE00 5.95
Darkorchid
#9932CC
ΔE00 6.02
Barney Purple
#A00498
ΔE00 6.37
Barney
#AC1DB8
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#882AAA #4CAA2A
analogous
#482AAA #882AAA #AA2A8C
triadic
#882AAA #AA882A #2AAA88
tetradic
#882AAA #AA482A #4CAA2A #2A8CAA
square
#882AAA #AA482A #4CAA2A #2A8CAA
split-complementary
#882AAA #8CAA2A #2AAA48
monochromatic
#391248 #611E79 #882AAA #AA41D0 #C072DC
Accessibility & contrast
On white
7.10
#882AAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#882AAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #882AAA
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##882AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##882AAA | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#255BA7
Tritanopia (blue-blind)
#854668
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #882aaa; /* rgb */ color: rgb(136, 42, 170); /* oklch */ color: oklch(48.7% 0.199 315.2);
Tailwind
colors: {
custom: {
50: '#af6ec4',
500: '#882aaa',
950: '#000000',
},
}SCSS
$custom: #882aaa; $custom-light: #af6ec4; $custom-dark: #000000;
JSON
{
"hex": "#882aaa",
"rgb": {
"r": 136,
"g": 42,
"b": 170
},
"hsl": {
"h": 284.063,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.4867,
"c": 0.19931,
"h": 315.2
},
"luminance": 0.09792
}Semantic roles & 50–950 ramp
primary
#882AAA
secondary
#83C36C
accent
#E4446F
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82