#981D96#981D96

#981D96 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.7% C 0.202 H 328.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#981D96
RGBrgb(152, 29, 150)
HSLhsl(301, 68%, 35%)
HSVhsv(301, 81%, 60%)
CMYKcmyk(0%, 80.9%, 1.3%, 40.4%)
CIE-LABlab(37.40, 61.62, -37.68)
CIE-LCHlch(37.40, 72.23, 328.55°)
OKLaboklab(48.73% 0.173 -0.1044)
OKLCHoklch(48.73% 0.202 328.9)
XYZxyz(18.8931, 9.7576, 29.7366)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D96 #1D981F
analogous
#5D1D98 #981D96 #981D58
triadic
#981D96 #96981D #1D9698
tetradic
#981D96 #985D1D #1D981F #1D5898
square
#981D96 #985D1D #1D981F #1D5898
split-complementary
#981D96 #58981D #1D985D
monochromatic
#310931 #651363 #981D96 #CB27C9 #DE52DC

Accessibility & contrast

On white

7.12
#981D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#981D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981D96
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D96#FFFFFF#000000##FFFFFF
##981D961.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#435D93
Tritanopia (blue-blind)
#9D325A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #981d96;
/* rgb */ color: rgb(152, 29, 150);
/* oklch */ color: oklch(48.7% 0.202 328.9);
Tailwind
colors: {
  custom: {
    50: '#ba6ab5',
    500: '#981d96',
    950: '#000000',
  },
}
SCSS
$custom: #981d96;
$custom-light: #ba6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#981d96",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 300.976,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48731,
    "c": 0.2021,
    "h": 328.9
  },
  "luminance": 0.09756
}

Semantic roles & 50–950 ramp

primary
#981D96
secondary
#50C152
accent
#EB403D
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #981D96

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

Preview Lab → · Contrast checker → · Palette generator →

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