#981EA1#981EA1

#981EA1 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.210 H 325.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#981EA1
RGBrgb(152, 30, 161)
HSLhsl(296, 69%, 37%)
HSVhsv(296, 81%, 63%)
CMYKcmyk(5.6%, 81.4%, 0%, 36.9%)
CIE-LABlab(38.16, 63.18, -43.14)
CIE-LCHlch(38.16, 76.50, 325.67°)
OKLaboklab(49.48% 0.1716 -0.1203)
OKLCHoklch(49.48% 0.21 325)
XYZxyz(19.8457, 10.1785, 34.6307)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981EA1 #27A11E
analogous
#571EA1 #981EA1 #A11E68
triadic
#981EA1 #A1981E #1EA198
tetradic
#981EA1 #A1571E #27A11E #1E68A1
square
#981EA1 #A1571E #27A11E #1E68A1
split-complementary
#981EA1 #68A11E #1EA157
monochromatic
#370B3A #67146D #981EA1 #C928D5 #D759E0

Accessibility & contrast

On white

6.92
#981EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#981EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #981EA1
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981EA1#FFFFFF#000000##FFFFFF
##981EA11.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#3C5F9E
Tritanopia (blue-blind)
#9B3861
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #981ea1;
/* rgb */ color: rgb(152, 30, 161);
/* oklch */ color: oklch(49.5% 0.210 325.0);
Tailwind
colors: {
  custom: {
    50: '#ba6bbd',
    500: '#981ea1',
    950: '#000000',
  },
}
SCSS
$custom: #981ea1;
$custom-light: #ba6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#981ea1",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 295.878,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49481,
    "c": 0.2096,
    "h": 325
  },
  "luminance": 0.10177
}

Semantic roles & 50–950 ramp

primary
#981EA1
secondary
#5EC457
accent
#EB3C48
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #981EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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