#981C96#981C96

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

Color values

HEX#981C96
RGBrgb(152, 28, 150)
HSLhsl(301, 69%, 35%)
HSVhsv(301, 82%, 60%)
CMYKcmyk(0%, 81.6%, 1.3%, 40.4%)
CIE-LABlab(37.32, 61.87, -37.82)
CIE-LCHlch(37.32, 72.52, 328.56°)
OKLaboklab(48.67% 0.1737 -0.1048)
OKLCHoklch(48.67% 0.203 328.9)
XYZxyz(18.8690, 9.7094, 29.7285)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C96 #1C981E
analogous
#5C1C98 #981C96 #981C58
triadic
#981C96 #96981C #1C9698
tetradic
#981C96 #985C1C #1C981E #1C5898
square
#981C96 #985C1C #1C981E #1C5898
split-complementary
#981C96 #58981C #1C985C
monochromatic
#310930 #641263 #981C96 #CC26C9 #DF50DC

Accessibility & contrast

On white

7.14
#981C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#981C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981C96
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C96#FFFFFF#000000##FFFFFF
##981C961.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #981c96;
/* rgb */ color: rgb(152, 28, 150);
/* oklch */ color: oklch(48.7% 0.203 328.9);
Tailwind
colors: {
  custom: {
    50: '#ba6ab5',
    500: '#981c96',
    950: '#000000',
  },
}
SCSS
$custom: #981c96;
$custom-light: #ba6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#981c96",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 300.968,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48668,
    "c": 0.20293,
    "h": 328.9
  },
  "luminance": 0.09708
}

Semantic roles & 50–950 ramp

primary
#981C96
secondary
#4EC150
accent
#EC3F3C
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #981C96

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

Preview Lab → · Contrast checker → · Palette generator →

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