#981EA0#981EA0

#981EA0 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.209 H 325.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#981EA0
RGBrgb(152, 30, 160)
HSLhsl(296, 68%, 37%)
HSVhsv(296, 81%, 63%)
CMYKcmyk(5%, 81.3%, 0%, 37.3%)
CIE-LABlab(38.10, 63.01, -42.64)
CIE-LCHlch(38.10, 76.08, 325.91°)
OKLaboklab(49.42% 0.1717 -0.1189)
OKLCHoklch(49.42% 0.209 325.3)
XYZxyz(19.7579, 10.1434, 34.1681)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981EA0 #26A01E
analogous
#571EA0 #981EA0 #A01E67
triadic
#981EA0 #A0981E #1EA098
tetradic
#981EA0 #A0571E #26A01E #1E67A0
square
#981EA0 #A0571E #26A01E #1E67A0
split-complementary
#981EA0 #67A01E #1EA057
monochromatic
#360B39 #67146C #981EA0 #C928D4 #D759E0

Accessibility & contrast

On white

6.93
#981EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#981EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #981EA0
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981EA0#FFFFFF#000000##FFFFFF
##981EA01.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#3D5F9D
Tritanopia (blue-blind)
#9C3860
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #981ea0;
/* rgb */ color: rgb(152, 30, 160);
/* oklch */ color: oklch(49.4% 0.209 325.3);
Tailwind
colors: {
  custom: {
    50: '#ba6bbd',
    500: '#981ea0',
    950: '#000000',
  },
}
SCSS
$custom: #981ea0;
$custom-light: #ba6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#981ea0",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 296.308,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49417,
    "c": 0.20884,
    "h": 325.3
  },
  "luminance": 0.10142
}

Semantic roles & 50–950 ramp

primary
#981EA0
secondary
#5DC456
accent
#EB3D47
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #981EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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