#882AA9#882AA9
#882AA9 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.198 H 315.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #882AA9 |
|---|---|
| RGB | rgb(136, 42, 169) |
| HSL | hsl(284, 60%, 41%) |
| HSV | hsv(284, 75%, 66%) |
| CMYK | cmyk(19.5%, 75.1%, 0%, 33.7%) |
| CIE-LAB | lab(37.40, 57.71, -49.30) |
| CIE-LCH | lch(37.40, 75.90, 319.49°) |
| OKLab | oklab(48.6% 0.1416 -0.139) |
| OKLCH | oklch(48.6% 0.198 315.5) |
| XYZ | xyz(18.1416, 9.7554, 38.4558) |
| Luminance | 0.0975 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.27
Purply
#983FB2
ΔE00 5.52
Darkviolet
#9400D3
ΔE00 6.09
Darkorchid
#9932CC
ΔE00 6.15
Barney Purple
#A00498
ΔE00 6.26
Rebeccapurple
#663399
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#882AA9 #4BA92A
analogous
#482AA9 #882AA9 #A92A8B
triadic
#882AA9 #A9882A #2AA988
tetradic
#882AA9 #A9482A #4BA92A #2A8BA9
square
#882AA9 #A9482A #4BA92A #2A8BA9
split-complementary
#882AA9 #8BA92A #2AA948
monochromatic
#391247 #611E78 #882AA9 #AA41D0 #C072DC
Accessibility & contrast
On white
7.12
#882AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#882AA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #882AA9
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##882AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##882AA9 | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#275AA6
Tritanopia (blue-blind)
#854668
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #882aa9; /* rgb */ color: rgb(136, 42, 169); /* oklch */ color: oklch(48.6% 0.198 315.5);
Tailwind
colors: {
custom: {
50: '#af6ec3',
500: '#882aa9',
950: '#000000',
},
}SCSS
$custom: #882aa9; $custom-light: #af6ec3; $custom-dark: #000000;
JSON
{
"hex": "#882aa9",
"rgb": {
"r": 136,
"g": 42,
"b": 169
},
"hsl": {
"h": 284.409,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.486,
"c": 0.19841,
"h": 315.5
},
"luminance": 0.09755
}Semantic roles & 50–950 ramp
primary
#882AA9
secondary
#82C36C
accent
#E3446E
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82