#981F89#981F89

#981F89 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.191 H 333.9°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#981F89
RGBrgb(152, 31, 137)
HSLhsl(307, 66%, 36%)
HSVhsv(307, 80%, 60%)
CMYKcmyk(0%, 79.6%, 9.9%, 40.4%)
CIE-LABlab(36.86, 59.04, -30.58)
CIE-LCHlch(36.86, 66.49, 332.62°)
OKLaboklab(48.11% 0.1714 -0.0839)
OKLCHoklch(48.11% 0.191 333.9)
XYZxyz(17.9544, 9.4631, 24.5430)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F89 #1F982E
analogous
#6A1F98 #981F89 #981F4C
triadic
#981F89 #89981F #1F8998
tetradic
#981F89 #986A1F #1F982E #1F4C98
square
#981F89 #986A1F #1F982E #1F4C98
split-complementary
#981F89 #4C981F #1F986A
monochromatic
#320A2D #65155B #981F89 #CB29B7 #DC55CC

Accessibility & contrast

On white

7.26
#981F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#981F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F89
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F89#FFFFFF#000000##FFFFFF
##981F891.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4C8C
Deuteranopia (green-blind)
#4B5D86
Tritanopia (blue-blind)
#9F2C53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #981f89;
/* rgb */ color: rgb(152, 31, 137);
/* oklch */ color: oklch(48.1% 0.191 333.9);
Tailwind
colors: {
  custom: {
    50: '#ba6aac',
    500: '#981f89',
    950: '#000000',
  },
}
SCSS
$custom: #981f89;
$custom-light: #ba6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#981f89",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 307.438,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48108,
    "c": 0.19083,
    "h": 333.9
  },
  "luminance": 0.09462
}

Semantic roles & 50–950 ramp

primary
#981F89
secondary
#53C060
accent
#E9543F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981F89

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

Preview Lab → · Contrast checker → · Palette generator →

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