#981B96#981B96

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

Color values

HEX#981B96
RGBrgb(152, 27, 150)
HSLhsl(301, 70%, 35%)
HSVhsv(301, 82%, 60%)
CMYKcmyk(0%, 82.2%, 1.3%, 40.4%)
CIE-LABlab(37.23, 62.12, -37.96)
CIE-LCHlch(37.23, 72.80, 328.57°)
OKLaboklab(48.61% 0.1745 -0.1052)
OKLCHoklch(48.61% 0.204 328.9)
XYZxyz(18.8457, 9.6627, 29.7208)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B96 #1B981D
analogous
#5B1B98 #981B96 #981B57
triadic
#981B96 #96981B #1B9698
tetradic
#981B96 #985B1B #1B981D #1B5798
square
#981B96 #985B1B #1B981D #1B5798
split-complementary
#981B96 #57981B #1B985B
monochromatic
#30092F #641263 #981B96 #CC24C9 #E04EDD

Accessibility & contrast

On white

7.16
#981B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#981B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981B96
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981B96#FFFFFF#000000##FFFFFF
##981B961.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#425D93
Tritanopia (blue-blind)
#9D315A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #981b96;
/* rgb */ color: rgb(152, 27, 150);
/* oklch */ color: oklch(48.6% 0.204 328.9);
Tailwind
colors: {
  custom: {
    50: '#ba69b5',
    500: '#981b96',
    950: '#000000',
  },
}
SCSS
$custom: #981b96;
$custom-light: #ba69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#981b96",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 300.96,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48607,
    "c": 0.20374,
    "h": 328.9
  },
  "luminance": 0.09661
}

Semantic roles & 50–950 ramp

primary
#981B96
secondary
#4DC24F
accent
#ED3E3B
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #981B96

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

Preview Lab → · Contrast checker → · Palette generator →

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