#982CA1#982CA1

#982CA1 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.196 H 324.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#982CA1
RGBrgb(152, 44, 161)
HSLhsl(295, 57%, 40%)
HSVhsv(295, 73%, 63%)
CMYKcmyk(5.6%, 72.7%, 0%, 36.9%)
CIE-LABlab(39.67, 58.84, -40.73)
CIE-LCHlch(39.67, 71.57, 325.31°)
OKLaboklab(50.55% 0.1597 -0.1134)
OKLCHoklch(50.55% 0.196 324.6)
XYZxyz(20.2821, 11.0513, 34.7761)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CA1 #35A12C
analogous
#5E2CA1 #982CA1 #A12C6F
triadic
#982CA1 #A1982C #2CA198
tetradic
#982CA1 #A15E2C #35A12C #2C6FA1
square
#982CA1 #A15E2C #35A12C #2C6FA1
split-complementary
#982CA1 #6FA12C #2CA15E
monochromatic
#3D1241 #6B1F71 #982CA1 #C040CB #D070D8

Accessibility & contrast

On white

6.54
#982CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#982CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982CA1
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982CA1#FFFFFF#000000##FFFFFF
##982CA11.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0455A4
Deuteranopia (green-blind)
#43629E
Tritanopia (blue-blind)
#9B4064
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982ca1;
/* rgb */ color: rgb(152, 44, 161);
/* oklch */ color: oklch(50.6% 0.196 324.6);
Tailwind
colors: {
  custom: {
    50: '#ba70bd',
    500: '#982ca1',
    950: '#000000',
  },
}
SCSS
$custom: #982ca1;
$custom-light: #ba70bd;
$custom-dark: #000000;
JSON
{
  "hex": "#982ca1",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 295.385,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50552,
    "c": 0.19585,
    "h": 324.6
  },
  "luminance": 0.1105
}

Semantic roles & 50–950 ramp

primary
#982CA1
secondary
#70BF6A
accent
#E04753
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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