#981B89#981B89

#981B89 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.194 H 333.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#981B89
RGBrgb(152, 27, 137)
HSLhsl(307, 70%, 35%)
HSVhsv(307, 82%, 60%)
CMYKcmyk(0%, 82.2%, 9.9%, 40.4%)
CIE-LABlab(36.49, 60.10, -31.16)
CIE-LCHlch(36.49, 67.70, 332.60°)
OKLaboklab(47.85% 0.1745 -0.0855)
OKLCHoklch(47.85% 0.194 333.9)
XYZxyz(17.8564, 9.2670, 24.5103)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B89 #1B982A
analogous
#681B98 #981B89 #981B4B
triadic
#981B89 #89981B #1B8998
tetradic
#981B89 #98681B #1B982A #1B4B98
square
#981B89 #98681B #1B982A #1B4B98
split-complementary
#981B89 #4B981B #1B9868
monochromatic
#30092B #64125A #981B89 #CC24B8 #E04ECE

Accessibility & contrast

On white

7.36
#981B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#981B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981B89
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981B89#FFFFFF#000000##FFFFFF
##981B891.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164A8C
Deuteranopia (green-blind)
#4A5C86
Tritanopia (blue-blind)
#9F2952
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #981b89;
/* rgb */ color: rgb(152, 27, 137);
/* oklch */ color: oklch(47.8% 0.194 333.9);
Tailwind
colors: {
  custom: {
    50: '#ba69ac',
    500: '#981b89',
    950: '#000000',
  },
}
SCSS
$custom: #981b89;
$custom-light: #ba69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#981b89",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 307.2,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47845,
    "c": 0.19437,
    "h": 333.9
  },
  "luminance": 0.09265
}

Semantic roles & 50–950 ramp

primary
#981B89
secondary
#4DC25B
accent
#ED503B
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981B89

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

Preview Lab → · Contrast checker → · Palette generator →

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