#981A9D#981A9D

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

Color values

HEX#981A9D
RGBrgb(152, 26, 157)
HSLhsl(298, 72%, 36%)
HSVhsv(298, 83%, 62%)
CMYKcmyk(3.2%, 83.4%, 0%, 38.4%)
CIE-LABlab(37.57, 63.50, -41.67)
CIE-LCHlch(37.57, 75.95, 326.73°)
OKLaboklab(48.99% 0.1747 -0.116)
OKLCHoklch(48.99% 0.21 326.4)
XYZxyz(19.4037, 9.8499, 32.7710)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981A9D #1F9D1A
analogous
#561A9D #981A9D #9D1A60
triadic
#981A9D #9D981A #1A9D98
tetradic
#981A9D #9D561A #1F9D1A #1A609D
square
#981A9D #9D561A #1F9D1A #1A609D
split-complementary
#981A9D #609D1A #1A9D56
monochromatic
#320934 #651168 #981A9D #CB23D2 #DC4FE2

Accessibility & contrast

On white

7.07
#981A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#981A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981A9D
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981A9D#FFFFFF#000000##FFFFFF
##981A9D1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#3D5E9A
Tritanopia (blue-blind)
#9C345E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #981a9d;
/* rgb */ color: rgb(152, 26, 157);
/* oklch */ color: oklch(49.0% 0.210 326.4);
Tailwind
colors: {
  custom: {
    50: '#ba69ba',
    500: '#981a9d',
    950: '#000000',
  },
}
SCSS
$custom: #981a9d;
$custom-light: #ba69ba;
$custom-dark: #000000;
JSON
{
  "hex": "#981a9d",
  "rgb": {
    "r": 152,
    "g": 26,
    "b": 157
  },
  "hsl": {
    "h": 297.71,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48985,
    "c": 0.20972,
    "h": 326.4
  },
  "luminance": 0.09849
}

Semantic roles & 50–950 ramp

primary
#981A9D
secondary
#53C44E
accent
#EE3940
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #981A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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