#981C85#981C85

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

Color values

HEX#981C85
RGBrgb(152, 28, 133)
HSLhsl(309, 69%, 35%)
HSVhsv(309, 82%, 60%)
CMYKcmyk(0%, 81.6%, 12.5%, 40.4%)
CIE-LABlab(36.37, 59.25, -28.88)
CIE-LCHlch(36.37, 65.92, 334.01°)
OKLaboklab(47.69% 0.1736 -0.079)
OKLCHoklch(47.69% 0.191 335.5)
XYZxyz(17.5981, 9.2010, 23.0349)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C85 #1C982F
analogous
#6D1C98 #981C85 #981C47
triadic
#981C85 #85981C #1C8598
tetradic
#981C85 #986D1C #1C982F #1C4798
square
#981C85 #986D1C #1C982F #1C4798
split-complementary
#981C85 #47981C #1C986D
monochromatic
#31092B #641258 #981C85 #CC26B2 #DF50C9

Accessibility & contrast

On white

7.39
#981C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981C85
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C85#FFFFFF#000000##FFFFFF
##981C851.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4A88
Deuteranopia (green-blind)
#4C5C82
Tritanopia (blue-blind)
#A02850
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #981c85;
/* rgb */ color: rgb(152, 28, 133);
/* oklch */ color: oklch(47.7% 0.191 335.5);
Tailwind
colors: {
  custom: {
    50: '#ba69a9',
    500: '#981c85',
    950: '#000000',
  },
}
SCSS
$custom: #981c85;
$custom-light: #ba69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#981c85",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 309.194,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47687,
    "c": 0.19072,
    "h": 335.5
  },
  "luminance": 0.09199
}

Semantic roles & 50–950 ramp

primary
#981C85
secondary
#4EC160
accent
#EC573C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981C85

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

Preview Lab → · Contrast checker → · Palette generator →

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