#98257F#98257F
#98257F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.178 H 338.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #98257F |
|---|---|
| RGB | rgb(152, 37, 127) |
| HSL | hsl(313, 61%, 37%) |
| HSV | hsv(313, 76%, 60%) |
| CMYK | cmyk(0%, 75.7%, 16.4%, 40.4%) |
| CIE-LAB | lab(36.99, 55.73, -24.18) |
| CIE-LCH | lch(36.99, 60.75, 336.54°) |
| OKLab | oklab(48.04% 0.1651 -0.0656) |
| OKLCH | oklch(48.04% 0.178 338.3) |
| XYZ | xyz(17.4416, 9.5325, 20.9959) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.61
Barney Purple
#A00498
ΔE00 5.25
Red Violet
#9E0168
ΔE00 5.60
Darkmagenta
#8B008B
ΔE00 6.37
Light Eggplant
#894585
ΔE00 6.38
Bruise
#7E4071
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98257F #25983E
analogous
#772598 #98257F #982546
triadic
#98257F #7F9825 #257F98
tetradic
#98257F #987725 #25983E #254698
square
#98257F #987725 #25983E #254698
split-complementary
#98257F #469825 #259877
monochromatic
#360D2D #671956 #98257F #C931A8 #D85FBE
Accessibility & contrast
On white
7.23
#98257F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#98257F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98257F
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98257F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98257F | 1.00 | 7.23 | 2.91 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4C81
Deuteranopia (green-blind)
#515D7C
Tritanopia (blue-blind)
#A12B4F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #98257f; /* rgb */ color: rgb(152, 37, 127); /* oklch */ color: oklch(48.0% 0.178 338.3);
Tailwind
colors: {
custom: {
50: '#ba6ca4',
500: '#98257f',
950: '#000000',
},
}SCSS
$custom: #98257f; $custom-light: #ba6ca4; $custom-dark: #000000;
JSON
{
"hex": "#98257f",
"rgb": {
"r": 152,
"g": 37,
"b": 127
},
"hsl": {
"h": 313.043,
"s": 60.847,
"l": 37.059
},
"oklch": {
"l": 0.48036,
"c": 0.17769,
"h": 338.3
},
"luminance": 0.09531
}Semantic roles & 50–950 ramp
primary
#98257F
secondary
#5CBD71
accent
#E46744
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F