#981C84#981C84

#981C84 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.190 H 336.0°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#981C84
RGBrgb(152, 28, 132)
HSLhsl(310, 69%, 35%)
HSVhsv(310, 82%, 60%)
CMYKcmyk(0%, 81.6%, 13.2%, 40.4%)
CIE-LABlab(36.32, 59.11, -28.34)
CIE-LCHlch(36.32, 65.55, 334.38°)
OKLaboklab(47.63% 0.1735 -0.0774)
OKLCHoklch(47.63% 0.19 336)
XYZxyz(17.5293, 9.1735, 22.6728)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C84 #1C9830
analogous
#6E1C98 #981C84 #981C46
triadic
#981C84 #84981C #1C8498
tetradic
#981C84 #986E1C #1C9830 #1C4698
square
#981C84 #986E1C #1C9830 #1C4698
split-complementary
#981C84 #46981C #1C986E
monochromatic
#31092A #641257 #981C84 #CC26B1 #DF50C8

Accessibility & contrast

On white

7.41
#981C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#981C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981C84
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C84#FFFFFF#000000##FFFFFF
##981C841.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4A87
Deuteranopia (green-blind)
#4C5C81
Tritanopia (blue-blind)
#A02750
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #981c84;
/* rgb */ color: rgb(152, 28, 132);
/* oklch */ color: oklch(47.6% 0.190 336.0);
Tailwind
colors: {
  custom: {
    50: '#ba69a8',
    500: '#981c84',
    950: '#000000',
  },
}
SCSS
$custom: #981c84;
$custom-light: #ba69a8;
$custom-dark: #000000;
JSON
{
  "hex": "#981c84",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 309.677,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47633,
    "c": 0.19003,
    "h": 336
  },
  "luminance": 0.09172
}

Semantic roles & 50–950 ramp

primary
#981C84
secondary
#4EC161
accent
#EC583C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #981C84

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#981C84 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva