#8A2E75#8A2E75
#8A2E75 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.150 H 338.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2E75 |
|---|---|
| RGB | rgb(138, 46, 117) |
| HSL | hsl(314, 50%, 36%) |
| HSV | hsv(314, 67%, 54%) |
| CMYK | cmyk(0%, 66.7%, 15.2%, 45.9%) |
| CIE-LAB | lab(35.29, 47.13, -20.77) |
| CIE-LCH | lch(35.29, 51.51, 336.22°) |
| OKLab | oklab(46.18% 0.1389 -0.0562) |
| OKLCH | oklch(46.18% 0.15 338) |
| XYZ | xyz(14.6694, 8.6429, 17.7218) |
| Luminance | 0.0864 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.81
Warm Purple
#952E8F
ΔE00 5.17
Light Eggplant
#894585
ΔE00 5.56
Red Violet
#9E0168
ΔE00 6.08
Darkish Purple
#751973
ΔE00 6.55
Grape
#6C3461
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2E75 #2E8A43
analogous
#712E8A #8A2E75 #8A2E47
triadic
#8A2E75 #758A2E #2E758A
tetradic
#8A2E75 #8A712E #2E8A43 #2E478A
square
#8A2E75 #8A712E #2E8A43 #2E478A
split-complementary
#8A2E75 #478A2E #2E8A71
monochromatic
#2E0F27 #5C1F4E #8A2E75 #B83D9C #CC66B5
Accessibility & contrast
On white
7.70
#8A2E75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#8A2E75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2E75
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2E75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2E75 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314A77
Deuteranopia (green-blind)
#4E5873
Tritanopia (blue-blind)
#91324D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8a2e75; /* rgb */ color: rgb(138, 46, 117); /* oklch */ color: oklch(46.2% 0.150 338.0);
Tailwind
colors: {
custom: {
50: '#af6e9d',
500: '#8a2e75',
950: '#000000',
},
}SCSS
$custom: #8a2e75; $custom-light: #af6e9d; $custom-dark: #000000;
JSON
{
"hex": "#8a2e75",
"rgb": {
"r": 138,
"g": 46,
"b": 117
},
"hsl": {
"h": 313.696,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.46179,
"c": 0.14987,
"h": 338
},
"luminance": 0.08642
}Semantic roles & 50–950 ramp
primary
#8A2E75
secondary
#61B374
accent
#DA6E4E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E