#981EA8#981EA8

#981EA8 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.215 H 322.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#981EA8
RGBrgb(152, 30, 168)
HSLhsl(293, 70%, 39%)
HSVhsv(293, 82%, 66%)
CMYKcmyk(9.5%, 82.1%, 0%, 34.1%)
CIE-LABlab(38.61, 64.38, -46.63)
CIE-LCHlch(38.61, 79.49, 324.09°)
OKLaboklab(49.94% 0.1709 -0.1305)
OKLCHoklch(49.94% 0.215 322.6)
XYZxyz(20.4803, 10.4323, 37.9731)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981EA8 #2EA81E
analogous
#531EA8 #981EA8 #A81E73
triadic
#981EA8 #A8981E #1EA898
tetradic
#981EA8 #A8531E #2EA81E #1E73A8
square
#981EA8 #A8531E #2EA81E #1E73A8
split-complementary
#981EA8 #73A81E #1EA853
monochromatic
#3A0B40 #691574 #981EA8 #C52AD9 #D35EE2

Accessibility & contrast

On white

6.80
#981EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#981EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #981EA8
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981EA8#FFFFFF#000000##FFFFFF
##981EA81.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#365FA5
Tritanopia (blue-blind)
#9A3C65
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #981ea8;
/* rgb */ color: rgb(152, 30, 168);
/* oklch */ color: oklch(49.9% 0.215 322.6);
Tailwind
colors: {
  custom: {
    50: '#bb6bc2',
    500: '#981ea8',
    950: '#000000',
  },
}
SCSS
$custom: #981ea8;
$custom-light: #bb6bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#981ea8",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 293.043,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49939,
    "c": 0.21503,
    "h": 322.6
  },
  "luminance": 0.10431
}

Semantic roles & 50–950 ramp

primary
#981EA8
secondary
#68C75B
accent
#ED3B50
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120812
muted
#817A81

Preview Lab

Preview with #981EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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