#981A9F#981A9F

#981A9F is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.1% C 0.211 H 325.7°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#981A9F
RGBrgb(152, 26, 159)
HSLhsl(297, 72%, 36%)
HSVhsv(297, 84%, 62%)
CMYKcmyk(4.4%, 83.6%, 0%, 37.6%)
CIE-LABlab(37.70, 63.83, -42.68)
CIE-LCHlch(37.70, 76.78, 326.23°)
OKLaboklab(49.11% 0.1745 -0.119)
OKLCHoklch(49.11% 0.211 325.7)
XYZxyz(19.5759, 9.9188, 33.6776)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981A9F #219F1A
analogous
#561A9F #981A9F #9F1A64
triadic
#981A9F #9F981A #1A9F98
tetradic
#981A9F #9F561A #219F1A #1A649F
square
#981A9F #9F561A #219F1A #1A649F
split-complementary
#981A9F #649F1A #1A9F56
monochromatic
#330936 #66116A #981A9F #CA23D4 #DB51E3

Accessibility & contrast

On white

7.04
#981A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981A9F
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981A9F#FFFFFF#000000##FFFFFF
##981A9F1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#3C5E9C
Tritanopia (blue-blind)
#9C355F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #981a9f;
/* rgb */ color: rgb(152, 26, 159);
/* oklch */ color: oklch(49.1% 0.211 325.7);
Tailwind
colors: {
  custom: {
    50: '#ba69bc',
    500: '#981a9f',
    950: '#000000',
  },
}
SCSS
$custom: #981a9f;
$custom-light: #ba69bc;
$custom-dark: #000000;
JSON
{
  "hex": "#981a9f",
  "rgb": {
    "r": 152,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 296.842,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49113,
    "c": 0.21122,
    "h": 325.7
  },
  "luminance": 0.09917
}

Semantic roles & 50–950 ramp

primary
#981A9F
secondary
#56C550
accent
#EF3943
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #981A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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