#983CA4#983CA4

#983CA4 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.4% C 0.178 H 322.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#983CA4
RGBrgb(152, 60, 164)
HSLhsl(293, 46%, 44%)
HSVhsv(293, 63%, 64%)
CMYKcmyk(7.3%, 63.4%, 0%, 35.7%)
CIE-LABlab(42.14, 52.95, -38.60)
CIE-LCHlch(42.14, 65.53, 323.91°)
OKLaboklab(52.39% 0.142 -0.1073)
OKLCHoklch(52.39% 0.178 322.9)
XYZxyz(21.2649, 12.5886, 36.4245)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983CA4 #48A43C
analogous
#643CA4 #983CA4 #A43C7C
triadic
#983CA4 #A4983C #3CA498
tetradic
#983CA4 #A4643C #48A43C #3C7CA4
square
#983CA4 #A4643C #48A43C #3C7CA4
split-complementary
#983CA4 #7CA43C #3CA464
monochromatic
#451B4A #6E2C77 #983CA4 #B75AC3 #CA87D3

Accessibility & contrast

On white

5.97
#983CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#983CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983CA4
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983CA4#FFFFFF#000000##FFFFFF
##983CA41.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265DA7
Deuteranopia (green-blind)
#4B67A1
Tritanopia (blue-blind)
#9A4C6A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #983ca4;
/* rgb */ color: rgb(152, 60, 164);
/* oklch */ color: oklch(52.4% 0.178 322.9);
Tailwind
colors: {
  custom: {
    50: '#b978bf',
    500: '#983ca4',
    950: '#000000',
  },
}
SCSS
$custom: #983ca4;
$custom-light: #b978bf;
$custom-dark: #000000;
JSON
{
  "hex": "#983ca4",
  "rgb": {
    "r": 152,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 293.077,
    "s": 46.429,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52385,
    "c": 0.17798,
    "h": 322.9
  },
  "luminance": 0.12587
}

Semantic roles & 50–950 ramp

primary
#983CA4
secondary
#86BD7E
accent
#D65261
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #983CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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