#981F91#981F91

#981F91 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.6% C 0.197 H 330.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#981F91
RGBrgb(152, 31, 145)
HSLhsl(303, 66%, 36%)
HSVhsv(303, 80%, 60%)
CMYKcmyk(0%, 79.6%, 4.6%, 40.4%)
CIE-LABlab(37.30, 60.28, -34.80)
CIE-LCHlch(37.30, 69.60, 330.01°)
OKLaboklab(48.56% 0.1716 -0.0961)
OKLCHoklch(48.56% 0.197 330.8)
XYZxyz(18.5497, 9.7012, 27.6781)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F91 #1F9826
analogous
#621F98 #981F91 #981F54
triadic
#981F91 #91981F #1F9198
tetradic
#981F91 #98621F #1F9826 #1F5498
square
#981F91 #98621F #1F9826 #1F5498
split-complementary
#981F91 #54981F #1F9862
monochromatic
#320A30 #651561 #981F91 #CB29C1 #DC55D5

Accessibility & contrast

On white

7.14
#981F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#981F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F91
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F91#FFFFFF#000000##FFFFFF
##981F911.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4D94
Deuteranopia (green-blind)
#475D8E
Tritanopia (blue-blind)
#9E3058
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #981f91;
/* rgb */ color: rgb(152, 31, 145);
/* oklch */ color: oklch(48.6% 0.197 330.8);
Tailwind
colors: {
  custom: {
    50: '#ba6ab2',
    500: '#981f91',
    950: '#000000',
  },
}
SCSS
$custom: #981f91;
$custom-light: #ba6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#981f91",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 303.471,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48564,
    "c": 0.19664,
    "h": 330.8
  },
  "luminance": 0.097
}

Semantic roles & 50–950 ramp

primary
#981F91
secondary
#53C059
accent
#E9493F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #981F91

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

Preview Lab → · Contrast checker → · Palette generator →

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