#982DC1#982DC1

#982DC1 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.8% C 0.222 H 314.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#982DC1
RGBrgb(152, 45, 193)
HSLhsl(283, 62%, 47%)
HSVhsv(283, 77%, 76%)
CMYKcmyk(21.2%, 76.7%, 0%, 24.3%)
CIE-LABlab(41.85, 64.52, -56.18)
CIE-LCHlch(41.85, 85.55, 318.95°)
OKLaboklab(52.76% 0.1555 -0.1587)
OKLCHoklch(52.76% 0.222 314.4)
XYZxyz(23.5113, 12.4033, 51.5973)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DC1 #56C12D
analogous
#4E2DC1 #982DC1 #C12DA0
triadic
#982DC1 #C1982D #2DC198
tetradic
#982DC1 #C14E2D #56C12D #2DA0C1
square
#982DC1 #C14E2D #56C12D #2DA0C1
split-complementary
#982DC1 #A0C12D #2DC14E
monochromatic
#4A165E #71218F #982DC1 #B354D7 #C986E3

Accessibility & contrast

On white

6.03
#982DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#982DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982DC1
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982DC1#FFFFFF#000000##FFFFFF
##982DC11.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#2265BE
Tritanopia (blue-blind)
#944F76
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #982dc1;
/* rgb */ color: rgb(152, 45, 193);
/* oklch */ color: oklch(52.8% 0.222 314.4);
Tailwind
colors: {
  custom: {
    50: '#bb72d5',
    500: '#982dc1',
    950: '#000000',
  },
}
SCSS
$custom: #982dc1;
$custom-light: #bb72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#982dc1",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 193
  },
  "hsl": {
    "h": 283.378,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.52759,
    "c": 0.22218,
    "h": 314.4
  },
  "luminance": 0.12402
}

Semantic roles & 50–950 ramp

primary
#982DC1
secondary
#93CC7E
accent
#E54370
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #982DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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