#8A2F75#8A2F75
#8A2F75 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.148 H 338.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2F75 |
|---|---|
| RGB | rgb(138, 47, 117) |
| HSL | hsl(314, 49%, 36%) |
| HSV | hsv(314, 66%, 54%) |
| CMYK | cmyk(0%, 65.9%, 15.2%, 45.9%) |
| CIE-LAB | lab(35.44, 46.70, -20.53) |
| CIE-LCH | lch(35.44, 51.02, 336.27°) |
| OKLab | oklab(46.29% 0.1376 -0.0555) |
| OKLCH | oklch(46.29% 0.148 338) |
| XYZ | xyz(14.7089, 8.7219, 17.7350) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.65
Warm Purple
#952E8F
ΔE00 5.20
Light Eggplant
#894585
ΔE00 5.42
Red Violet
#9E0168
ΔE00 6.15
Darkish Purple
#751973
ΔE00 6.70
Grape
#6C3461
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2F75 #2F8A44
analogous
#722F8A #8A2F75 #8A2F48
triadic
#8A2F75 #758A2F #2F758A
tetradic
#8A2F75 #8A722F #2F8A44 #2F488A
square
#8A2F75 #8A722F #2F8A44 #2F488A
split-complementary
#8A2F75 #488A2F #2F8A72
monochromatic
#2F1028 #5C1F4E #8A2F75 #B83F9C #CC68B5
Accessibility & contrast
On white
7.65
#8A2F75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#8A2F75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2F75
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2F75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2F75 | 1.00 | 7.65 | 2.74 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324A77
Deuteranopia (green-blind)
#4F5873
Tritanopia (blue-blind)
#91334D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8a2f75; /* rgb */ color: rgb(138, 47, 117); /* oklch */ color: oklch(46.3% 0.148 338.0);
Tailwind
colors: {
custom: {
50: '#af6e9d',
500: '#8a2f75',
950: '#000000',
},
}SCSS
$custom: #8a2f75; $custom-light: #af6e9d; $custom-dark: #000000;
JSON
{
"hex": "#8a2f75",
"rgb": {
"r": 138,
"g": 47,
"b": 117
},
"hsl": {
"h": 313.846,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.46293,
"c": 0.14842,
"h": 338
},
"luminance": 0.08721
}Semantic roles & 50–950 ramp
primary
#8A2F75
secondary
#62B375
accent
#D96F4F
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E