#981D88#981D88

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

Color values

HEX#981D88
RGBrgb(152, 29, 136)
HSLhsl(308, 68%, 35%)
HSVhsv(308, 81%, 60%)
CMYKcmyk(0%, 80.9%, 10.5%, 40.4%)
CIE-LABlab(36.62, 59.44, -30.34)
CIE-LCHlch(36.62, 66.73, 332.95°)
OKLaboklab(47.92% 0.173 -0.0832)
OKLCHoklch(47.92% 0.192 334.3)
XYZxyz(17.8324, 9.3333, 24.1501)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D88 #1D982D
analogous
#6A1D98 #981D88 #981D4A
triadic
#981D88 #88981D #1D8898
tetradic
#981D88 #986A1D #1D982D #1D4A98
square
#981D88 #986A1D #1D982D #1D4A98
split-complementary
#981D88 #4A981D #1D986A
monochromatic
#31092C #65135A #981D88 #CB27B6 #DE52CC

Accessibility & contrast

On white

7.33
#981D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981D88
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D88#FFFFFF#000000##FFFFFF
##981D881.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4B8B
Deuteranopia (green-blind)
#4B5C85
Tritanopia (blue-blind)
#A02A52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #981d88;
/* rgb */ color: rgb(152, 29, 136);
/* oklch */ color: oklch(47.9% 0.192 334.3);
Tailwind
colors: {
  custom: {
    50: '#ba69ab',
    500: '#981d88',
    950: '#000000',
  },
}
SCSS
$custom: #981d88;
$custom-light: #ba69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#981d88",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 307.805,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47917,
    "c": 0.19194,
    "h": 334.3
  },
  "luminance": 0.09332
}

Semantic roles & 50–950 ramp

primary
#981D88
secondary
#50C15F
accent
#EB543D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981D88

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

Preview Lab → · Contrast checker → · Palette generator →

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