#983FA5#983FA5

#983FA5 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.8% C 0.175 H 322.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#983FA5
RGBrgb(152, 63, 165)
HSLhsl(292, 45%, 45%)
HSVhsv(292, 62%, 65%)
CMYKcmyk(7.9%, 61.8%, 0%, 35.3%)
CIE-LABlab(42.68, 51.78, -38.33)
CIE-LCHlch(42.68, 64.42, 323.49°)
OKLaboklab(52.8% 0.1383 -0.1066)
OKLCHoklch(52.8% 0.175 322.4)
XYZxyz(21.5172, 12.9481, 36.9559)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983FA5 #4CA53F
analogous
#653FA5 #983FA5 #A53F7F
triadic
#983FA5 #A5983F #3FA598
tetradic
#983FA5 #A5653F #4CA53F #3F7FA5
square
#983FA5 #A5653F #4CA53F #3F7FA5
split-complementary
#983FA5 #7FA53F #3FA565
monochromatic
#461D4C #6F2E79 #983FA5 #B55FC2 #CA8CD3

Accessibility & contrast

On white

5.85
#983FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#983FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983FA5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983FA5#FFFFFF#000000##FFFFFF
##983FA51.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA8
Deuteranopia (green-blind)
#4C68A2
Tritanopia (blue-blind)
#9A4F6C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #983fa5;
/* rgb */ color: rgb(152, 63, 165);
/* oklch */ color: oklch(52.8% 0.175 322.4);
Tailwind
colors: {
  custom: {
    50: '#b97ac0',
    500: '#983fa5',
    950: '#000000',
  },
}
SCSS
$custom: #983fa5;
$custom-light: #b97ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#983fa5",
  "rgb": {
    "r": 152,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 292.353,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52801,
    "c": 0.17459,
    "h": 322.4
  },
  "luminance": 0.12947
}

Semantic roles & 50–950 ramp

primary
#983FA5
secondary
#8ABE82
accent
#D45364
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #983FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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