#983AB4#983AB4

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

Color values

HEX#983AB4
RGBrgb(152, 58, 180)
HSLhsl(286, 51%, 47%)
HSVhsv(286, 68%, 71%)
CMYKcmyk(15.6%, 67.8%, 0%, 29.4%)
CIE-LABlab(42.76, 56.94, -47.09)
CIE-LCHlch(42.76, 73.89, 320.41°)
OKLaboklab(53.14% 0.1442 -0.1321)
OKLCHoklch(53.14% 0.196 317.5)
XYZxyz(22.6990, 12.9977, 44.4843)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983AB4 #56B43A
analogous
#5B3AB4 #983AB4 #B43A93
triadic
#983AB4 #B4983A #3AB498
tetradic
#983AB4 #B45B3A #56B43A #3A93B4
square
#983AB4 #B45B3A #56B43A #3A93B4
split-complementary
#983AB4 #93B43A #3AB45B
monochromatic
#4A1C57 #712B86 #983AB4 #B360CC #C98EDB

Accessibility & contrast

On white

5.83
#983AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#983AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983AB4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983AB4#FFFFFF#000000##FFFFFF
##983AB41.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#3E68B1
Tritanopia (blue-blind)
#975172
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #983ab4;
/* rgb */ color: rgb(152, 58, 180);
/* oklch */ color: oklch(53.1% 0.196 317.5);
Tailwind
colors: {
  custom: {
    50: '#ba78cb',
    500: '#983ab4',
    950: '#000000',
  },
}
SCSS
$custom: #983ab4;
$custom-light: #ba78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#983ab4",
  "rgb": {
    "r": 152,
    "g": 58,
    "b": 180
  },
  "hsl": {
    "h": 286.23,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53136,
    "c": 0.19553,
    "h": 317.5
  },
  "luminance": 0.12997
}

Semantic roles & 50–950 ramp

primary
#983AB4
secondary
#93C585
accent
#DB4D6E
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #983AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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