#8A397B#8A397B
#8A397B is a mid, vivid pink. Relative luminance 0.098; OKLCH L 47.8% C 0.138 H 335.3°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8A397B |
|---|---|
| RGB | rgb(138, 57, 123) |
| HSL | hsl(311, 42%, 38%) |
| HSV | hsv(311, 59%, 54%) |
| CMYK | cmyk(0%, 58.7%, 10.9%, 45.9%) |
| CIE-LAB | lab(37.41, 43.07, -21.23) |
| CIE-LCH | lch(37.41, 48.02, 333.76°) |
| OKLab | oklab(47.83% 0.1251 -0.0576) |
| OKLCH | oklch(47.83% 0.138 335.3) |
| XYZ | xyz(15.5196, 9.7608, 19.8017) |
| Luminance | 0.0976 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 3.27
Bruise
#7E4071
ΔE00 3.62
Warm Purple
#952E8F
ΔE00 4.76
Grape
#6C3461
ΔE00 7.09
Red Violet
#9E0168
ΔE00 7.83
Purplish
#94568C
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A397B #398A48
analogous
#70398A #8A397B #8A3952
triadic
#8A397B #7B8A39 #397B8A
tetradic
#8A397B #8A7039 #398A48 #39528A
square
#8A397B #8A7039 #398A48 #39528A
split-complementary
#8A397B #528A39 #398A70
monochromatic
#33152E #5F2754 #8A397B #B54BA1 #C777B8
Accessibility & contrast
On white
7.11
#8A397B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#8A397B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A397B
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A397B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A397B | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39507D
Deuteranopia (green-blind)
#525C79
Tritanopia (blue-blind)
#903D54
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #8a397b; /* rgb */ color: rgb(138, 57, 123); /* oklch */ color: oklch(47.8% 0.138 335.3);
Tailwind
colors: {
custom: {
50: '#ae74a1',
500: '#8a397b',
950: '#000000',
},
}SCSS
$custom: #8a397b; $custom-light: #ae74a1; $custom-dark: #000000;
JSON
{
"hex": "#8a397b",
"rgb": {
"r": 138,
"g": 57,
"b": 123
},
"hsl": {
"h": 311.111,
"s": 41.538,
"l": 38.235
},
"oklch": {
"l": 0.47825,
"c": 0.13771,
"h": 335.3
},
"luminance": 0.0976
}Semantic roles & 50–950 ramp
primary
#8A397B
secondary
#6FB07B
accent
#D16D56
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080F
muted
#807B7E