#982DCA#982DCA

#982DCA is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.230 H 312.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#982DCA
RGBrgb(152, 45, 202)
HSLhsl(281, 64%, 48%)
HSVhsv(281, 78%, 79%)
CMYKcmyk(24.8%, 77.7%, 0%, 20.8%)
CIE-LABlab(42.49, 66.31, -60.39)
CIE-LCHlch(42.49, 89.69, 317.67°)
OKLaboklab(53.41% 0.1539 -0.171)
OKLCHoklch(53.41% 0.23 312)
XYZxyz(24.5460, 12.8171, 57.0466)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DCA #5FCA2D
analogous
#492DCA #982DCA #CA2DAD
triadic
#982DCA #CA982D #2DCA98
tetradic
#982DCA #CA492D #5FCA2D #2DADCA
square
#982DCA #CA492D #5FCA2D #2DADCA
split-complementary
#982DCA #ADCA2D #2DCA49
monochromatic
#4D1766 #722298 #982DCA #B15ADA #C98CE5

Accessibility & contrast

On white

5.89
#982DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#982DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982DCA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982DCA#FFFFFF#000000##FFFFFF
##982DCA1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982dca;
/* rgb */ color: rgb(152, 45, 202);
/* oklch */ color: oklch(53.4% 0.230 312.0);
Tailwind
colors: {
  custom: {
    50: '#bb72db',
    500: '#982dca',
    950: '#000000',
  },
}
SCSS
$custom: #982dca;
$custom-light: #bb72db;
$custom-dark: #000000;
JSON
{
  "hex": "#982dca",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 280.892,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53408,
    "c": 0.23009,
    "h": 312
  },
  "luminance": 0.12816
}

Semantic roles & 50–950 ramp

primary
#982DCA
secondary
#9CCF83
accent
#E74176
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #982DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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