#983CB5#983CB5

#983CB5 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.4% C 0.194 H 317.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#983CB5
RGBrgb(152, 60, 181)
HSLhsl(286, 50%, 47%)
HSVhsv(286, 67%, 71%)
CMYKcmyk(16%, 66.9%, 0%, 29%)
CIE-LABlab(43.13, 56.28, -47.09)
CIE-LCHlch(43.13, 73.38, 320.08°)
OKLaboklab(53.42% 0.1419 -0.1321)
OKLCHoklch(53.42% 0.194 317)
XYZxyz(22.9040, 13.2442, 45.0570)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983CB5 #59B53C
analogous
#5C3CB5 #983CB5 #B53C95
triadic
#983CB5 #B5983C #3CB598
tetradic
#983CB5 #B55C3C #59B53C #3C95B5
square
#983CB5 #B55C3C #59B53C #3C95B5
split-complementary
#983CB5 #95B53C #3CB55C
monochromatic
#4B1E59 #712D87 #983CB5 #B263CB #C991DB

Accessibility & contrast

On white

5.76
#983CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#983CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983CB5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983CB5#FFFFFF#000000##FFFFFF
##983CB51.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #983cb5;
/* rgb */ color: rgb(152, 60, 181);
/* oklch */ color: oklch(53.4% 0.194 317.0);
Tailwind
colors: {
  custom: {
    50: '#ba79cc',
    500: '#983cb5',
    950: '#000000',
  },
}
SCSS
$custom: #983cb5;
$custom-light: #ba79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#983cb5",
  "rgb": {
    "r": 152,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 285.62,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53421,
    "c": 0.19386,
    "h": 317
  },
  "luminance": 0.13243
}

Semantic roles & 50–950 ramp

primary
#983CB5
secondary
#96C687
accent
#DA4E70
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120913
muted
#817B82

Preview Lab

Preview with #983CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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