#882CA9#882CA9
#882CA9 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.196 H 315.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #882CA9 |
|---|---|
| RGB | rgb(136, 44, 169) |
| HSL | hsl(284, 59%, 42%) |
| HSV | hsv(284, 74%, 66%) |
| CMYK | cmyk(19.5%, 74%, 0%, 33.7%) |
| CIE-LAB | lab(37.66, 56.96, -48.88) |
| CIE-LCH | lch(37.66, 75.05, 319.37°) |
| OKLab | oklab(48.79% 0.1397 -0.1377) |
| OKLCH | oklch(48.79% 0.196 315.4) |
| XYZ | xyz(18.2143, 9.9009, 38.4800) |
| Luminance | 0.0990 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.49
Purply
#983FB2
ΔE00 5.27
Darkorchid
#9932CC
ΔE00 6.02
Darkviolet
#9400D3
ΔE00 6.18
Barney Purple
#A00498
ΔE00 6.33
Barney
#AC1DB8
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#882CA9 #4DA92C
analogous
#4A2CA9 #882CA9 #A92C8C
triadic
#882CA9 #A9882C #2CA988
tetradic
#882CA9 #A94A2C #4DA92C #2C8CA9
square
#882CA9 #A94A2C #4DA92C #2C8CA9
split-complementary
#882CA9 #8CA92C #2CA94A
monochromatic
#3A1348 #611F78 #882CA9 #AA44CE #C074DB
Accessibility & contrast
On white
7.05
#882CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#882CA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #882CA9
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##882CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##882CA9 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#285BA6
Tritanopia (blue-blind)
#854768
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #882ca9; /* rgb */ color: rgb(136, 44, 169); /* oklch */ color: oklch(48.8% 0.196 315.4);
Tailwind
colors: {
custom: {
50: '#af6ec3',
500: '#882ca9',
950: '#000000',
},
}SCSS
$custom: #882ca9; $custom-light: #af6ec3; $custom-dark: #000000;
JSON
{
"hex": "#882ca9",
"rgb": {
"r": 136,
"g": 44,
"b": 169
},
"hsl": {
"h": 284.16,
"s": 58.685,
"l": 41.765
},
"oklch": {
"l": 0.48787,
"c": 0.19618,
"h": 315.4
},
"luminance": 0.099
}Semantic roles & 50–950 ramp
primary
#882CA9
secondary
#85C36E
accent
#E2466F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82