#882FA1#882FA1
#882FA1 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.185 H 317.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #882FA1 |
|---|---|
| RGB | rgb(136, 47, 161) |
| HSL | hsl(287, 55%, 41%) |
| HSV | hsv(287, 71%, 63%) |
| CMYK | cmyk(15.5%, 70.8%, 0%, 36.9%) |
| CIE-LAB | lab(37.56, 54.16, -44.25) |
| CIE-LCH | lch(37.56, 69.94, 320.75°) |
| OKLab | oklab(48.54% 0.1374 -0.1242) |
| OKLCH | oklch(48.54% 0.185 317.9) |
| XYZ | xyz(17.6020, 9.8412, 34.6837) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.57
Warm Purple
#952E8F
ΔE00 5.18
Purply
#983FB2
ΔE00 5.20
Barney Purple
#A00498
ΔE00 5.65
Darkmagenta
#8B008B
ΔE00 5.92
Barney
#AC1DB8
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#882FA1 #48A12F
analogous
#4F2FA1 #882FA1 #A12F81
triadic
#882FA1 #A1882F #2FA188
tetradic
#882FA1 #A14F2F #48A12F #2F81A1
square
#882FA1 #A14F2F #48A12F #2F81A1
split-complementary
#882FA1 #81A12F #2FA14F
monochromatic
#381342 #602172 #882FA1 #AC45C9 #C174D6
Accessibility & contrast
On white
7.08
#882FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#882FA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #882FA1
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##882FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##882FA1 | 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)
#0053A4
Deuteranopia (green-blind)
#335B9E
Tritanopia (blue-blind)
#874565
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #882fa1; /* rgb */ color: rgb(136, 47, 161); /* oklch */ color: oklch(48.5% 0.185 317.9);
Tailwind
colors: {
custom: {
50: '#ae70bd',
500: '#882fa1',
950: '#000000',
},
}SCSS
$custom: #882fa1; $custom-light: #ae70bd; $custom-dark: #000000;
JSON
{
"hex": "#882fa1",
"rgb": {
"r": 136,
"g": 47,
"b": 161
},
"hsl": {
"h": 286.842,
"s": 54.808,
"l": 40.784
},
"oklch": {
"l": 0.48542,
"c": 0.18523,
"h": 317.9
},
"luminance": 0.0984
}Semantic roles & 50–950 ramp
primary
#882FA1
secondary
#7FBE6E
accent
#DE4A6A
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81