#882BA9#882BA9
#882BA9 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.197 H 315.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #882BA9 |
|---|---|
| RGB | rgb(136, 43, 169) |
| HSL | hsl(284, 59%, 42%) |
| HSV | hsv(284, 75%, 66%) |
| CMYK | cmyk(19.5%, 74.6%, 0%, 33.7%) |
| CIE-LAB | lab(37.53, 57.34, -49.09) |
| CIE-LCH | lch(37.53, 75.48, 319.43°) |
| OKLab | oklab(48.69% 0.1407 -0.1384) |
| OKLCH | oklch(48.69% 0.197 315.5) |
| XYZ | xyz(18.1775, 9.8273, 38.4678) |
| Luminance | 0.0983 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.38
Purply
#983FB2
ΔE00 5.39
Darkorchid
#9932CC
ΔE00 6.08
Darkviolet
#9400D3
ΔE00 6.14
Barney Purple
#A00498
ΔE00 6.29
Barney
#AC1DB8
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#882BA9 #4CA92B
analogous
#492BA9 #882BA9 #A92B8B
triadic
#882BA9 #A9882B #2BA988
tetradic
#882BA9 #A9492B #4CA92B #2B8BA9
square
#882BA9 #A9492B #4CA92B #2B8BA9
split-complementary
#882BA9 #8BA92B #2BA949
monochromatic
#391247 #611F78 #882BA9 #AA42CF #C073DB
Accessibility & contrast
On white
7.08
#882BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#882BA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #882BA9
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##882BA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##882BA9 | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#285BA6
Tritanopia (blue-blind)
#854668
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #882ba9; /* rgb */ color: rgb(136, 43, 169); /* oklch */ color: oklch(48.7% 0.197 315.5);
Tailwind
colors: {
custom: {
50: '#af6ec3',
500: '#882ba9',
950: '#000000',
},
}SCSS
$custom: #882ba9; $custom-light: #af6ec3; $custom-dark: #000000;
JSON
{
"hex": "#882ba9",
"rgb": {
"r": 136,
"g": 43,
"b": 169
},
"hsl": {
"h": 284.286,
"s": 59.434,
"l": 41.569
},
"oklch": {
"l": 0.48693,
"c": 0.1973,
"h": 315.5
},
"luminance": 0.09827
}Semantic roles & 50–950 ramp
primary
#882BA9
secondary
#83C36D
accent
#E3456E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82