#983D8A#983D8A

#983D8A is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.1% C 0.154 H 334.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#983D8A
RGBrgb(152, 61, 138)
HSLhsl(309, 43%, 42%)
HSVhsv(309, 60%, 60%)
CMYKcmyk(0%, 59.9%, 9.2%, 40.4%)
CIE-LABlab(40.98, 47.82, -24.75)
CIE-LCHlch(40.98, 53.84, 332.64°)
OKLaboklab(51.11% 0.1381 -0.0674)
OKLCHoklch(51.11% 0.154 334)
XYZxyz(19.2052, 11.8493, 25.3155)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983D8A #3D984B
analogous
#793D98 #983D8A #983D5D
triadic
#983D8A #8A983D #3D8A98
tetradic
#983D8A #98793D #3D984B #3D5D98
square
#983D8A #98793D #3D984B #3D5D98
split-complementary
#983D8A #5D983D #3D9879
monochromatic
#411A3B #6C2B62 #983D8A #BB57AC #CD82C2

Accessibility & contrast

On white

6.23
#983D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#983D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983D8A
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983D8A#FFFFFF#000000##FFFFFF
##983D8A1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588C
Deuteranopia (green-blind)
#586588
Tritanopia (blue-blind)
#9F435E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #983d8a;
/* rgb */ color: rgb(152, 61, 138);
/* oklch */ color: oklch(51.1% 0.154 334.0);
Tailwind
colors: {
  custom: {
    50: '#b978ac',
    500: '#983d8a',
    950: '#000000',
  },
}
SCSS
$custom: #983d8a;
$custom-light: #b978ac;
$custom-dark: #000000;
JSON
{
  "hex": "#983d8a",
  "rgb": {
    "r": 152,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 309.231,
    "s": 42.723,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51107,
    "c": 0.15371,
    "h": 334
  },
  "luminance": 0.11848
}

Semantic roles & 50–950 ramp

primary
#983D8A
secondary
#7AB783
accent
#D36955
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #983D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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