#882CAB#882CAB
#882CAB is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.198 H 314.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #882CAB |
|---|---|
| RGB | rgb(136, 44, 171) |
| HSL | hsl(283, 59%, 42%) |
| HSV | hsv(283, 74%, 67%) |
| CMYK | cmyk(20.5%, 74.3%, 0%, 32.9%) |
| CIE-LAB | lab(37.80, 57.36, -49.85) |
| CIE-LCH | lch(37.80, 76.00, 319.01°) |
| OKLab | oklab(48.93% 0.1394 -0.1406) |
| OKLCH | oklch(48.93% 0.198 314.8) |
| XYZ | xyz(18.4035, 9.9765, 39.4764) |
| Luminance | 0.0998 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.66
Purply
#983FB2
ΔE00 5.24
Darkorchid
#9932CC
ΔE00 5.77
Darkviolet
#9400D3
ΔE00 5.89
Barney
#AC1DB8
ΔE00 6.35
Rebeccapurple
#663399
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#882CAB #4FAB2C
analogous
#492CAB #882CAB #AB2C8E
triadic
#882CAB #AB882C #2CAB88
tetradic
#882CAB #AB492C #4FAB2C #2C8EAB
square
#882CAB #AB492C #4FAB2C #2C8EAB
split-complementary
#882CAB #8EAB2C #2CAB49
monochromatic
#3B134A #611F7A #882CAB #A945CF #C076DC
Accessibility & contrast
On white
7.01
#882CAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#882CAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #882CAB
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##882CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##882CAB | 1.00 | 7.01 | 3.00 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#265BA8
Tritanopia (blue-blind)
#854869
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #882cab; /* rgb */ color: rgb(136, 44, 171); /* oklch */ color: oklch(48.9% 0.198 314.8);
Tailwind
colors: {
custom: {
50: '#af6fc5',
500: '#882cab',
950: '#000000',
},
}SCSS
$custom: #882cab; $custom-light: #af6fc5; $custom-dark: #000000;
JSON
{
"hex": "#882cab",
"rgb": {
"r": 136,
"g": 44,
"b": 171
},
"hsl": {
"h": 283.465,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.48927,
"c": 0.19801,
"h": 314.8
},
"luminance": 0.09976
}Semantic roles & 50–950 ramp
primary
#882CAB
secondary
#87C36F
accent
#E24671
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82