#981D95#981D95

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

Color values

HEX#981D95
RGBrgb(152, 29, 149)
HSLhsl(301, 68%, 35%)
HSVhsv(301, 81%, 60%)
CMYKcmyk(0%, 80.9%, 2%, 40.4%)
CIE-LABlab(37.35, 61.45, -37.17)
CIE-LCHlch(37.35, 71.82, 328.83°)
OKLaboklab(48.67% 0.1731 -0.1029)
OKLCHoklch(48.67% 0.201 329.3)
XYZxyz(18.8129, 9.7255, 29.3143)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D95 #1D9820
analogous
#5D1D98 #981D95 #981D58
triadic
#981D95 #95981D #1D9598
tetradic
#981D95 #985D1D #1D9820 #1D5898
square
#981D95 #985D1D #1D9820 #1D5898
split-complementary
#981D95 #58981D #1D985D
monochromatic
#310930 #651363 #981D95 #CB27C7 #DE52DA

Accessibility & contrast

On white

7.13
#981D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981D95
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D95#FFFFFF#000000##FFFFFF
##981D951.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E98
Deuteranopia (green-blind)
#445D92
Tritanopia (blue-blind)
#9E315A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #981d95;
/* rgb */ color: rgb(152, 29, 149);
/* oklch */ color: oklch(48.7% 0.201 329.3);
Tailwind
colors: {
  custom: {
    50: '#ba6ab4',
    500: '#981d95',
    950: '#000000',
  },
}
SCSS
$custom: #981d95;
$custom-light: #ba6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#981d95",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 301.463,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4867,
    "c": 0.20136,
    "h": 329.3
  },
  "luminance": 0.09724
}

Semantic roles & 50–950 ramp

primary
#981D95
secondary
#50C153
accent
#EB413D
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #981D95

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

Preview Lab → · Contrast checker → · Palette generator →

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