#982CA5#982CA5

#982CA5 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.199 H 323.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#982CA5
RGBrgb(152, 44, 165)
HSLhsl(294, 58%, 41%)
HSVhsv(294, 73%, 65%)
CMYKcmyk(7.9%, 73.3%, 0%, 35.3%)
CIE-LABlab(39.91, 59.56, -42.75)
CIE-LCHlch(39.91, 73.32, 324.33°)
OKLaboklab(50.8% 0.1595 -0.1193)
OKLCHoklch(50.8% 0.199 323.2)
XYZxyz(20.6405, 11.1946, 36.6636)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CA5 #39A52C
analogous
#5B2CA5 #982CA5 #A52C75
triadic
#982CA5 #A5982C #2CA598
tetradic
#982CA5 #A55B2C #39A52C #2C75A5
square
#982CA5 #A55B2C #39A52C #2C75A5
split-complementary
#982CA5 #75A52C #2CA55B
monochromatic
#3F1244 #6B1F75 #982CA5 #BE42CD #CE72D9

Accessibility & contrast

On white

6.48
#982CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#982CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982CA5
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982CA5#FFFFFF#000000##FFFFFF
##982CA51.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#4062A2
Tritanopia (blue-blind)
#9A4266
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982ca5;
/* rgb */ color: rgb(152, 44, 165);
/* oklch */ color: oklch(50.8% 0.199 323.2);
Tailwind
colors: {
  custom: {
    50: '#ba70c0',
    500: '#982ca5',
    950: '#000000',
  },
}
SCSS
$custom: #982ca5;
$custom-light: #ba70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#982ca5",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 293.554,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.508,
    "c": 0.19919,
    "h": 323.2
  },
  "luminance": 0.11193
}

Semantic roles & 50–950 ramp

primary
#982CA5
secondary
#75C16C
accent
#E14757
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982CA5

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

Preview Lab → · Contrast checker → · Palette generator →

#982CA5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva