#982581#982581
#982581 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.179 H 337.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #982581 |
|---|---|
| RGB | rgb(152, 37, 129) |
| HSL | hsl(312, 61%, 37%) |
| HSV | hsv(312, 76%, 60%) |
| CMYK | cmyk(0%, 75.7%, 15.1%, 40.4%) |
| CIE-LAB | lab(37.09, 56.02, -25.27) |
| CIE-LCH | lch(37.09, 61.46, 335.72°) |
| OKLab | oklab(48.14% 0.1654 -0.0687) |
| OKLCH | oklch(48.14% 0.179 337.4) |
| XYZ | xyz(17.5733, 9.5852, 21.6892) |
| Luminance | 0.0958 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.20
Barney Purple
#A00498
ΔE00 4.86
Red Violet
#9E0168
ΔE00 5.99
Darkmagenta
#8B008B
ΔE00 6.08
Light Eggplant
#894585
ΔE00 6.30
Purple
#800080
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982581 #25983C
analogous
#762598 #982581 #982548
triadic
#982581 #819825 #258198
tetradic
#982581 #987625 #25983C #254898
square
#982581 #987625 #25983C #254898
split-complementary
#982581 #489825 #259876
monochromatic
#360D2D #671957 #982581 #C931AB #D85FC0
Accessibility & contrast
On white
7.20
#982581 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#982581 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982581
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982581 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982581 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294C83
Deuteranopia (green-blind)
#505E7E
Tritanopia (blue-blind)
#A02C50
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #982581; /* rgb */ color: rgb(152, 37, 129); /* oklch */ color: oklch(48.1% 0.179 337.4);
Tailwind
colors: {
custom: {
50: '#ba6ca6',
500: '#982581',
950: '#000000',
},
}SCSS
$custom: #982581; $custom-light: #ba6ca6; $custom-dark: #000000;
JSON
{
"hex": "#982581",
"rgb": {
"r": 152,
"g": 37,
"b": 129
},
"hsl": {
"h": 312,
"s": 60.847,
"l": 37.059
},
"oklch": {
"l": 0.48138,
"c": 0.17907,
"h": 337.4
},
"luminance": 0.09584
}Semantic roles & 50–950 ramp
primary
#982581
secondary
#5CBD6F
accent
#E46444
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F