#981C88#981C88

#981C88 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.193 H 334.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#981C88
RGBrgb(152, 28, 136)
HSLhsl(308, 69%, 35%)
HSVhsv(308, 82%, 60%)
CMYKcmyk(0%, 81.6%, 10.5%, 40.4%)
CIE-LABlab(36.53, 59.70, -30.49)
CIE-LCHlch(36.53, 67.03, 332.95°)
OKLaboklab(47.85% 0.1737 -0.0836)
OKLCHoklch(47.85% 0.193 334.3)
XYZxyz(17.8083, 9.2851, 24.1421)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C88 #1C982C
analogous
#6A1C98 #981C88 #981C4A
triadic
#981C88 #88981C #1C8898
tetradic
#981C88 #986A1C #1C982C #1C4A98
square
#981C88 #986A1C #1C982C #1C4A98
split-complementary
#981C88 #4A981C #1C986A
monochromatic
#31092C #64125A #981C88 #CC26B6 #DF50CC

Accessibility & contrast

On white

7.35
#981C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#981C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981C88
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C88#FFFFFF#000000##FFFFFF
##981C881.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194B8B
Deuteranopia (green-blind)
#4A5C85
Tritanopia (blue-blind)
#A02952
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #981c88;
/* rgb */ color: rgb(152, 28, 136);
/* oklch */ color: oklch(47.9% 0.193 334.3);
Tailwind
colors: {
  custom: {
    50: '#ba69ab',
    500: '#981c88',
    950: '#000000',
  },
}
SCSS
$custom: #981c88;
$custom-light: #ba69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#981c88",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 136
  },
  "hsl": {
    "h": 307.742,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47852,
    "c": 0.19281,
    "h": 334.3
  },
  "luminance": 0.09283
}

Semantic roles & 50–950 ramp

primary
#981C88
secondary
#4EC15D
accent
#EC533C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981C88

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

Preview Lab → · Contrast checker → · Palette generator →

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