#981D9E#981D9E

#981D9E is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.208 H 326.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#981D9E
RGBrgb(152, 29, 158)
HSLhsl(297, 69%, 37%)
HSVhsv(297, 82%, 62%)
CMYKcmyk(3.8%, 81.6%, 0%, 38%)
CIE-LABlab(37.89, 62.93, -41.77)
CIE-LCHlch(37.89, 75.53, 326.43°)
OKLaboklab(49.23% 0.1726 -0.1163)
OKLCHoklch(49.23% 0.208 326)
XYZxyz(19.5594, 10.0241, 33.2458)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D9E #239E1D
analogous
#581D9E #981D9E #9E1D64
triadic
#981D9E #9E981D #1D9E98
tetradic
#981D9E #9E581D #239E1D #1D649E
square
#981D9E #9E581D #239E1D #1D649E
split-complementary
#981D9E #649E1D #1D9E58
monochromatic
#350A37 #66146A #981D9E #CA26D2 #D956E0

Accessibility & contrast

On white

6.99
#981D9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#981D9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #981D9E
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D9E#FFFFFF#000000##FFFFFF
##981D9E1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#3E5E9B
Tritanopia (blue-blind)
#9C365F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #981d9e;
/* rgb */ color: rgb(152, 29, 158);
/* oklch */ color: oklch(49.2% 0.208 326.0);
Tailwind
colors: {
  custom: {
    50: '#ba6abb',
    500: '#981d9e',
    950: '#000000',
  },
}
SCSS
$custom: #981d9e;
$custom-light: #ba6abb;
$custom-dark: #000000;
JSON
{
  "hex": "#981d9e",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 297.209,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49227,
    "c": 0.20812,
    "h": 326
  },
  "luminance": 0.10023
}

Semantic roles & 50–950 ramp

primary
#981D9E
secondary
#59C354
accent
#EC3C44
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #981D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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