#981C94#981C94

#981C94 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.5% C 0.201 H 329.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#981C94
RGBrgb(152, 28, 148)
HSLhsl(302, 69%, 35%)
HSVhsv(302, 82%, 60%)
CMYKcmyk(0%, 81.6%, 2.6%, 40.4%)
CIE-LABlab(37.20, 61.55, -36.79)
CIE-LCHlch(37.20, 71.71, 329.13°)
OKLaboklab(48.55% 0.1738 -0.1018)
OKLCHoklch(48.55% 0.201 329.6)
XYZxyz(18.7093, 9.6455, 28.8876)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C94 #1C9820
analogous
#5E1C98 #981C94 #981C56
triadic
#981C94 #94981C #1C9498
tetradic
#981C94 #985E1C #1C9820 #1C5698
square
#981C94 #985E1C #1C9820 #1C5698
split-complementary
#981C94 #56981C #1C985E
monochromatic
#31092F #641262 #981C94 #CC26C6 #DF50DA

Accessibility & contrast

On white

7.17
#981C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#981C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981C94
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C94#FFFFFF#000000##FFFFFF
##981C941.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#445D91
Tritanopia (blue-blind)
#9E3059
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #981c94;
/* rgb */ color: rgb(152, 28, 148);
/* oklch */ color: oklch(48.5% 0.201 329.6);
Tailwind
colors: {
  custom: {
    50: '#ba69b4',
    500: '#981c94',
    950: '#000000',
  },
}
SCSS
$custom: #981c94;
$custom-light: #ba69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#981c94",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 301.935,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48547,
    "c": 0.20146,
    "h": 329.6
  },
  "luminance": 0.09644
}

Semantic roles & 50–950 ramp

primary
#981C94
secondary
#4EC152
accent
#EC423C
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #981C94

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

Preview Lab → · Contrast checker → · Palette generator →

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