#981D94#981D94

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

Color values

HEX#981D94
RGBrgb(152, 29, 148)
HSLhsl(302, 68%, 35%)
HSVhsv(302, 81%, 60%)
CMYKcmyk(0%, 80.9%, 2.6%, 40.4%)
CIE-LABlab(37.29, 61.29, -36.65)
CIE-LCHlch(37.29, 71.42, 329.12°)
OKLaboklab(48.61% 0.1731 -0.1014)
OKLCHoklch(48.61% 0.201 329.6)
XYZxyz(18.7334, 9.6937, 28.8956)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D94 #1D9821
analogous
#5E1D98 #981D94 #981D56
triadic
#981D94 #94981D #1D9498
tetradic
#981D94 #985E1D #1D9821 #1D5698
square
#981D94 #985E1D #1D9821 #1D5698
split-complementary
#981D94 #56981D #1D985E
monochromatic
#310930 #651362 #981D94 #CB27C6 #DE52D9

Accessibility & contrast

On white

7.15
#981D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#981D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981D94
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D94#FFFFFF#000000##FFFFFF
##981D941.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #981d94;
/* rgb */ color: rgb(152, 29, 148);
/* oklch */ color: oklch(48.6% 0.201 329.6);
Tailwind
colors: {
  custom: {
    50: '#ba6ab4',
    500: '#981d94',
    950: '#000000',
  },
}
SCSS
$custom: #981d94;
$custom-light: #ba6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#981d94",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 301.951,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4861,
    "c": 0.20062,
    "h": 329.6
  },
  "luminance": 0.09692
}

Semantic roles & 50–950 ramp

primary
#981D94
secondary
#50C154
accent
#EB433D
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #981D94

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

Preview Lab → · Contrast checker → · Palette generator →

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