#802B71#802B71
#802B71 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.1% C 0.144 H 335.4°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #802B71 |
|---|---|
| RGB | rgb(128, 43, 113) |
| HSL | hsl(311, 50%, 34%) |
| HSV | hsv(311, 66%, 50%) |
| CMYK | cmyk(0%, 66.4%, 11.7%, 49.8%) |
| CIE-LAB | lab(32.94, 44.98, -22.03) |
| CIE-LCH | lch(32.94, 50.08, 333.91°) |
| OKLab | oklab(44.08% 0.1311 -0.0599) |
| OKLCH | oklch(44.08% 0.144 335.4) |
| XYZ | xyz(12.7467, 7.5102, 16.3979) |
| Luminance | 0.0751 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.71
Bruise
#7E4071
ΔE00 5.13
Grape
#6C3461
ΔE00 5.44
Warm Purple
#952E8F
ΔE00 6.16
Purple
#800080
ΔE00 6.39
Light Eggplant
#894585
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#802B71 #2B803A
analogous
#642B80 #802B71 #802B46
triadic
#802B71 #71802B #2B7180
tetradic
#802B71 #80642B #2B803A #2B4680
square
#802B71 #80642B #2B803A #2B4680
split-complementary
#802B71 #46802B #2B8064
monochromatic
#240C20 #521C49 #802B71 #AE3A99 #C95DB6
Accessibility & contrast
On white
8.39
#802B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#802B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #802B71
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##802B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##802B71 | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4573
Deuteranopia (green-blind)
#47526F
Tritanopia (blue-blind)
#86304A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #802b71; /* rgb */ color: rgb(128, 43, 113); /* oklch */ color: oklch(44.1% 0.144 335.4);
Tailwind
colors: {
custom: {
50: '#a86b9a',
500: '#802b71',
950: '#000000',
},
}SCSS
$custom: #802b71; $custom-light: #a86b9a; $custom-dark: #000000;
JSON
{
"hex": "#802b71",
"rgb": {
"r": 128,
"g": 43,
"b": 113
},
"hsl": {
"h": 310.588,
"s": 49.708,
"l": 33.529
},
"oklch": {
"l": 0.44075,
"c": 0.14415,
"h": 335.4
},
"luminance": 0.07509
}Semantic roles & 50–950 ramp
primary
#802B71
secondary
#58AE68
accent
#D9674F
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E