#982CA0#982CA0

#982CA0 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.195 H 325.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#982CA0
RGBrgb(152, 44, 160)
HSLhsl(296, 57%, 40%)
HSVhsv(296, 73%, 63%)
CMYKcmyk(5%, 72.5%, 0%, 37.3%)
CIE-LABlab(39.61, 58.67, -40.23)
CIE-LCHlch(39.61, 71.13, 325.56°)
OKLaboklab(50.49% 0.1597 -0.1119)
OKLCHoklch(50.49% 0.195 325)
XYZxyz(20.1943, 11.0161, 34.3136)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CA0 #34A02C
analogous
#5E2CA0 #982CA0 #A02C6E
triadic
#982CA0 #A0982C #2CA098
tetradic
#982CA0 #A05E2C #34A02C #2C6EA0
square
#982CA0 #A05E2C #34A02C #2C6EA0
split-complementary
#982CA0 #6EA02C #2CA05E
monochromatic
#3D1240 #6A1F70 #982CA0 #C13FCA #D06FD7

Accessibility & contrast

On white

6.56
#982CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#982CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982CA0
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982CA0#FFFFFF#000000##FFFFFF
##982CA01.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0855A3
Deuteranopia (green-blind)
#43629D
Tritanopia (blue-blind)
#9B4063
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982ca0;
/* rgb */ color: rgb(152, 44, 160);
/* oklch */ color: oklch(50.5% 0.195 325.0);
Tailwind
colors: {
  custom: {
    50: '#ba70bc',
    500: '#982ca0',
    950: '#000000',
  },
}
SCSS
$custom: #982ca0;
$custom-light: #ba70bc;
$custom-dark: #000000;
JSON
{
  "hex": "#982ca0",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 295.862,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.50491,
    "c": 0.19502,
    "h": 325
  },
  "luminance": 0.11015
}

Semantic roles & 50–950 ramp

primary
#982CA0
secondary
#6FBF69
accent
#E04852
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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