#981A88#981A88

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

Color values

HEX#981A88
RGBrgb(152, 26, 136)
HSLhsl(308, 71%, 35%)
HSVhsv(308, 83%, 60%)
CMYKcmyk(0%, 82.9%, 10.5%, 40.4%)
CIE-LABlab(36.35, 60.20, -30.76)
CIE-LCHlch(36.35, 67.60, 332.93°)
OKLaboklab(47.73% 0.1752 -0.0844)
OKLCHoklch(47.73% 0.194 334.3)
XYZxyz(17.7624, 9.1934, 24.1268)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981A88 #1A982A
analogous
#691A98 #981A88 #981A49
triadic
#981A88 #88981A #1A8898
tetradic
#981A88 #98691A #1A982A #1A4998
square
#981A88 #98691A #1A982A #1A4998
split-complementary
#981A88 #49981A #1A9869
monochromatic
#2F082A #641159 #981A88 #CC23B7 #E04CCE

Accessibility & contrast

On white

7.40
#981A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981A88
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981A88#FFFFFF#000000##FFFFFF
##981A881.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164A8B
Deuteranopia (green-blind)
#4A5C85
Tritanopia (blue-blind)
#A02852
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #981a88;
/* rgb */ color: rgb(152, 26, 136);
/* oklch */ color: oklch(47.7% 0.194 334.3);
Tailwind
colors: {
  custom: {
    50: '#ba68ab',
    500: '#981a88',
    950: '#000000',
  },
}
SCSS
$custom: #981a88;
$custom-light: #ba68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#981a88",
  "rgb": {
    "r": 152,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 307.619,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47728,
    "c": 0.19448,
    "h": 334.3
  },
  "luminance": 0.09192
}

Semantic roles & 50–950 ramp

primary
#981A88
secondary
#4BC25B
accent
#EE513A
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981A88

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

Preview Lab → · Contrast checker → · Palette generator →

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