#981D86#981D86

#981D86 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.191 H 335.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#981D86
RGBrgb(152, 29, 134)
HSLhsl(309, 68%, 35%)
HSVhsv(309, 81%, 60%)
CMYKcmyk(0%, 80.9%, 11.8%, 40.4%)
CIE-LABlab(36.51, 59.14, -29.27)
CIE-LCHlch(36.51, 65.99, 333.66°)
OKLaboklab(47.81% 0.1729 -0.0801)
OKLCHoklch(47.81% 0.191 335.1)
XYZxyz(17.6916, 9.2770, 23.4085)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D86 #1D982F
analogous
#6C1D98 #981D86 #981D49
triadic
#981D86 #86981D #1D8698
tetradic
#981D86 #986C1D #1D982F #1D4998
square
#981D86 #986C1D #1D982F #1D4998
split-complementary
#981D86 #49981D #1D986C
monochromatic
#31092B #651359 #981D86 #CB27B3 #DE52C9

Accessibility & contrast

On white

7.36
#981D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#981D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981D86
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D86#FFFFFF#000000##FFFFFF
##981D861.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4A89
Deuteranopia (green-blind)
#4C5C83
Tritanopia (blue-blind)
#A02951
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #981d86;
/* rgb */ color: rgb(152, 29, 134);
/* oklch */ color: oklch(47.8% 0.191 335.1);
Tailwind
colors: {
  custom: {
    50: '#ba69a9',
    500: '#981d86',
    950: '#000000',
  },
}
SCSS
$custom: #981d86;
$custom-light: #ba69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#981d86",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 308.78,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47807,
    "c": 0.19054,
    "h": 335.1
  },
  "luminance": 0.09275
}

Semantic roles & 50–950 ramp

primary
#981D86
secondary
#50C160
accent
#EB563D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981D86

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

Preview Lab → · Contrast checker → · Palette generator →

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