#981B85#981B85

#981B85 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.192 H 335.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#981B85
RGBrgb(152, 27, 133)
HSLhsl(309, 70%, 35%)
HSVhsv(309, 82%, 60%)
CMYKcmyk(0%, 82.2%, 12.5%, 40.4%)
CIE-LABlab(36.28, 59.51, -29.02)
CIE-LCHlch(36.28, 66.21, 334.00°)
OKLaboklab(47.62% 0.1744 -0.0794)
OKLCHoklch(47.62% 0.192 335.5)
XYZxyz(17.5747, 9.1544, 23.0271)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B85 #1B982E
analogous
#6C1B98 #981B85 #981B47
triadic
#981B85 #85981B #1B8598
tetradic
#981B85 #986C1B #1B982E #1B4798
square
#981B85 #986C1B #1B982E #1B4798
split-complementary
#981B85 #47981B #1B986C
monochromatic
#30092A #641258 #981B85 #CC24B2 #E04EC9

Accessibility & contrast

On white

7.42
#981B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#981B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981B85
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981B85#FFFFFF#000000##FFFFFF
##981B851.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4A88
Deuteranopia (green-blind)
#4B5C82
Tritanopia (blue-blind)
#A02750
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #981b85;
/* rgb */ color: rgb(152, 27, 133);
/* oklch */ color: oklch(47.6% 0.192 335.5);
Tailwind
colors: {
  custom: {
    50: '#ba68a9',
    500: '#981b85',
    950: '#000000',
  },
}
SCSS
$custom: #981b85;
$custom-light: #ba68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#981b85",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 309.12,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47623,
    "c": 0.19158,
    "h": 335.5
  },
  "luminance": 0.09153
}

Semantic roles & 50–950 ramp

primary
#981B85
secondary
#4DC25F
accent
#ED563B
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981B85

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

Preview Lab → · Contrast checker → · Palette generator →

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