#981C86#981C86

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

Color values

HEX#981C86
RGBrgb(152, 28, 134)
HSLhsl(309, 69%, 35%)
HSVhsv(309, 82%, 60%)
CMYKcmyk(0%, 81.6%, 11.8%, 40.4%)
CIE-LABlab(36.42, 59.40, -29.42)
CIE-LCHlch(36.42, 66.28, 333.65°)
OKLaboklab(47.74% 0.1737 -0.0805)
OKLCHoklch(47.74% 0.191 335.1)
XYZxyz(17.6675, 9.2288, 23.4005)
Luminance0.0923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C86 #1C982E
analogous
#6C1C98 #981C86 #981C48
triadic
#981C86 #86981C #1C8698
tetradic
#981C86 #986C1C #1C982E #1C4898
square
#981C86 #986C1C #1C982E #1C4898
split-complementary
#981C86 #48981C #1C986C
monochromatic
#31092B #641258 #981C86 #CC26B4 #DF50CA

Accessibility & contrast

On white

7.38
#981C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981C86
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C86#FFFFFF#000000##FFFFFF
##981C861.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #981c86;
/* rgb */ color: rgb(152, 28, 134);
/* oklch */ color: oklch(47.7% 0.191 335.1);
Tailwind
colors: {
  custom: {
    50: '#ba69a9',
    500: '#981c86',
    950: '#000000',
  },
}
SCSS
$custom: #981c86;
$custom-light: #ba69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#981c86",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 308.71,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47742,
    "c": 0.19141,
    "h": 335.1
  },
  "luminance": 0.09227
}

Semantic roles & 50–950 ramp

primary
#981C86
secondary
#4EC15F
accent
#EC563C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981C86

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

Preview Lab → · Contrast checker → · Palette generator →

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