#981B88#981B88

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

Color values

HEX#981B88
RGBrgb(152, 27, 136)
HSLhsl(308, 70%, 35%)
HSVhsv(308, 82%, 60%)
CMYKcmyk(0%, 82.2%, 10.5%, 40.4%)
CIE-LABlab(36.44, 59.95, -30.63)
CIE-LCHlch(36.44, 67.32, 332.94°)
OKLaboklab(47.79% 0.1745 -0.084)
OKLCHoklch(47.79% 0.194 334.3)
XYZxyz(17.7850, 9.2385, 24.1343)
Luminance0.0924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B88 #1B982B
analogous
#691B98 #981B88 #981B4A
triadic
#981B88 #88981B #1B8898
tetradic
#981B88 #98691B #1B982B #1B4A98
square
#981B88 #98691B #1B982B #1B4A98
split-complementary
#981B88 #4A981B #1B9869
monochromatic
#30092B #64125A #981B88 #CC24B6 #E04ECD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##981B88#FFFFFF#000000##FFFFFF
##981B881.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)
#184A8B
Deuteranopia (green-blind)
#4A5C85
Tritanopia (blue-blind)
#A02952
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #981b88;
/* rgb */ color: rgb(152, 27, 136);
/* oklch */ color: oklch(47.8% 0.194 334.3);
Tailwind
colors: {
  custom: {
    50: '#ba69ab',
    500: '#981b88',
    950: '#000000',
  },
}
SCSS
$custom: #981b88;
$custom-light: #ba69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#981b88",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 307.68,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47789,
    "c": 0.19366,
    "h": 334.3
  },
  "luminance": 0.09237
}

Semantic roles & 50–950 ramp

primary
#981B88
secondary
#4DC25C
accent
#ED523B
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981B88

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

Preview Lab → · Contrast checker → · Palette generator →

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