#983DB5#983DB5

#983DB5 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.5% C 0.193 H 317.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#983DB5
RGBrgb(152, 61, 181)
HSLhsl(286, 50%, 47%)
HSVhsv(286, 66%, 71%)
CMYKcmyk(16%, 66.3%, 0%, 29%)
CIE-LABlab(43.29, 55.84, -46.84)
CIE-LCHlch(43.29, 72.88, 320.01°)
OKLaboklab(53.53% 0.1407 -0.1314)
OKLCHoklch(53.53% 0.193 317)
XYZxyz(22.9569, 13.3500, 45.0746)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983DB5 #5AB53D
analogous
#5C3DB5 #983DB5 #B53D96
triadic
#983DB5 #B5983D #3DB598
tetradic
#983DB5 #B55C3D #5AB53D #3D96B5
square
#983DB5 #B55C3D #5AB53D #3D96B5
split-complementary
#983DB5 #96B53D #3DB55C
monochromatic
#4B1E59 #722E87 #983DB5 #B264CB #C992DA

Accessibility & contrast

On white

5.72
#983DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#983DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983DB5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983DB5#FFFFFF#000000##FFFFFF
##983DB51.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0761B9
Deuteranopia (green-blind)
#3F69B2
Tritanopia (blue-blind)
#975374
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #983db5;
/* rgb */ color: rgb(152, 61, 181);
/* oklch */ color: oklch(53.5% 0.193 317.0);
Tailwind
colors: {
  custom: {
    50: '#ba79cc',
    500: '#983db5',
    950: '#000000',
  },
}
SCSS
$custom: #983db5;
$custom-light: #ba79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#983db5",
  "rgb": {
    "r": 152,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 285.5,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53534,
    "c": 0.19254,
    "h": 317
  },
  "luminance": 0.13349
}

Semantic roles & 50–950 ramp

primary
#983DB5
secondary
#97C588
accent
#D94F70
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #983DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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