#981F83#981F83
#981F83 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.187 H 336.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #981F83 |
|---|---|
| RGB | rgb(152, 31, 131) |
| HSL | hsl(310, 66%, 36%) |
| HSV | hsv(310, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 13.8%, 40.4%) |
| CIE-LAB | lab(36.55, 58.14, -27.36) |
| CIE-LCH | lch(36.55, 64.26, 334.80°) |
| OKLab | oklab(47.78% 0.171 -0.0746) |
| OKLCH | oklch(47.78% 0.187 336.4) |
| XYZ | xyz(17.5359, 9.2957, 22.3390) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.03
Barney Purple
#A00498
ΔE00 4.08
Darkmagenta
#8B008B
ΔE00 5.19
Red Violet
#9E0168
ΔE00 6.31
Purple
#800080
ΔE00 6.50
Light Eggplant
#894585
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F83 #1F9834
analogous
#701F98 #981F83 #981F46
triadic
#981F83 #83981F #1F8398
tetradic
#981F83 #98701F #1F9834 #1F4698
square
#981F83 #98701F #1F9834 #1F4698
split-complementary
#981F83 #46981F #1F9870
monochromatic
#320A2B #651557 #981F83 #CB29AF #DC55C5
Accessibility & contrast
On white
7.35
#981F83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#981F83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F83
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F83 | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224A86
Deuteranopia (green-blind)
#4E5C80
Tritanopia (blue-blind)
#A02850
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #981f83; /* rgb */ color: rgb(152, 31, 131); /* oklch */ color: oklch(47.8% 0.187 336.4);
Tailwind
colors: {
custom: {
50: '#ba6aa7',
500: '#981f83',
950: '#000000',
},
}SCSS
$custom: #981f83; $custom-light: #ba6aa7; $custom-dark: #000000;
JSON
{
"hex": "#981f83",
"rgb": {
"r": 152,
"g": 31,
"b": 131
},
"hsl": {
"h": 310.413,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.47782,
"c": 0.18661,
"h": 336.4
},
"luminance": 0.09294
}Semantic roles & 50–950 ramp
primary
#981F83
secondary
#53C066
accent
#E95C3F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F