#981E89#981E89

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

Color values

HEX#981E89
RGBrgb(152, 30, 137)
HSLhsl(307, 67%, 36%)
HSVhsv(307, 80%, 60%)
CMYKcmyk(0%, 80.3%, 9.9%, 40.4%)
CIE-LABlab(36.77, 59.32, -30.73)
CIE-LCHlch(36.77, 66.80, 332.61°)
OKLaboklab(48.04% 0.1722 -0.0843)
OKLCHoklch(48.04% 0.192 333.9)
XYZxyz(17.9287, 9.4117, 24.5345)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E89 #1E982D
analogous
#6A1E98 #981E89 #981E4C
triadic
#981E89 #89981E #1E8998
tetradic
#981E89 #986A1E #1E982D #1E4C98
square
#981E89 #986A1E #1E982D #1E4C98
split-complementary
#981E89 #4C981E #1E986A
monochromatic
#320A2D #65145B #981E89 #CB28B7 #DD53CC

Accessibility & contrast

On white

7.29
#981E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#981E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981E89
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E89#FFFFFF#000000##FFFFFF
##981E891.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4B8C
Deuteranopia (green-blind)
#4B5D86
Tritanopia (blue-blind)
#9F2B53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #981e89;
/* rgb */ color: rgb(152, 30, 137);
/* oklch */ color: oklch(48.0% 0.192 333.9);
Tailwind
colors: {
  custom: {
    50: '#ba6aac',
    500: '#981e89',
    950: '#000000',
  },
}
SCSS
$custom: #981e89;
$custom-light: #ba6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#981e89",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 307.377,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48039,
    "c": 0.19175,
    "h": 333.9
  },
  "luminance": 0.0941
}

Semantic roles & 50–950 ramp

primary
#981E89
secondary
#51C05F
accent
#EA533E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981E89

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

Preview Lab → · Contrast checker → · Palette generator →

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