#981B93#981B93

#981B93 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.4% C 0.202 H 330.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#981B93
RGBrgb(152, 27, 147)
HSLhsl(302, 70%, 35%)
HSVhsv(302, 82%, 60%)
CMYKcmyk(0%, 82.2%, 3.3%, 40.4%)
CIE-LABlab(37.05, 61.64, -36.41)
CIE-LCHlch(37.05, 71.59, 329.43°)
OKLaboklab(48.43% 0.1746 -0.1007)
OKLCHoklch(48.43% 0.202 330)
XYZxyz(18.6072, 9.5674, 28.4648)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B93 #1B9820
analogous
#5E1B98 #981B93 #981B54
triadic
#981B93 #93981B #1B9398
tetradic
#981B93 #985E1B #1B9820 #1B5498
square
#981B93 #985E1B #1B9820 #1B5498
split-complementary
#981B93 #54981B #1B985E
monochromatic
#30092E #641261 #981B93 #CC24C5 #E04EDA

Accessibility & contrast

On white

7.21
#981B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#981B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981B93
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981B93#FFFFFF#000000##FFFFFF
##981B931.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D96
Deuteranopia (green-blind)
#445D90
Tritanopia (blue-blind)
#9E2F58
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #981b93;
/* rgb */ color: rgb(152, 27, 147);
/* oklch */ color: oklch(48.4% 0.202 330.0);
Tailwind
colors: {
  custom: {
    50: '#ba69b3',
    500: '#981b93',
    950: '#000000',
  },
}
SCSS
$custom: #981b93;
$custom-light: #ba69b3;
$custom-dark: #000000;
JSON
{
  "hex": "#981b93",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 302.4,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48426,
    "c": 0.20153,
    "h": 330
  },
  "luminance": 0.09566
}

Semantic roles & 50–950 ramp

primary
#981B93
secondary
#4DC252
accent
#ED423B
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #981B93

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

Preview Lab → · Contrast checker → · Palette generator →

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