#983F8A#983F8A

#983F8A is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.4% C 0.151 H 334.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#983F8A
RGBrgb(152, 63, 138)
HSLhsl(309, 41%, 42%)
HSVhsv(309, 59%, 60%)
CMYKcmyk(0%, 58.6%, 9.2%, 40.4%)
CIE-LABlab(41.32, 46.88, -24.21)
CIE-LCHlch(41.32, 52.76, 332.69°)
OKLaboklab(51.36% 0.1354 -0.0659)
OKLCHoklch(51.36% 0.151 334.1)
XYZxyz(19.3139, 12.0668, 25.3517)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983F8A #3F984D
analogous
#793F98 #983F8A #983F5E
triadic
#983F8A #8A983F #3F8A98
tetradic
#983F8A #98793F #3F984D #3F5E98
square
#983F8A #98793F #3F984D #3F5E98
split-complementary
#983F8A #5E983F #3F9879
monochromatic
#411B3B #6D2D63 #983F8A #BA5AAB #CC85C1

Accessibility & contrast

On white

6.15
#983F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#983F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983F8A
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983F8A#FFFFFF#000000##FFFFFF
##983F8A1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #983f8a;
/* rgb */ color: rgb(152, 63, 138);
/* oklch */ color: oklch(51.4% 0.151 334.1);
Tailwind
colors: {
  custom: {
    50: '#b979ac',
    500: '#983f8a',
    950: '#000000',
  },
}
SCSS
$custom: #983f8a;
$custom-light: #b979ac;
$custom-dark: #000000;
JSON
{
  "hex": "#983f8a",
  "rgb": {
    "r": 152,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 309.438,
    "s": 41.395,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51361,
    "c": 0.15058,
    "h": 334.1
  },
  "luminance": 0.12065
}

Semantic roles & 50–950 ramp

primary
#983F8A
secondary
#7CB785
accent
#D16A57
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #983F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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