#982DC9#982DC9

#982DC9 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.229 H 312.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#982DC9
RGBrgb(152, 45, 201)
HSLhsl(281, 63%, 48%)
HSVhsv(281, 78%, 79%)
CMYKcmyk(24.4%, 77.6%, 0%, 21.2%)
CIE-LABlab(42.41, 66.11, -59.93)
CIE-LCHlch(42.41, 89.23, 317.81°)
OKLaboklab(53.34% 0.1541 -0.1697)
OKLCHoklch(53.34% 0.229 312.2)
XYZxyz(24.4280, 12.7699, 56.4250)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DC9 #5EC92D
analogous
#4A2DC9 #982DC9 #C92DAC
triadic
#982DC9 #C9982D #2DC998
tetradic
#982DC9 #C94A2D #5EC92D #2DACC9
square
#982DC9 #C94A2D #5EC92D #2DACC9
split-complementary
#982DC9 #ACC92D #2DC94A
monochromatic
#4C1765 #722297 #982DC9 #B259DA #C98BE5

Accessibility & contrast

On white

5.91
#982DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#982DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982DC9
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982DC9#FFFFFF#000000##FFFFFF
##982DC91.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#0F66C6
Tritanopia (blue-blind)
#92537B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #982dc9;
/* rgb */ color: rgb(152, 45, 201);
/* oklch */ color: oklch(53.3% 0.229 312.2);
Tailwind
colors: {
  custom: {
    50: '#bb72da',
    500: '#982dc9',
    950: '#000000',
  },
}
SCSS
$custom: #982dc9;
$custom-light: #bb72da;
$custom-dark: #000000;
JSON
{
  "hex": "#982dc9",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 281.154,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53335,
    "c": 0.22921,
    "h": 312.2
  },
  "luminance": 0.12769
}

Semantic roles & 50–950 ramp

primary
#982DC9
secondary
#9BCF83
accent
#E64175
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #982DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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