#983C8A#983C8A

#983C8A is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.0% C 0.155 H 334.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#983C8A
RGBrgb(152, 60, 138)
HSLhsl(309, 43%, 42%)
HSVhsv(309, 61%, 60%)
CMYKcmyk(0%, 60.5%, 9.2%, 40.4%)
CIE-LABlab(40.81, 48.28, -25.01)
CIE-LCHlch(40.81, 54.38, 332.61°)
OKLaboklab(50.98% 0.1395 -0.0681)
OKLCHoklch(50.98% 0.155 334)
XYZxyz(19.1523, 11.7435, 25.2978)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983C8A #3C984A
analogous
#783C98 #983C8A #983C5C
triadic
#983C8A #8A983C #3C8A98
tetradic
#983C8A #98783C #3C984A #3C5C98
square
#983C8A #98783C #3C984A #3C5C98
split-complementary
#983C8A #5C983C #3C9878
monochromatic
#40193A #6C2B62 #983C8A #BC55AC #CD81C2

Accessibility & contrast

On white

6.27
#983C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#983C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983C8A
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983C8A#FFFFFF#000000##FFFFFF
##983C8A1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B588C
Deuteranopia (green-blind)
#576588
Tritanopia (blue-blind)
#9F425D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #983c8a;
/* rgb */ color: rgb(152, 60, 138);
/* oklch */ color: oklch(51.0% 0.155 334.0);
Tailwind
colors: {
  custom: {
    50: '#b977ac',
    500: '#983c8a',
    950: '#000000',
  },
}
SCSS
$custom: #983c8a;
$custom-light: #b977ac;
$custom-dark: #000000;
JSON
{
  "hex": "#983c8a",
  "rgb": {
    "r": 152,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 309.13,
    "s": 43.396,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50982,
    "c": 0.15525,
    "h": 334
  },
  "luminance": 0.11742
}

Semantic roles & 50–950 ramp

primary
#983C8A
secondary
#79B782
accent
#D36855
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #983C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#983C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva