#982DC3#982DC3

#982DC3 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.224 H 313.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#982DC3
RGBrgb(152, 45, 195)
HSLhsl(283, 63%, 47%)
HSVhsv(283, 77%, 76%)
CMYKcmyk(22.1%, 76.9%, 0%, 23.5%)
CIE-LABlab(41.99, 64.91, -57.13)
CIE-LCHlch(41.99, 86.47, 318.65°)
OKLaboklab(52.9% 0.1552 -0.1614)
OKLCHoklch(52.9% 0.224 313.9)
XYZxyz(23.7359, 12.4931, 52.7803)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DC3 #58C32D
analogous
#4D2DC3 #982DC3 #C32DA3
triadic
#982DC3 #C3982D #2DC398
tetradic
#982DC3 #C34D2D #58C32D #2DA3C3
square
#982DC3 #C34D2D #58C32D #2DA3C3
split-complementary
#982DC3 #A3C32D #2DC34D
monochromatic
#4A1660 #712291 #982DC3 #B255D8 #C987E3

Accessibility & contrast

On white

6.00
#982DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#982DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982DC3
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982DC3#FFFFFF#000000##FFFFFF
##982DC31.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#1F65C0
Tritanopia (blue-blind)
#945077
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #982dc3;
/* rgb */ color: rgb(152, 45, 195);
/* oklch */ color: oklch(52.9% 0.224 313.9);
Tailwind
colors: {
  custom: {
    50: '#bb72d6',
    500: '#982dc3',
    950: '#000000',
  },
}
SCSS
$custom: #982dc3;
$custom-light: #bb72d6;
$custom-dark: #000000;
JSON
{
  "hex": "#982dc3",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 282.8,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52901,
    "c": 0.22393,
    "h": 313.9
  },
  "luminance": 0.12492
}

Semantic roles & 50–950 ramp

primary
#982DC3
secondary
#95CD7F
accent
#E64271
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #982DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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