#981C9F#981C9F

#981C9F is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.210 H 325.7°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#981C9F
RGBrgb(152, 28, 159)
HSLhsl(297, 70%, 37%)
HSVhsv(297, 82%, 62%)
CMYKcmyk(4.4%, 82.4%, 0%, 37.6%)
CIE-LABlab(37.86, 63.35, -42.41)
CIE-LCHlch(37.86, 76.23, 326.20°)
OKLaboklab(49.23% 0.1732 -0.1182)
OKLCHoklch(49.23% 0.21 325.7)
XYZxyz(19.6217, 10.0105, 33.6929)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C9F #239F1C
analogous
#571C9F #981C9F #9F1C65
triadic
#981C9F #9F981C #1C9F98
tetradic
#981C9F #9F571C #239F1C #1C659F
square
#981C9F #9F571C #239F1C #1C659F
split-complementary
#981C9F #659F1C #1C9F57
monochromatic
#350A37 #66136B #981C9F #CA25D3 #D954E1

Accessibility & contrast

On white

7.00
#981C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#981C9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #981C9F
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C9F#FFFFFF#000000##FFFFFF
##981C9F1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#3D5E9C
Tritanopia (blue-blind)
#9C365F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #981c9f;
/* rgb */ color: rgb(152, 28, 159);
/* oklch */ color: oklch(49.2% 0.210 325.7);
Tailwind
colors: {
  custom: {
    50: '#ba6abc',
    500: '#981c9f',
    950: '#000000',
  },
}
SCSS
$custom: #981c9f;
$custom-light: #ba6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#981c9f",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 296.794,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4923,
    "c": 0.20969,
    "h": 325.7
  },
  "luminance": 0.10009
}

Semantic roles & 50–950 ramp

primary
#981C9F
secondary
#59C453
accent
#ED3B44
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #981C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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