#982381#982381
#982381 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.181 H 337.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #982381 |
|---|---|
| RGB | rgb(152, 35, 129) |
| HSL | hsl(312, 63%, 37%) |
| HSV | hsv(312, 77%, 60%) |
| CMYK | cmyk(0%, 77%, 15.1%, 40.4%) |
| CIE-LAB | lab(36.86, 56.66, -25.63) |
| CIE-LCH | lch(36.86, 62.18, 335.66°) |
| OKLab | oklab(47.98% 0.1673 -0.0697) |
| OKLCH | oklch(47.98% 0.181 337.4) |
| XYZ | xyz(17.5127, 9.4641, 21.6691) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.24
Barney Purple
#A00498
ΔE00 4.71
Darkmagenta
#8B008B
ΔE00 5.86
Red Violet
#9E0168
ΔE00 5.95
Light Eggplant
#894585
ΔE00 6.52
Purple
#800080
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982381 #23983A
analogous
#752398 #982381 #982347
triadic
#982381 #819823 #238198
tetradic
#982381 #987523 #23983A #234798
square
#982381 #987523 #23983A #234798
split-complementary
#982381 #479823 #239875
monochromatic
#350C2D #661857 #982381 #CA2EAB #D95CC1
Accessibility & contrast
On white
7.26
#982381 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#982381 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982381
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982381 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982381 | 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)
#274B84
Deuteranopia (green-blind)
#505D7E
Tritanopia (blue-blind)
#A02A50
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #982381; /* rgb */ color: rgb(152, 35, 129); /* oklch */ color: oklch(48.0% 0.181 337.4);
Tailwind
colors: {
custom: {
50: '#ba6ba6',
500: '#982381',
950: '#000000',
},
}SCSS
$custom: #982381; $custom-light: #ba6ba6; $custom-dark: #000000;
JSON
{
"hex": "#982381",
"rgb": {
"r": 152,
"g": 35,
"b": 129
},
"hsl": {
"h": 311.795,
"s": 62.567,
"l": 36.667
},
"oklch": {
"l": 0.47976,
"c": 0.18123,
"h": 337.4
},
"luminance": 0.09462
}Semantic roles & 50–950 ramp
primary
#982381
secondary
#59BE6D
accent
#E66242
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F