#98397F#98397F
#98397F is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.1% C 0.151 H 339.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #98397F |
|---|---|
| RGB | rgb(152, 57, 127) |
| HSL | hsl(316, 45%, 41%) |
| HSV | hsv(316, 63%, 60%) |
| CMYK | cmyk(0%, 62.5%, 16.4%, 40.4%) |
| CIE-LAB | lab(39.81, 47.87, -19.81) |
| CIE-LCH | lch(39.81, 51.81, 337.51°) |
| OKLab | oklab(50.09% 0.1416 -0.0534) |
| OKLCH | oklch(50.09% 0.151 339.3) |
| XYZ | xyz(18.2431, 11.1355, 21.2631) |
| Luminance | 0.1113 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 4.33
Warm Purple
#952E8F
ΔE00 4.95
Bruise
#7E4071
ΔE00 5.65
Ugly Purple
#A442A0
ΔE00 6.65
Red Violet
#9E0168
ΔE00 7.08
Medium Purple
#9E43A2
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98397F #399852
analogous
#813998 #98397F #98394F
triadic
#98397F #7F9839 #397F98
tetradic
#98397F #988139 #399852 #394F98
square
#98397F #988139 #399852 #394F98
split-complementary
#98397F #4F9839 #399881
monochromatic
#3F1835 #6B285A #98397F #BE51A1 #CE7DB9
Accessibility & contrast
On white
6.51
#98397F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#98397F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98397F
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98397F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98397F | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D5481
Deuteranopia (green-blind)
#5A637D
Tritanopia (blue-blind)
#A03C57
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #98397f; /* rgb */ color: rgb(152, 57, 127); /* oklch */ color: oklch(50.1% 0.151 339.3);
Tailwind
colors: {
custom: {
50: '#b975a4',
500: '#98397f',
950: '#000000',
},
}SCSS
$custom: #98397f; $custom-light: #b975a4; $custom-dark: #000000;
JSON
{
"hex": "#98397f",
"rgb": {
"r": 152,
"g": 57,
"b": 127
},
"hsl": {
"h": 315.789,
"s": 45.455,
"l": 40.98
},
"oklch": {
"l": 0.50088,
"c": 0.15129,
"h": 339.3
},
"luminance": 0.11134
}Semantic roles & 50–950 ramp
primary
#98397F
secondary
#75B887
accent
#D57553
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12090F
muted
#817B7F