#981AB4#981AB4

#981AB4 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.5% C 0.227 H 319.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#981AB4
RGBrgb(152, 26, 180)
HSLhsl(289, 75%, 40%)
HSVhsv(289, 86%, 71%)
CMYKcmyk(15.6%, 85.6%, 0%, 29.4%)
CIE-LABlab(39.09, 67.46, -53.00)
CIE-LCHlch(39.09, 85.79, 321.85°)
OKLaboklab(50.53% 0.1715 -0.1492)
OKLCHoklch(50.53% 0.227 319)
XYZxyz(21.5554, 10.7106, 44.1031)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981AB4 #36B41A
analogous
#4B1AB4 #981AB4 #B41A83
triadic
#981AB4 #B4981A #1AB498
tetradic
#981AB4 #B44B1A #36B41A #1A83B4
square
#981AB4 #B44B1A #36B41A #1A83B4
split-complementary
#981AB4 #83B41A #1AB44B
monochromatic
#3E0B49 #6B127F #981AB4 #BF2BE0 #CF60E8

Accessibility & contrast

On white

6.68
#981AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#981AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #981AB4
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981AB4#FFFFFF#000000##FFFFFF
##981AB41.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#2760B1
Tritanopia (blue-blind)
#98416B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #981ab4;
/* rgb */ color: rgb(152, 26, 180);
/* oklch */ color: oklch(50.5% 0.227 319.0);
Tailwind
colors: {
  custom: {
    50: '#bb6acb',
    500: '#981ab4',
    950: '#000000',
  },
}
SCSS
$custom: #981ab4;
$custom-light: #bb6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#981ab4",
  "rgb": {
    "r": 152,
    "g": 26,
    "b": 180
  },
  "hsl": {
    "h": 289.091,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50534,
    "c": 0.22735,
    "h": 319
  },
  "luminance": 0.10709
}

Semantic roles & 50–950 ramp

primary
#981AB4
secondary
#72CC5D
accent
#F13658
background
#FCF6FC
surface
#F8ECF9
border
#D1C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #981AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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