#882BAA#882BAA
#882BAA is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.198 H 315.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #882BAA |
|---|---|
| RGB | rgb(136, 43, 170) |
| HSL | hsl(284, 60%, 42%) |
| HSV | hsv(284, 75%, 67%) |
| CMYK | cmyk(20%, 74.7%, 0%, 33.3%) |
| CIE-LAB | lab(37.60, 57.54, -49.58) |
| CIE-LCH | lch(37.60, 75.95, 319.25°) |
| OKLab | oklab(48.76% 0.1405 -0.1398) |
| OKLCH | oklch(48.76% 0.198 315.1) |
| XYZ | xyz(18.2717, 9.8649, 38.9641) |
| Luminance | 0.0986 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.46
Purply
#983FB2
ΔE00 5.38
Darkorchid
#9932CC
ΔE00 5.96
Darkviolet
#9400D3
ΔE00 5.99
Barney
#AC1DB8
ΔE00 6.39
Barney Purple
#A00498
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#882BAA #4DAA2B
analogous
#492BAA #882BAA #AA2B8D
triadic
#882BAA #AA882B #2BAA88
tetradic
#882BAA #AA492B #4DAA2B #2B8DAA
square
#882BAA #AA492B #4DAA2B #2B8DAA
split-complementary
#882BAA #8DAA2B #2BAA49
monochromatic
#3A1248 #611F79 #882BAA #AA43CF #C074DC
Accessibility & contrast
On white
7.06
#882BAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#882BAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #882BAA
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##882BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##882BAA | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#265BA7
Tritanopia (blue-blind)
#854769
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #882baa; /* rgb */ color: rgb(136, 43, 170); /* oklch */ color: oklch(48.8% 0.198 315.1);
Tailwind
colors: {
custom: {
50: '#af6ec4',
500: '#882baa',
950: '#000000',
},
}SCSS
$custom: #882baa; $custom-light: #af6ec4; $custom-dark: #000000;
JSON
{
"hex": "#882baa",
"rgb": {
"r": 136,
"g": 43,
"b": 170
},
"hsl": {
"h": 283.937,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.48763,
"c": 0.19822,
"h": 315.1
},
"luminance": 0.09864
}Semantic roles & 50–950 ramp
primary
#882BAA
secondary
#85C36E
accent
#E3456F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82