#981E96#981E96

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

Color values

HEX#981E96
RGBrgb(152, 30, 150)
HSLhsl(301, 67%, 36%)
HSVhsv(301, 80%, 60%)
CMYKcmyk(0%, 80.3%, 1.3%, 40.4%)
CIE-LABlab(37.49, 61.35, -37.54)
CIE-LCHlch(37.49, 71.93, 328.54°)
OKLaboklab(48.8% 0.1723 -0.104)
OKLCHoklch(48.8% 0.201 328.9)
XYZxyz(18.9180, 9.8074, 29.7449)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E96 #1E9820
analogous
#5D1E98 #981E96 #981E59
triadic
#981E96 #96981E #1E9698
tetradic
#981E96 #985D1E #1E9820 #1E5998
square
#981E96 #985D1E #1E9820 #1E5998
split-complementary
#981E96 #59981E #1E985D
monochromatic
#320A31 #651464 #981E96 #CB28C8 #DD53DB

Accessibility & contrast

On white

7.09
#981E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#981E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981E96
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E96#FFFFFF#000000##FFFFFF
##981E961.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #981e96;
/* rgb */ color: rgb(152, 30, 150);
/* oklch */ color: oklch(48.8% 0.201 328.9);
Tailwind
colors: {
  custom: {
    50: '#ba6ab5',
    500: '#981e96',
    950: '#000000',
  },
}
SCSS
$custom: #981e96;
$custom-light: #ba6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#981e96",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 300.984,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48795,
    "c": 0.20125,
    "h": 328.9
  },
  "luminance": 0.09806
}

Semantic roles & 50–950 ramp

primary
#981E96
secondary
#51C053
accent
#EA413E
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #981E96

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

Preview Lab → · Contrast checker → · Palette generator →

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