#981A89#981A89

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

Color values

HEX#981A89
RGBrgb(152, 26, 137)
HSLhsl(307, 71%, 35%)
HSVhsv(307, 83%, 60%)
CMYKcmyk(0%, 82.9%, 9.9%, 40.4%)
CIE-LABlab(36.41, 60.35, -31.29)
CIE-LCHlch(36.41, 67.98, 332.59°)
OKLaboklab(47.78% 0.1753 -0.0859)
OKLCHoklch(47.78% 0.195 333.9)
XYZxyz(17.8338, 9.2219, 24.5028)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981A89 #1A9829
analogous
#681A98 #981A89 #981A4A
triadic
#981A89 #89981A #1A8998
tetradic
#981A89 #98681A #1A9829 #1A4A98
square
#981A89 #98681A #1A9829 #1A4A98
split-complementary
#981A89 #4A981A #1A9868
monochromatic
#2F082B #64115A #981A89 #CC23B8 #E04CCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##981A89#FFFFFF#000000##FFFFFF
##981A891.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154A8C
Deuteranopia (green-blind)
#495C86
Tritanopia (blue-blind)
#9F2952
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #981a89;
/* rgb */ color: rgb(152, 26, 137);
/* oklch */ color: oklch(47.8% 0.195 333.9);
Tailwind
colors: {
  custom: {
    50: '#ba68ac',
    500: '#981a89',
    950: '#000000',
  },
}
SCSS
$custom: #981a89;
$custom-light: #ba68ac;
$custom-dark: #000000;
JSON
{
  "hex": "#981a89",
  "rgb": {
    "r": 152,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 307.143,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47784,
    "c": 0.19518,
    "h": 333.9
  },
  "luminance": 0.0922
}

Semantic roles & 50–950 ramp

primary
#981A89
secondary
#4BC25A
accent
#EE503A
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981A89

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

Preview Lab → · Contrast checker → · Palette generator →

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