#981D99#981D99

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

Color values

HEX#981D99
RGBrgb(152, 29, 153)
HSLhsl(300, 68%, 36%)
HSVhsv(300, 81%, 60%)
CMYKcmyk(0.7%, 81%, 0%, 40%)
CIE-LABlab(37.58, 62.10, -39.23)
CIE-LCHlch(37.58, 73.45, 327.72°)
OKLaboklab(48.91% 0.1729 -0.1089)
OKLCHoklch(48.91% 0.204 327.8)
XYZxyz(19.1378, 9.8555, 31.0251)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D99 #1E991D
analogous
#5A1D99 #981D99 #991D5C
triadic
#981D99 #99981D #1D9998
tetradic
#981D99 #995A1D #1E991D #1D5C99
square
#981D99 #995A1D #1E991D #1D5C99
split-complementary
#981D99 #5C991D #1D995A
monochromatic
#320932 #651366 #981D99 #CB27CC #DD52DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##981D99#FFFFFF#000000##FFFFFF
##981D991.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)
#004F9C
Deuteranopia (green-blind)
#415E96
Tritanopia (blue-blind)
#9D345C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #981d99;
/* rgb */ color: rgb(152, 29, 153);
/* oklch */ color: oklch(48.9% 0.204 327.8);
Tailwind
colors: {
  custom: {
    50: '#ba6ab7',
    500: '#981d99',
    950: '#000000',
  },
}
SCSS
$custom: #981d99;
$custom-light: #ba6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#981d99",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 299.516,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48914,
    "c": 0.20435,
    "h": 327.8
  },
  "luminance": 0.09854
}

Semantic roles & 50–950 ramp

primary
#981D99
secondary
#51C151
accent
#EB3D3E
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #981D99

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

Preview Lab → · Contrast checker → · Palette generator →

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