#98417E#98417E
#98417E is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.1% C 0.138 H 340.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #98417E |
|---|---|
| RGB | rgb(152, 65, 126) |
| HSL | hsl(318, 40%, 43%) |
| HSV | hsv(318, 57%, 60%) |
| CMYK | cmyk(0%, 57.2%, 17.1%, 40.4%) |
| CIE-LAB | lab(41.16, 43.94, -17.12) |
| CIE-LCH | lch(41.16, 47.16, 338.71°) |
| OKLab | oklab(51.07% 0.1301 -0.0459) |
| OKLCH | oklch(51.07% 0.138 340.6) |
| XYZ | xyz(18.6054, 11.9639, 21.0640) |
| Luminance | 0.1196 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 4.33
Bruise
#7E4071
ΔE00 5.48
Purpleish
#98568D
ΔE00 5.71
Purplish
#94568C
ΔE00 5.79
Light Plum
#9D5783
ΔE00 6.15
Warm Purple
#952E8F
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98417E #41985B
analogous
#864198 #98417E #984153
triadic
#98417E #7E9841 #417E98
tetradic
#98417E #988641 #41985B #415398
square
#98417E #988641 #41985B #415398
split-complementary
#98417E #539841 #419886
monochromatic
#421C37 #6D2F5A #98417E #BA5D9E #CC88B7
Accessibility & contrast
On white
6.19
#98417E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#98417E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98417E
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98417E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98417E | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#465880
Deuteranopia (green-blind)
#5F667C
Tritanopia (blue-blind)
#A0435A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #98417e; /* rgb */ color: rgb(152, 65, 126); /* oklch */ color: oklch(51.1% 0.138 340.6);
Tailwind
colors: {
custom: {
50: '#b97aa3',
500: '#98417e',
950: '#000000',
},
}SCSS
$custom: #98417e; $custom-light: #b97aa3; $custom-dark: #000000;
JSON
{
"hex": "#98417e",
"rgb": {
"r": 152,
"g": 65,
"b": 126
},
"hsl": {
"h": 317.931,
"s": 40.092,
"l": 42.549
},
"oklch": {
"l": 0.5107,
"c": 0.13794,
"h": 340.6
},
"luminance": 0.11962
}Semantic roles & 50–950 ramp
primary
#98417E
secondary
#7EB78F
accent
#D07C58
background
#FBF7FA
surface
#F6EEF3
border
#D0C9CD
text
#12090F
muted
#817B7F