#98207F#98207F
#98207F is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.183 H 338.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #98207F |
|---|---|
| RGB | rgb(152, 32, 127) |
| HSL | hsl(313, 65%, 36%) |
| HSV | hsv(313, 79%, 60%) |
| CMYK | cmyk(0%, 78.9%, 16.4%, 40.4%) |
| CIE-LAB | lab(36.45, 57.28, -25.03) |
| CIE-LCH | lch(36.45, 62.51, 336.39°) |
| OKLab | oklab(47.64% 0.1698 -0.068) |
| OKLCH | oklch(47.64% 0.183 338.2) |
| XYZ | xyz(17.2966, 9.2424, 20.9476) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.70
Barney Purple
#A00498
ΔE00 4.92
Red Violet
#9E0168
ΔE00 5.52
Darkmagenta
#8B008B
ΔE00 5.86
Light Eggplant
#894585
ΔE00 6.89
Purple
#800080
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98207F #209839
analogous
#752098 #98207F #982043
triadic
#98207F #7F9820 #207F98
tetradic
#98207F #987520 #209839 #204398
square
#98207F #987520 #209839 #204398
split-complementary
#98207F #439820 #209875
monochromatic
#330B2B #651555 #98207F #CB2BA9 #DC57C0
Accessibility & contrast
On white
7.37
#98207F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#98207F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98207F
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98207F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98207F | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264A81
Deuteranopia (green-blind)
#505C7C
Tritanopia (blue-blind)
#A1274E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #98207f; /* rgb */ color: rgb(152, 32, 127); /* oklch */ color: oklch(47.6% 0.183 338.2);
Tailwind
colors: {
custom: {
50: '#ba6aa4',
500: '#98207f',
950: '#000000',
},
}SCSS
$custom: #98207f; $custom-light: #ba6aa4; $custom-dark: #000000;
JSON
{
"hex": "#98207f",
"rgb": {
"r": 152,
"g": 32,
"b": 127
},
"hsl": {
"h": 312.5,
"s": 65.217,
"l": 36.078
},
"oklch": {
"l": 0.47644,
"c": 0.18291,
"h": 338.2
},
"luminance": 0.09241
}Semantic roles & 50–950 ramp
primary
#98207F
secondary
#54BF6B
accent
#E86340
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F