#9A397E#9A397E
#9A397E is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.3% C 0.152 H 340.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #9A397E |
|---|---|
| RGB | rgb(154, 57, 126) |
| HSL | hsl(317, 46%, 41%) |
| HSV | hsv(317, 63%, 60%) |
| CMYK | cmyk(0%, 63%, 18.2%, 39.6%) |
| CIE-LAB | lab(40.09, 48.30, -18.74) |
| CIE-LCH | lch(40.09, 51.81, 338.80°) |
| OKLab | oklab(50.34% 0.1435 -0.0503) |
| OKLCH | oklch(50.34% 0.152 340.7) |
| XYZ | xyz(18.5559, 11.3043, 20.9393) |
| Luminance | 0.1130 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 4.80
Warm Purple
#952E8F
ΔE00 5.45
Bruise
#7E4071
ΔE00 5.91
Ugly Purple
#A442A0
ΔE00 6.86
Red Violet
#9E0168
ΔE00 6.89
Purpleish
#98568D
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A397E #399A55
analogous
#86399A #9A397E #9A394D
triadic
#9A397E #7E9A39 #397E9A
tetradic
#9A397E #9A8639 #399A55 #394D9A
square
#9A397E #9A8639 #399A55 #394D9A
split-complementary
#9A397E #4D9A39 #399A86
monochromatic
#411835 #6D2859 #9A397E #BF519F #CF7EB8
Accessibility & contrast
On white
6.44
#9A397E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#9A397E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A397E
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A397E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A397E | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5580
Deuteranopia (green-blind)
#5C647C
Tritanopia (blue-blind)
#A33B56
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9a397e; /* rgb */ color: rgb(154, 57, 126); /* oklch */ color: oklch(50.3% 0.152 340.7);
Tailwind
colors: {
custom: {
50: '#bb76a3',
500: '#9a397e',
950: '#000000',
},
}SCSS
$custom: #9a397e; $custom-light: #bb76a3; $custom-dark: #000000;
JSON
{
"hex": "#9a397e",
"rgb": {
"r": 154,
"g": 57,
"b": 126
},
"hsl": {
"h": 317.32,
"s": 45.972,
"l": 41.373
},
"oklch": {
"l": 0.50344,
"c": 0.15209,
"h": 340.7
},
"luminance": 0.11303
}Semantic roles & 50–950 ramp
primary
#9A397E
secondary
#76B989
accent
#D67852
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12090F
muted
#817B7F