#981D9F#981D9F

#981D9F is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.209 H 325.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#981D9F
RGBrgb(152, 29, 159)
HSLhsl(297, 69%, 37%)
HSVhsv(297, 82%, 62%)
CMYKcmyk(4.4%, 81.8%, 0%, 37.6%)
CIE-LABlab(37.95, 63.10, -42.27)
CIE-LCHlch(37.95, 75.95, 326.18°)
OKLaboklab(49.29% 0.1725 -0.1178)
OKLCHoklch(49.29% 0.209 325.7)
XYZxyz(19.6458, 10.0587, 33.7009)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D9F #249F1D
analogous
#571D9F #981D9F #9F1D65
triadic
#981D9F #9F981D #1D9F98
tetradic
#981D9F #9F571D #249F1D #1D659F
square
#981D9F #9F571D #249F1D #1D659F
split-complementary
#981D9F #659F1D #1D9F57
monochromatic
#350A37 #67146B #981D9F #C926D3 #D956E0

Accessibility & contrast

On white

6.97
#981D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#981D9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #981D9F
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D9F#FFFFFF#000000##FFFFFF
##981D9F1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#3D5E9C
Tritanopia (blue-blind)
#9C375F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #981d9f;
/* rgb */ color: rgb(152, 29, 159);
/* oklch */ color: oklch(49.3% 0.209 325.7);
Tailwind
colors: {
  custom: {
    50: '#ba6abc',
    500: '#981d9f',
    950: '#000000',
  },
}
SCSS
$custom: #981d9f;
$custom-light: #ba6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#981d9f",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 296.769,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49291,
    "c": 0.2089,
    "h": 325.7
  },
  "luminance": 0.10057
}

Semantic roles & 50–950 ramp

primary
#981D9F
secondary
#5AC454
accent
#EC3C45
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #981D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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