#98297C#98297C
#98297C is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.171 H 339.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #98297C |
|---|---|
| RGB | rgb(152, 41, 124) |
| HSL | hsl(315, 58%, 38%) |
| HSV | hsv(315, 73%, 60%) |
| CMYK | cmyk(0%, 73%, 18.4%, 40.4%) |
| CIE-LAB | lab(37.33, 53.92, -21.79) |
| CIE-LCH | lch(37.33, 58.16, 338.00°) |
| OKLab | oklab(48.24% 0.1606 -0.0588) |
| OKLCH | oklch(48.24% 0.171 339.9) |
| XYZ | xyz(17.3804, 9.7182, 20.0253) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.29
Red Violet
#9E0168
ΔE00 5.19
Light Eggplant
#894585
ΔE00 6.14
Barney Purple
#A00498
ΔE00 6.19
Bruise
#7E4071
ΔE00 6.73
Darkmagenta
#8B008B
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98297C #299845
analogous
#7C2998 #98297C #982944
triadic
#98297C #7C9829 #297C98
tetradic
#98297C #987C29 #299845 #294498
square
#98297C #987C29 #299845 #294498
split-complementary
#98297C #449829 #29987C
monochromatic
#380F2D #681C55 #98297C #C836A3 #D666B9
Accessibility & contrast
On white
7.13
#98297C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#98297C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98297C
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98297C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98297C | 1.00 | 7.13 | 2.94 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304D7E
Deuteranopia (green-blind)
#545E79
Tritanopia (blue-blind)
#A12D4F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #98297c; /* rgb */ color: rgb(152, 41, 124); /* oklch */ color: oklch(48.2% 0.171 339.9);
Tailwind
colors: {
custom: {
50: '#ba6da2',
500: '#98297c',
950: '#000000',
},
}SCSS
$custom: #98297c; $custom-light: #ba6da2; $custom-dark: #000000;
JSON
{
"hex": "#98297c",
"rgb": {
"r": 152,
"g": 41,
"b": 124
},
"hsl": {
"h": 315.135,
"s": 57.513,
"l": 37.843
},
"oklch": {
"l": 0.48237,
"c": 0.17102,
"h": 339.9
},
"luminance": 0.09717
}Semantic roles & 50–950 ramp
primary
#98297C
secondary
#61BC78
accent
#E16E47
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F