#981C90#981C90
#981C90 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.3% C 0.199 H 331.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #981C90 |
|---|---|
| RGB | rgb(152, 28, 144) |
| HSL | hsl(304, 69%, 35%) |
| HSV | hsv(304, 82%, 60%) |
| CMYK | cmyk(0%, 81.6%, 5.3%, 40.4%) |
| CIE-LAB | lab(36.97, 60.92, -34.71) |
| CIE-LCH | lch(36.97, 70.11, 330.33°) |
| OKLab | oklab(48.31% 0.1739 -0.0958) |
| OKLCH | oklch(48.31% 0.199 331.1) |
| XYZ | xyz(18.3982, 9.5211, 27.2489) |
| Luminance | 0.0952 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.86
Warm Purple
#952E8F
ΔE00 2.21
Darkmagenta
#8B008B
ΔE00 3.84
Purple
#800080
ΔE00 5.90
Purple (survey)
#7E1E9C
ΔE00 6.50
Barney
#AC1DB8
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981C90 #1C9824
analogous
#621C98 #981C90 #981C52
triadic
#981C90 #90981C #1C9098
tetradic
#981C90 #98621C #1C9824 #1C5298
square
#981C90 #98621C #1C9824 #1C5298
split-complementary
#981C90 #52981C #1C9862
monochromatic
#31092E #64125F #981C90 #CC26C1 #DF50D5
Accessibility & contrast
On white
7.23
#981C90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#981C90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981C90
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981C90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981C90 | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A4C93
Deuteranopia (green-blind)
#465D8D
Tritanopia (blue-blind)
#9E2E57
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #981c90; /* rgb */ color: rgb(152, 28, 144); /* oklch */ color: oklch(48.3% 0.199 331.1);
Tailwind
colors: {
custom: {
50: '#ba69b1',
500: '#981c90',
950: '#000000',
},
}SCSS
$custom: #981c90; $custom-light: #ba69b1; $custom-dark: #000000;
JSON
{
"hex": "#981c90",
"rgb": {
"r": 152,
"g": 28,
"b": 144
},
"hsl": {
"h": 303.871,
"s": 68.889,
"l": 35.294
},
"oklch": {
"l": 0.4831,
"c": 0.19853,
"h": 331.1
},
"luminance": 0.0952
}Semantic roles & 50–950 ramp
primary
#981C90
secondary
#4EC156
accent
#EC473C
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120711
muted
#817A80