#981E9C#981E9C

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

Color values

HEX#981E9C
RGBrgb(152, 30, 156)
HSLhsl(298, 68%, 36%)
HSVhsv(298, 81%, 61%)
CMYKcmyk(2.6%, 80.8%, 0%, 38.8%)
CIE-LABlab(37.85, 62.34, -40.61)
CIE-LCHlch(37.85, 74.40, 326.92°)
OKLaboklab(49.16% 0.172 -0.113)
OKLCHoklch(49.16% 0.206 326.7)
XYZxyz(19.4136, 10.0056, 32.3548)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E9C #229C1E
analogous
#591E9C #981E9C #9C1E61
triadic
#981E9C #9C981E #1E9C98
tetradic
#981E9C #9C591E #229C1E #1E619C
square
#981E9C #9C591E #229C1E #1E619C
split-complementary
#981E9C #619C1E #1E9C59
monochromatic
#340A35 #661469 #981E9C #CA28CF #DA56DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##981E9C#FFFFFF#000000##FFFFFF
##981E9C1.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)
#004F9F
Deuteranopia (green-blind)
#405E99
Tritanopia (blue-blind)
#9C365E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #981e9c;
/* rgb */ color: rgb(152, 30, 156);
/* oklch */ color: oklch(49.2% 0.206 326.7);
Tailwind
colors: {
  custom: {
    50: '#ba6aba',
    500: '#981e9c',
    950: '#000000',
  },
}
SCSS
$custom: #981e9c;
$custom-light: #ba6aba;
$custom-dark: #000000;
JSON
{
  "hex": "#981e9c",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 156
  },
  "hsl": {
    "h": 298.095,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49164,
    "c": 0.20577,
    "h": 326.7
  },
  "luminance": 0.10004
}

Semantic roles & 50–950 ramp

primary
#981E9C
secondary
#57C254
accent
#EB3D43
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #981E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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