#983EA4#983EA4

#983EA4 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.6% C 0.175 H 322.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#983EA4
RGBrgb(152, 62, 164)
HSLhsl(293, 45%, 44%)
HSVhsv(293, 62%, 64%)
CMYKcmyk(7.3%, 62.2%, 0%, 35.7%)
CIE-LABlab(42.46, 52.05, -38.08)
CIE-LCHlch(42.46, 64.49, 323.81°)
OKLaboklab(52.62% 0.1395 -0.1058)
OKLCHoklch(52.62% 0.175 322.8)
XYZxyz(21.3717, 12.8021, 36.4601)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983EA4 #4AA43E
analogous
#653EA4 #983EA4 #A43E7D
triadic
#983EA4 #A4983E #3EA498
tetradic
#983EA4 #A4653E #4AA43E #3E7DA4
square
#983EA4 #A4653E #4AA43E #3E7DA4
split-complementary
#983EA4 #7DA43E #3EA465
monochromatic
#461C4B #6F2D78 #983EA4 #B65DC2 #CA8AD3

Accessibility & contrast

On white

5.90
#983EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#983EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983EA4
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983EA4#FFFFFF#000000##FFFFFF
##983EA41.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295DA7
Deuteranopia (green-blind)
#4C68A1
Tritanopia (blue-blind)
#9A4D6B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #983ea4;
/* rgb */ color: rgb(152, 62, 164);
/* oklch */ color: oklch(52.6% 0.175 322.8);
Tailwind
colors: {
  custom: {
    50: '#b979bf',
    500: '#983ea4',
    950: '#000000',
  },
}
SCSS
$custom: #983ea4;
$custom-light: #b979bf;
$custom-dark: #000000;
JSON
{
  "hex": "#983ea4",
  "rgb": {
    "r": 152,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 292.941,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52622,
    "c": 0.17511,
    "h": 322.8
  },
  "luminance": 0.12801
}

Semantic roles & 50–950 ramp

primary
#983EA4
secondary
#88BD81
accent
#D55362
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #983EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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