#8A1E72#8A1E72
#8A1E72 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.168 H 338.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1E72 |
|---|---|
| RGB | rgb(138, 30, 114) |
| HSL | hsl(313, 64%, 33%) |
| HSV | hsv(313, 78%, 54%) |
| CMYK | cmyk(0%, 78.3%, 17.4%, 45.9%) |
| CIE-LAB | lab(33.02, 52.64, -22.40) |
| CIE-LCH | lch(33.02, 57.21, 336.95°) |
| OKLab | oklab(44.49% 0.1564 -0.0607) |
| OKLCH | oklch(44.49% 0.168 338.8) |
| XYZ | xyz(13.9831, 7.5481, 16.6368) |
| Luminance | 0.0755 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 5.17
Red Violet
#9E0168
ΔE00 5.33
Purple
#800080
ΔE00 5.88
Warm Purple
#952E8F
ΔE00 5.89
Darkmagenta
#8B008B
ΔE00 6.00
Rich Purple
#720058
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1E72 #1E8A36
analogous
#6C1E8A #8A1E72 #8A1E3C
triadic
#8A1E72 #728A1E #1E728A
tetradic
#8A1E72 #8A6C1E #1E8A36 #1E3C8A
square
#8A1E72 #8A6C1E #1E8A36 #1E3C8A
split-complementary
#8A1E72 #3C8A1E #1E8A6C
monochromatic
#25081F #581348 #8A1E72 #BC299C #D84BB8
Accessibility & contrast
On white
8.37
#8A1E72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#8A1E72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1E72
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1E72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1E72 | 1.00 | 8.37 | 2.51 | 8.37 |
| #FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244374
Deuteranopia (green-blind)
#495470
Tritanopia (blue-blind)
#922346
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8a1e72; /* rgb */ color: rgb(138, 30, 114); /* oklch */ color: oklch(44.5% 0.168 338.8);
Tailwind
colors: {
custom: {
50: '#b0669b',
500: '#8a1e72',
950: '#000000',
},
}SCSS
$custom: #8a1e72; $custom-light: #b0669b; $custom-dark: #000000;
JSON
{
"hex": "#8a1e72",
"rgb": {
"r": 138,
"g": 30,
"b": 114
},
"hsl": {
"h": 313.333,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.44489,
"c": 0.16776,
"h": 338.8
},
"luminance": 0.07547
}Semantic roles & 50–950 ramp
primary
#8A1E72
secondary
#4ABA63
accent
#E76641
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E