#981C8A#981C8A

#981C8A is a mid, vivid purple. Relative luminance 0.093; OKLCH L 48.0% C 0.194 H 333.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#981C8A
RGBrgb(152, 28, 138)
HSLhsl(307, 69%, 35%)
HSVhsv(307, 82%, 60%)
CMYKcmyk(0%, 81.6%, 9.2%, 40.4%)
CIE-LABlab(36.64, 60.00, -31.55)
CIE-LCHlch(36.64, 67.79, 332.26°)
OKLaboklab(47.96% 0.1738 -0.0867)
OKLCHoklch(47.96% 0.194 333.5)
XYZxyz(17.9517, 9.3425, 24.8976)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C8A #1C982A
analogous
#681C98 #981C8A #981C4C
triadic
#981C8A #8A981C #1C8A98
tetradic
#981C8A #98681C #1C982A #1C4C98
square
#981C8A #98681C #1C982A #1C4C98
split-complementary
#981C8A #4C981C #1C9868
monochromatic
#31092C #64125B #981C8A #CC26B9 #DF50CF

Accessibility & contrast

On white

7.32
#981C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#981C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981C8A
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C8A#FFFFFF#000000##FFFFFF
##981C8A1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164B8D
Deuteranopia (green-blind)
#495C87
Tritanopia (blue-blind)
#9F2B53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #981c8a;
/* rgb */ color: rgb(152, 28, 138);
/* oklch */ color: oklch(48.0% 0.194 333.5);
Tailwind
colors: {
  custom: {
    50: '#ba69ac',
    500: '#981c8a',
    950: '#000000',
  },
}
SCSS
$custom: #981c8a;
$custom-light: #ba69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#981c8a",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 306.774,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47964,
    "c": 0.19422,
    "h": 333.5
  },
  "luminance": 0.09341
}

Semantic roles & 50–950 ramp

primary
#981C8A
secondary
#4EC15B
accent
#EC503C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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