#981EA6#981EA6

#981EA6 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.213 H 323.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#981EA6
RGBrgb(152, 30, 166)
HSLhsl(294, 69%, 38%)
HSVhsv(294, 82%, 65%)
CMYKcmyk(8.4%, 81.9%, 0%, 34.9%)
CIE-LABlab(38.48, 64.03, -45.64)
CIE-LCHlch(38.48, 78.63, 324.52°)
OKLaboklab(49.81% 0.1711 -0.1277)
OKLCHoklch(49.81% 0.213 323.3)
XYZxyz(20.2955, 10.3584, 36.9994)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981EA6 #2CA61E
analogous
#541EA6 #981EA6 #A61E70
triadic
#981EA6 #A6981E #1EA698
tetradic
#981EA6 #A6541E #2CA61E #1E70A6
square
#981EA6 #A6541E #2CA61E #1E70A6
split-complementary
#981EA6 #70A61E #1EA654
monochromatic
#390B3E #691572 #981EA6 #C629D8 #D45DE2

Accessibility & contrast

On white

6.84
#981EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#981EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #981EA6
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981EA6#FFFFFF#000000##FFFFFF
##981EA61.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#385FA3
Tritanopia (blue-blind)
#9A3B64
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #981ea6;
/* rgb */ color: rgb(152, 30, 166);
/* oklch */ color: oklch(49.8% 0.213 323.3);
Tailwind
colors: {
  custom: {
    50: '#ba6bc1',
    500: '#981ea6',
    950: '#000000',
  },
}
SCSS
$custom: #981ea6;
$custom-light: #ba6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#981ea6",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 293.824,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49807,
    "c": 0.21348,
    "h": 323.3
  },
  "luminance": 0.10357
}

Semantic roles & 50–950 ramp

primary
#981EA6
secondary
#65C65A
accent
#EC3C4E
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #981EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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