#983A8D#983A8D

#983A8D is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.9% C 0.161 H 332.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#983A8D
RGBrgb(152, 58, 141)
HSLhsl(307, 45%, 41%)
HSVhsv(307, 62%, 60%)
CMYKcmyk(0%, 61.8%, 7.2%, 40.4%)
CIE-LABlab(40.62, 49.70, -27.14)
CIE-LCHlch(40.62, 56.62, 331.36°)
OKLaboklab(50.89% 0.1426 -0.0742)
OKLCHoklch(50.89% 0.161 332.5)
XYZxyz(19.2697, 11.6260, 26.4233)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983A8D #3A9845
analogous
#743A98 #983A8D #983A5E
triadic
#983A8D #8D983A #3A8D98
tetradic
#983A8D #98743A #3A9845 #3A5E98
square
#983A8D #98743A #3A9845 #3A5E98
split-complementary
#983A8D #5E983A #3A9874
monochromatic
#3F183B #6C2964 #983A8D #BD52B1 #CE7EC5

Accessibility & contrast

On white

6.32
#983A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#983A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983A8D
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983A8D#FFFFFF#000000##FFFFFF
##983A8D1.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375790
Deuteranopia (green-blind)
#55658B
Tritanopia (blue-blind)
#9E425E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #983a8d;
/* rgb */ color: rgb(152, 58, 141);
/* oklch */ color: oklch(50.9% 0.161 332.5);
Tailwind
colors: {
  custom: {
    50: '#b976ae',
    500: '#983a8d',
    950: '#000000',
  },
}
SCSS
$custom: #983a8d;
$custom-light: #b976ae;
$custom-dark: #000000;
JSON
{
  "hex": "#983a8d",
  "rgb": {
    "r": 152,
    "g": 58,
    "b": 141
  },
  "hsl": {
    "h": 307.021,
    "s": 44.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5089,
    "c": 0.16073,
    "h": 332.5
  },
  "luminance": 0.11625
}

Semantic roles & 50–950 ramp

primary
#983A8D
secondary
#76B87E
accent
#D46253
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #983A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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