#983AC2#983AC2

#983AC2 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.1% C 0.209 H 313.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#983AC2
RGBrgb(152, 58, 194)
HSLhsl(281, 54%, 49%)
HSVhsv(281, 70%, 76%)
CMYKcmyk(21.6%, 70.1%, 0%, 23.9%)
CIE-LABlab(43.65, 59.78, -53.86)
CIE-LCHlch(43.65, 80.47, 317.98°)
OKLaboklab(54.06% 0.1431 -0.1519)
OKLCHoklch(54.06% 0.209 313.3)
XYZxyz(24.1979, 13.5973, 52.3783)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983AC2 #64C23A
analogous
#543AC2 #983AC2 #C23AA8
triadic
#983AC2 #C2983A #3AC298
tetradic
#983AC2 #C2543A #64C23A #3AA8C2
square
#983AC2 #C2543A #64C23A #3AA8C2
split-complementary
#983AC2 #A8C23A #3AC254
monochromatic
#4E1E64 #732C93 #983AC2 #B167D2 #C997E0

Accessibility & contrast

On white

5.65
#983AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#983AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983AC2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983AC2#FFFFFF#000000##FFFFFF
##983AC21.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#2F69BF
Tritanopia (blue-blind)
#94577A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #983ac2;
/* rgb */ color: rgb(152, 58, 194);
/* oklch */ color: oklch(54.1% 0.209 313.3);
Tailwind
colors: {
  custom: {
    50: '#ba78d5',
    500: '#983ac2',
    950: '#000000',
  },
}
SCSS
$custom: #983ac2;
$custom-light: #ba78d5;
$custom-dark: #000000;
JSON
{
  "hex": "#983ac2",
  "rgb": {
    "r": 152,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 281.471,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54057,
    "c": 0.20873,
    "h": 313.3
  },
  "luminance": 0.13597
}

Semantic roles & 50–950 ramp

primary
#983AC2
secondary
#A0CB8D
accent
#DD4A78
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #983AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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