#981A9E#981A9E

#981A9E is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.210 H 326.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#981A9E
RGBrgb(152, 26, 158)
HSLhsl(297, 72%, 36%)
HSVhsv(297, 84%, 62%)
CMYKcmyk(3.8%, 83.5%, 0%, 38%)
CIE-LABlab(37.63, 63.66, -42.17)
CIE-LCHlch(37.63, 76.36, 326.48°)
OKLaboklab(49.05% 0.1746 -0.1175)
OKLCHoklch(49.05% 0.21 326.1)
XYZxyz(19.4895, 9.8842, 33.2225)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981A9E #209E1A
analogous
#561A9E #981A9E #9E1A62
triadic
#981A9E #9E981A #1A9E98
tetradic
#981A9E #9E561A #209E1A #1A629E
square
#981A9E #9E561A #209E1A #1A629E
split-complementary
#981A9E #629E1A #1A9E56
monochromatic
#330935 #651169 #981A9E #CB23D3 #DC50E2

Accessibility & contrast

On white

7.06
#981A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#981A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981A9E
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981A9E#FFFFFF#000000##FFFFFF
##981A9E1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#3D5E9B
Tritanopia (blue-blind)
#9C355E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #981a9e;
/* rgb */ color: rgb(152, 26, 158);
/* oklch */ color: oklch(49.0% 0.210 326.1);
Tailwind
colors: {
  custom: {
    50: '#ba69bb',
    500: '#981a9e',
    950: '#000000',
  },
}
SCSS
$custom: #981a9e;
$custom-light: #ba69bb;
$custom-dark: #000000;
JSON
{
  "hex": "#981a9e",
  "rgb": {
    "r": 152,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 297.273,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49049,
    "c": 0.21047,
    "h": 326.1
  },
  "luminance": 0.09883
}

Semantic roles & 50–950 ramp

primary
#981A9E
secondary
#54C54F
accent
#EE3942
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #981A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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