#981B86#981B86

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

Color values

HEX#981B86
RGBrgb(152, 27, 134)
HSLhsl(309, 70%, 35%)
HSVhsv(309, 82%, 60%)
CMYKcmyk(0%, 82.2%, 11.8%, 40.4%)
CIE-LABlab(36.33, 59.66, -29.56)
CIE-LCHlch(36.33, 66.58, 333.64°)
OKLaboklab(47.68% 0.1744 -0.0809)
OKLCHoklch(47.68% 0.192 335.1)
XYZxyz(17.6442, 9.1821, 23.3927)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B86 #1B982D
analogous
#6B1B98 #981B86 #981B48
triadic
#981B86 #86981B #1B8698
tetradic
#981B86 #986B1B #1B982D #1B4898
square
#981B86 #986B1B #1B982D #1B4898
split-complementary
#981B86 #48981B #1B986B
monochromatic
#30092A #641258 #981B86 #CC24B4 #E04ECB

Accessibility & contrast

On white

7.40
#981B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#981B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981B86
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981B86#FFFFFF#000000##FFFFFF
##981B861.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4A89
Deuteranopia (green-blind)
#4B5C83
Tritanopia (blue-blind)
#A02851
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #981b86;
/* rgb */ color: rgb(152, 27, 134);
/* oklch */ color: oklch(47.7% 0.192 335.1);
Tailwind
colors: {
  custom: {
    50: '#ba69a9',
    500: '#981b86',
    950: '#000000',
  },
}
SCSS
$custom: #981b86;
$custom-light: #ba69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#981b86",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 308.64,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47678,
    "c": 0.19227,
    "h": 335.1
  },
  "luminance": 0.0918
}

Semantic roles & 50–950 ramp

primary
#981B86
secondary
#4DC25E
accent
#ED553B
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981B86

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

Preview Lab → · Contrast checker → · Palette generator →

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