#982CA4#982CA4

#982CA4 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.198 H 323.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#982CA4
RGBrgb(152, 44, 164)
HSLhsl(294, 58%, 41%)
HSVhsv(294, 73%, 64%)
CMYKcmyk(7.3%, 73.2%, 0%, 35.7%)
CIE-LABlab(39.85, 59.38, -42.25)
CIE-LCHlch(39.85, 72.88, 324.57°)
OKLaboklab(50.74% 0.1596 -0.1178)
OKLCHoklch(50.74% 0.198 323.6)
XYZxyz(20.5498, 11.1583, 36.1861)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CA4 #38A42C
analogous
#5C2CA4 #982CA4 #A42C74
triadic
#982CA4 #A4982C #2CA498
tetradic
#982CA4 #A45C2C #38A42C #2C74A4
square
#982CA4 #A45C2C #38A42C #2C74A4
split-complementary
#982CA4 #74A42C #2CA45C
monochromatic
#3F1243 #6B1F74 #982CA4 #BE41CC #CF71D9

Accessibility & contrast

On white

6.50
#982CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#982CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982CA4
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982CA4#FFFFFF#000000##FFFFFF
##982CA41.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#4162A1
Tritanopia (blue-blind)
#9B4166
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982ca4;
/* rgb */ color: rgb(152, 44, 164);
/* oklch */ color: oklch(50.7% 0.198 323.6);
Tailwind
colors: {
  custom: {
    50: '#ba70bf',
    500: '#982ca4',
    950: '#000000',
  },
}
SCSS
$custom: #982ca4;
$custom-light: #ba70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#982ca4",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 294,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50738,
    "c": 0.19835,
    "h": 323.6
  },
  "luminance": 0.11157
}

Semantic roles & 50–950 ramp

primary
#982CA4
secondary
#74C06B
accent
#E14756
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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