#882F97#882F97
#882F97 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.9% C 0.176 H 321.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #882F97 |
|---|---|
| RGB | rgb(136, 47, 151) |
| HSL | hsl(291, 53%, 39%) |
| HSV | hsv(291, 69%, 59%) |
| CMYK | cmyk(9.9%, 68.9%, 0%, 40.8%) |
| CIE-LAB | lab(36.93, 52.19, -39.20) |
| CIE-LCH | lch(36.93, 65.27, 323.09°) |
| OKLab | oklab(47.9% 0.1379 -0.1094) |
| OKLCH | oklch(47.9% 0.176 321.6) |
| XYZ | xyz(16.7552, 9.5025, 30.2238) |
| Luminance | 0.0950 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.70
Purple (survey)
#7E1E9C
ΔE00 4.05
Barney Purple
#A00498
ΔE00 4.94
Darkmagenta
#8B008B
ΔE00 4.94
Purply
#983FB2
ΔE00 6.07
Purple
#800080
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#882F97 #3E972F
analogous
#542F97 #882F97 #972F72
triadic
#882F97 #97882F #2F9788
tetradic
#882F97 #97542F #3E972F #2F7297
square
#882F97 #97542F #3E972F #2F7297
split-complementary
#882F97 #72972F #2F9754
monochromatic
#34123A #5E2068 #882F97 #B040C3 #C46ED2
Accessibility & contrast
On white
7.24
#882F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#882F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #882F97
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##882F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##882F97 | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D509A
Deuteranopia (green-blind)
#3B5A94
Tritanopia (blue-blind)
#89415F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #882f97; /* rgb */ color: rgb(136, 47, 151); /* oklch */ color: oklch(47.9% 0.176 321.6);
Tailwind
colors: {
custom: {
50: '#ae6fb6',
500: '#882f97',
950: '#000000',
},
}SCSS
$custom: #882f97; $custom-light: #ae6fb6; $custom-dark: #000000;
JSON
{
"hex": "#882f97",
"rgb": {
"r": 136,
"g": 47,
"b": 151
},
"hsl": {
"h": 291.346,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.47897,
"c": 0.17603,
"h": 321.6
},
"luminance": 0.09502
}Semantic roles & 50–950 ramp
primary
#882F97
secondary
#74B968
accent
#DC4C61
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80