#983AB5#983AB5

#983AB5 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.2% C 0.196 H 317.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#983AB5
RGBrgb(152, 58, 181)
HSLhsl(286, 51%, 47%)
HSVhsv(286, 68%, 71%)
CMYKcmyk(16%, 68%, 0%, 29%)
CIE-LABlab(42.82, 57.14, -47.58)
CIE-LCHlch(42.82, 74.36, 320.21°)
OKLaboklab(53.2% 0.1441 -0.1335)
OKLCHoklch(53.2% 0.196 317.2)
XYZxyz(22.8012, 13.0386, 45.0227)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983AB5 #57B53A
analogous
#5B3AB5 #983AB5 #B53A94
triadic
#983AB5 #B5983A #3AB598
tetradic
#983AB5 #B55B3A #57B53A #3A94B5
square
#983AB5 #B55B3A #57B53A #3A94B5
split-complementary
#983AB5 #94B53A #3AB55B
monochromatic
#4A1C58 #712B87 #983AB5 #B360CC #C98EDB

Accessibility & contrast

On white

5.82
#983AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#983AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983AB5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983AB5#FFFFFF#000000##FFFFFF
##983AB51.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB9
Deuteranopia (green-blind)
#3D68B2
Tritanopia (blue-blind)
#975173
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #983ab5;
/* rgb */ color: rgb(152, 58, 181);
/* oklch */ color: oklch(53.2% 0.196 317.2);
Tailwind
colors: {
  custom: {
    50: '#ba78cc',
    500: '#983ab5',
    950: '#000000',
  },
}
SCSS
$custom: #983ab5;
$custom-light: #ba78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#983ab5",
  "rgb": {
    "r": 152,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 285.854,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.532,
    "c": 0.19646,
    "h": 317.2
  },
  "luminance": 0.13038
}

Semantic roles & 50–950 ramp

primary
#983AB5
secondary
#94C685
accent
#DB4D6E
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120913
muted
#817B82

Preview Lab

Preview with #983AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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