#802E71#802E71
#802E71 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.4% C 0.140 H 335.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #802E71 |
|---|---|
| RGB | rgb(128, 46, 113) |
| HSL | hsl(311, 47%, 34%) |
| HSV | hsv(311, 64%, 50%) |
| CMYK | cmyk(0%, 64.1%, 11.7%, 49.8%) |
| CIE-LAB | lab(33.43, 43.63, -21.27) |
| CIE-LCH | lch(33.43, 48.54, 334.01°) |
| OKLab | oklab(44.43% 0.1271 -0.0578) |
| OKLCH | oklch(44.43% 0.14 335.5) |
| XYZ | xyz(12.8598, 7.7365, 16.4356) |
| Luminance | 0.0774 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.51
Grape
#6C3461
ΔE00 5.15
Darkish Purple
#751973
ΔE00 5.24
Light Eggplant
#894585
ΔE00 6.10
Warm Purple
#952E8F
ΔE00 6.19
Purple
#800080
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#802E71 #2E803D
analogous
#662E80 #802E71 #802E48
triadic
#802E71 #71802E #2E7180
tetradic
#802E71 #80662E #2E803D #2E4880
square
#802E71 #80662E #2E803D #2E4880
split-complementary
#802E71 #48802E #2E8066
monochromatic
#260E22 #531E49 #802E71 #AD3E99 #C762B4
Accessibility & contrast
On white
8.24
#802E71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#802E71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #802E71
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##802E71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##802E71 | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4773
Deuteranopia (green-blind)
#48536F
Tritanopia (blue-blind)
#86334B
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #802e71; /* rgb */ color: rgb(128, 46, 113); /* oklch */ color: oklch(44.4% 0.140 335.5);
Tailwind
colors: {
custom: {
50: '#a76c9a',
500: '#802e71',
950: '#000000',
},
}SCSS
$custom: #802e71; $custom-light: #a76c9a; $custom-dark: #000000;
JSON
{
"hex": "#802e71",
"rgb": {
"r": 128,
"g": 46,
"b": 113
},
"hsl": {
"h": 310.976,
"s": 47.126,
"l": 34.118
},
"oklch": {
"l": 0.44431,
"c": 0.13966,
"h": 335.5
},
"luminance": 0.07735
}Semantic roles & 50–950 ramp
primary
#802E71
secondary
#5DAD6B
accent
#D76A51
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E