#8A2E76#8A2E76
#8A2E76 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.2% C 0.151 H 337.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2E76 |
|---|---|
| RGB | rgb(138, 46, 118) |
| HSL | hsl(313, 50%, 36%) |
| HSV | hsv(313, 67%, 54%) |
| CMYK | cmyk(0%, 66.7%, 14.5%, 45.9%) |
| CIE-LAB | lab(35.33, 47.29, -21.33) |
| CIE-LCH | lch(35.33, 51.88, 335.73°) |
| OKLab | oklab(46.23% 0.1391 -0.0578) |
| OKLCH | oklch(46.23% 0.151 337.4) |
| XYZ | xyz(14.7285, 8.6665, 18.0331) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.88
Warm Purple
#952E8F
ΔE00 4.95
Light Eggplant
#894585
ΔE00 5.46
Red Violet
#9E0168
ΔE00 6.23
Darkish Purple
#751973
ΔE00 6.44
Grape
#6C3461
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2E76 #2E8A42
analogous
#702E8A #8A2E76 #8A2E48
triadic
#8A2E76 #768A2E #2E768A
tetradic
#8A2E76 #8A702E #2E8A42 #2E488A
square
#8A2E76 #8A702E #2E8A42 #2E488A
split-complementary
#8A2E76 #488A2E #2E8A70
monochromatic
#2E0F28 #5C1F4F #8A2E76 #B83D9D #CC66B6
Accessibility & contrast
On white
7.68
#8A2E76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#8A2E76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2E76
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2E76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2E76 | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314A78
Deuteranopia (green-blind)
#4E5874
Tritanopia (blue-blind)
#91324D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8a2e76; /* rgb */ color: rgb(138, 46, 118); /* oklch */ color: oklch(46.2% 0.151 337.4);
Tailwind
colors: {
custom: {
50: '#af6e9d',
500: '#8a2e76',
950: '#000000',
},
}SCSS
$custom: #8a2e76; $custom-light: #af6e9d; $custom-dark: #000000;
JSON
{
"hex": "#8a2e76",
"rgb": {
"r": 138,
"g": 46,
"b": 118
},
"hsl": {
"h": 313.043,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.46228,
"c": 0.15063,
"h": 337.4
},
"luminance": 0.08665
}Semantic roles & 50–950 ramp
primary
#8A2E76
secondary
#61B373
accent
#DA6D4E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E