#882CA6#882CA6
#882CA6 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.193 H 316.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #882CA6 |
|---|---|
| RGB | rgb(136, 44, 166) |
| HSL | hsl(285, 58%, 41%) |
| HSV | hsv(285, 73%, 65%) |
| CMYK | cmyk(18.1%, 73.5%, 0%, 34.9%) |
| CIE-LAB | lab(37.46, 56.35, -47.41) |
| CIE-LCH | lch(37.46, 73.64, 319.93°) |
| OKLab | oklab(48.58% 0.14 -0.1334) |
| OKLCH | oklch(48.58% 0.193 316.4) |
| XYZ | xyz(17.9359, 9.7895, 37.0138) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.30
Purply
#983FB2
ΔE00 5.34
Barney Purple
#A00498
ΔE00 6.00
Warm Purple
#952E8F
ΔE00 6.03
Darkmagenta
#8B008B
ΔE00 6.23
Barney
#AC1DB8
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#882CA6 #4AA62C
analogous
#4B2CA6 #882CA6 #A62C87
triadic
#882CA6 #A6882C #2CA688
tetradic
#882CA6 #A64B2C #4AA62C #2C87A6
square
#882CA6 #A64B2C #4AA62C #2C87A6
split-complementary
#882CA6 #87A62C #2CA64B
monochromatic
#391245 #601F76 #882CA6 #AB42CD #C073DA
Accessibility & contrast
On white
7.10
#882CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#882CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #882CA6
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##882CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##882CA6 | 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)
#0053A9
Deuteranopia (green-blind)
#2C5BA3
Tritanopia (blue-blind)
#864667
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #882ca6; /* rgb */ color: rgb(136, 44, 166); /* oklch */ color: oklch(48.6% 0.193 316.4);
Tailwind
colors: {
custom: {
50: '#af6ec1',
500: '#882ca6',
950: '#000000',
},
}SCSS
$custom: #882ca6; $custom-light: #af6ec1; $custom-dark: #000000;
JSON
{
"hex": "#882ca6",
"rgb": {
"r": 136,
"g": 44,
"b": 166
},
"hsl": {
"h": 285.246,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.4858,
"c": 0.19343,
"h": 316.4
},
"luminance": 0.09789
}Semantic roles & 50–950 ramp
primary
#882CA6
secondary
#81C16D
accent
#E1466D
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81