#98257C#98257C
#98257C is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.176 H 339.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #98257C |
|---|---|
| RGB | rgb(152, 37, 124) |
| HSL | hsl(315, 61%, 37%) |
| HSV | hsv(315, 76%, 60%) |
| CMYK | cmyk(0%, 75.7%, 18.4%, 40.4%) |
| CIE-LAB | lab(36.85, 55.29, -22.54) |
| CIE-LCH | lch(36.85, 59.71, 337.82°) |
| OKLab | oklab(47.89% 0.1647 -0.0609) |
| OKLCH | oklch(47.89% 0.176 339.7) |
| XYZ | xyz(17.2490, 9.4555, 19.9815) |
| Luminance | 0.0945 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.24
Red Violet
#9E0168
ΔE00 5.03
Barney Purple
#A00498
ΔE00 5.85
Light Eggplant
#894585
ΔE00 6.55
Darkmagenta
#8B008B
ΔE00 6.85
Bruise
#7E4071
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98257C #259841
analogous
#7B2598 #98257C #982542
triadic
#98257C #7C9825 #257C98
tetradic
#98257C #987B25 #259841 #254298
square
#98257C #987B25 #259841 #254298
split-complementary
#98257C #429825 #25987B
monochromatic
#360D2C #671954 #98257C #C931A4 #D85FBB
Accessibility & contrast
On white
7.26
#98257C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#98257C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98257C
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98257C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98257C | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4B7E
Deuteranopia (green-blind)
#525D79
Tritanopia (blue-blind)
#A1294E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #98257c; /* rgb */ color: rgb(152, 37, 124); /* oklch */ color: oklch(47.9% 0.176 339.7);
Tailwind
colors: {
custom: {
50: '#ba6ca2',
500: '#98257c',
950: '#000000',
},
}SCSS
$custom: #98257c; $custom-light: #ba6ca2; $custom-dark: #000000;
JSON
{
"hex": "#98257c",
"rgb": {
"r": 152,
"g": 37,
"b": 124
},
"hsl": {
"h": 314.609,
"s": 60.847,
"l": 37.059
},
"oklch": {
"l": 0.47886,
"c": 0.17564,
"h": 339.7
},
"luminance": 0.09454
}Semantic roles & 50–950 ramp
primary
#98257C
secondary
#5CBD73
accent
#E46B44
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F