#982CA3#982CA3

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

Color values

HEX#982CA3
RGBrgb(152, 44, 163)
HSLhsl(294, 57%, 41%)
HSVhsv(294, 73%, 64%)
CMYKcmyk(6.7%, 73%, 0%, 36.1%)
CIE-LABlab(39.79, 59.20, -41.74)
CIE-LCHlch(39.79, 72.44, 324.81°)
OKLaboklab(50.68% 0.1596 -0.1164)
OKLCHoklch(50.68% 0.198 323.9)
XYZxyz(20.4599, 11.1224, 35.7124)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CA3 #37A32C
analogous
#5C2CA3 #982CA3 #A32C72
triadic
#982CA3 #A3982C #2CA398
tetradic
#982CA3 #A35C2C #37A32C #2C72A3
square
#982CA3 #A35C2C #37A32C #2C72A3
split-complementary
#982CA3 #72A32C #2CA35C
monochromatic
#3E1243 #6B1F73 #982CA3 #BF41CC #CF71D9

Accessibility & contrast

On white

6.51
#982CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#982CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982CA3
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982CA3#FFFFFF#000000##FFFFFF
##982CA31.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A6
Deuteranopia (green-blind)
#4162A0
Tritanopia (blue-blind)
#9B4165
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982ca3;
/* rgb */ color: rgb(152, 44, 163);
/* oklch */ color: oklch(50.7% 0.198 323.9);
Tailwind
colors: {
  custom: {
    50: '#ba70bf',
    500: '#982ca3',
    950: '#000000',
  },
}
SCSS
$custom: #982ca3;
$custom-light: #ba70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#982ca3",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 294.454,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50675,
    "c": 0.19751,
    "h": 323.9
  },
  "luminance": 0.11121
}

Semantic roles & 50–950 ramp

primary
#982CA3
secondary
#73C06B
accent
#E14755
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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