#8A2F74#8A2F74
#8A2F74 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.2% C 0.148 H 338.6°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2F74 |
|---|---|
| RGB | rgb(138, 47, 116) |
| HSL | hsl(315, 49%, 36%) |
| HSV | hsv(315, 66%, 54%) |
| CMYK | cmyk(0%, 65.9%, 15.9%, 45.9%) |
| CIE-LAB | lab(35.40, 46.55, -19.97) |
| CIE-LCH | lch(35.40, 50.65, 336.78°) |
| OKLab | oklab(46.24% 0.1375 -0.054) |
| OKLCH | oklch(46.24% 0.148 338.6) |
| XYZ | xyz(14.6504, 8.6985, 17.4270) |
| Luminance | 0.0870 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.59
Warm Purple
#952E8F
ΔE00 5.43
Light Eggplant
#894585
ΔE00 5.53
Red Violet
#9E0168
ΔE00 6.01
Grape
#6C3461
ΔE00 6.64
Darkish Purple
#751973
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2F74 #2F8A45
analogous
#732F8A #8A2F74 #8A2F47
triadic
#8A2F74 #748A2F #2F748A
tetradic
#8A2F74 #8A732F #2F8A45 #2F478A
square
#8A2F74 #8A732F #2F8A45 #2F478A
split-complementary
#8A2F74 #478A2F #2F8A73
monochromatic
#2F1027 #5C1F4E #8A2F74 #B83F9A #CC68B3
Accessibility & contrast
On white
7.67
#8A2F74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#8A2F74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2F74
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2F74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2F74 | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334A76
Deuteranopia (green-blind)
#4F5872
Tritanopia (blue-blind)
#92324D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8a2f74; /* rgb */ color: rgb(138, 47, 116); /* oklch */ color: oklch(46.2% 0.148 338.6);
Tailwind
colors: {
custom: {
50: '#af6e9c',
500: '#8a2f74',
950: '#000000',
},
}SCSS
$custom: #8a2f74; $custom-light: #af6e9c; $custom-dark: #000000;
JSON
{
"hex": "#8a2f74",
"rgb": {
"r": 138,
"g": 47,
"b": 116
},
"hsl": {
"h": 314.505,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.46244,
"c": 0.14768,
"h": 338.6
},
"luminance": 0.08697
}Semantic roles & 50–950 ramp
primary
#8A2F74
secondary
#62B376
accent
#D9704F
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E