#982CA7#982CA7

#982CA7 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 50.9% C 0.201 H 322.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#982CA7
RGBrgb(152, 44, 167)
HSLhsl(293, 58%, 41%)
HSVhsv(293, 74%, 65%)
CMYKcmyk(9%, 73.7%, 0%, 34.5%)
CIE-LABlab(40.03, 59.92, -43.75)
CIE-LCHlch(40.03, 74.20, 323.87°)
OKLaboklab(50.93% 0.1594 -0.1222)
OKLCHoklch(50.93% 0.201 322.5)
XYZxyz(20.8239, 11.2680, 37.6298)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CA7 #3BA72C
analogous
#5B2CA7 #982CA7 #A72C79
triadic
#982CA7 #A7982C #2CA798
tetradic
#982CA7 #A75B2C #3BA72C #2C79A7
square
#982CA7 #A75B2C #3BA72C #2C79A7
split-complementary
#982CA7 #79A72C #2CA75B
monochromatic
#401246 #6C1F77 #982CA7 #BD43CD #CE73DA

Accessibility & contrast

On white

6.45
#982CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#982CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982CA7
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982CA7#FFFFFF#000000##FFFFFF
##982CA71.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#3E62A4
Tritanopia (blue-blind)
#9A4367
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982ca7;
/* rgb */ color: rgb(152, 44, 167);
/* oklch */ color: oklch(50.9% 0.201 322.5);
Tailwind
colors: {
  custom: {
    50: '#ba70c2',
    500: '#982ca7',
    950: '#000000',
  },
}
SCSS
$custom: #982ca7;
$custom-light: #ba70c2;
$custom-dark: #000000;
JSON
{
  "hex": "#982ca7",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 292.683,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50926,
    "c": 0.20086,
    "h": 322.5
  },
  "luminance": 0.11267
}

Semantic roles & 50–950 ramp

primary
#982CA7
secondary
#77C26D
accent
#E24659
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #982CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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