#981D89#981D89

#981D89 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.193 H 333.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#981D89
RGBrgb(152, 29, 137)
HSLhsl(307, 68%, 35%)
HSVhsv(307, 81%, 60%)
CMYKcmyk(0%, 80.9%, 9.9%, 40.4%)
CIE-LABlab(36.67, 59.59, -30.88)
CIE-LCHlch(36.67, 67.11, 332.61°)
OKLaboklab(47.97% 0.173 -0.0847)
OKLCHoklch(47.97% 0.193 333.9)
XYZxyz(17.9038, 9.3619, 24.5262)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D89 #1D982C
analogous
#691D98 #981D89 #981D4B
triadic
#981D89 #89981D #1D8998
tetradic
#981D89 #98691D #1D982C #1D4B98
square
#981D89 #98691D #1D982C #1D4B98
split-complementary
#981D89 #4B981D #1D9869
monochromatic
#31092C #65135B #981D89 #CB27B7 #DE52CD

Accessibility & contrast

On white

7.31
#981D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#981D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981D89
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D89#FFFFFF#000000##FFFFFF
##981D891.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194B8C
Deuteranopia (green-blind)
#4A5C86
Tritanopia (blue-blind)
#9F2B53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #981d89;
/* rgb */ color: rgb(152, 29, 137);
/* oklch */ color: oklch(48.0% 0.193 333.9);
Tailwind
colors: {
  custom: {
    50: '#ba69ac',
    500: '#981d89',
    950: '#000000',
  },
}
SCSS
$custom: #981d89;
$custom-light: #ba69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#981d89",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 307.317,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47973,
    "c": 0.19265,
    "h": 333.9
  },
  "luminance": 0.0936
}

Semantic roles & 50–950 ramp

primary
#981D89
secondary
#50C15E
accent
#EB523D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981D89

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

Preview Lab → · Contrast checker → · Palette generator →

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