#981F96#981F96

#981F96 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.9% C 0.200 H 328.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#981F96
RGBrgb(152, 31, 150)
HSLhsl(301, 66%, 36%)
HSVhsv(301, 80%, 60%)
CMYKcmyk(0%, 79.6%, 1.3%, 40.4%)
CIE-LABlab(37.59, 61.08, -37.39)
CIE-LCHlch(37.59, 71.62, 328.53°)
OKLaboklab(48.86% 0.1715 -0.1036)
OKLCHoklch(48.86% 0.2 328.9)
XYZxyz(18.9437, 9.8588, 29.7535)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F96 #1F9821
analogous
#5D1F98 #981F96 #981F59
triadic
#981F96 #96981F #1F9698
tetradic
#981F96 #985D1F #1F9821 #1F5998
square
#981F96 #985D1F #1F9821 #1F5998
split-complementary
#981F96 #59981F #1F985D
monochromatic
#320A32 #651564 #981F96 #CB29C8 #DC55DA

Accessibility & contrast

On white

7.07
#981F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#981F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F96
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F96#FFFFFF#000000##FFFFFF
##981F961.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#445E93
Tritanopia (blue-blind)
#9D335B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #981f96;
/* rgb */ color: rgb(152, 31, 150);
/* oklch */ color: oklch(48.9% 0.200 328.9);
Tailwind
colors: {
  custom: {
    50: '#ba6bb5',
    500: '#981f96',
    950: '#000000',
  },
}
SCSS
$custom: #981f96;
$custom-light: #ba6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#981f96",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 300.992,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48861,
    "c": 0.20037,
    "h": 328.9
  },
  "luminance": 0.09857
}

Semantic roles & 50–950 ramp

primary
#981F96
secondary
#53C055
accent
#E9423F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #981F96

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

Preview Lab → · Contrast checker → · Palette generator →

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