#983E8A#983E8A

#983E8A is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.2% C 0.152 H 334.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#983E8A
RGBrgb(152, 62, 138)
HSLhsl(309, 42%, 42%)
HSVhsv(309, 59%, 60%)
CMYKcmyk(0%, 59.2%, 9.2%, 40.4%)
CIE-LABlab(41.15, 47.35, -24.48)
CIE-LCHlch(41.15, 53.30, 332.66°)
OKLaboklab(51.23% 0.1368 -0.0666)
OKLCHoklch(51.23% 0.152 334)
XYZxyz(19.2590, 11.9571, 25.3334)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983E8A #3E984C
analogous
#793E98 #983E8A #983E5D
triadic
#983E8A #8A983E #3E8A98
tetradic
#983E8A #98793E #3E984C #3E5D98
square
#983E8A #98793E #3E984C #3E5D98
split-complementary
#983E8A #5D983E #3E9879
monochromatic
#411B3B #6D2C63 #983E8A #BB58AC #CD84C1

Accessibility & contrast

On white

6.19
#983E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#983E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983E8A
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983E8A#FFFFFF#000000##FFFFFF
##983E8A1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598C
Deuteranopia (green-blind)
#596688
Tritanopia (blue-blind)
#9F445E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #983e8a;
/* rgb */ color: rgb(152, 62, 138);
/* oklch */ color: oklch(51.2% 0.152 334.0);
Tailwind
colors: {
  custom: {
    50: '#b978ac',
    500: '#983e8a',
    950: '#000000',
  },
}
SCSS
$custom: #983e8a;
$custom-light: #b978ac;
$custom-dark: #000000;
JSON
{
  "hex": "#983e8a",
  "rgb": {
    "r": 152,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 309.333,
    "s": 42.056,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51233,
    "c": 0.15215,
    "h": 334
  },
  "luminance": 0.11956
}

Semantic roles & 50–950 ramp

primary
#983E8A
secondary
#7BB784
accent
#D26956
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #983E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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