#982CCD#982CCD

#982CCD is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.234 H 311.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#982CCD
RGBrgb(152, 44, 205)
HSLhsl(280, 65%, 49%)
HSVhsv(280, 79%, 80%)
CMYKcmyk(25.9%, 78.5%, 0%, 19.6%)
CIE-LABlab(42.59, 67.25, -61.96)
CIE-LCHlch(42.59, 91.44, 317.34°)
OKLaboklab(53.55% 0.1541 -0.1756)
OKLCHoklch(53.55% 0.234 311.3)
XYZxyz(24.8669, 12.8852, 58.9229)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CCD #61CD2C
analogous
#472CCD #982CCD #CD2CB2
triadic
#982CCD #CD982C #2CCD98
tetradic
#982CCD #CD472C #61CD2C #2CB2CD
square
#982CCD #CD472C #61CD2C #2CB2CD
split-complementary
#982CCD #B2CD2C #2CCD47
monochromatic
#4D1668 #73219B #982CCD #B15BDC #C98DE7

Accessibility & contrast

On white

5.87
#982CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#982CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982CCD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982CCD#FFFFFF#000000##FFFFFF
##982CCD1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#91547D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #982ccd;
/* rgb */ color: rgb(152, 44, 205);
/* oklch */ color: oklch(53.5% 0.234 311.3);
Tailwind
colors: {
  custom: {
    50: '#bc72dd',
    500: '#982ccd',
    950: '#000000',
  },
}
SCSS
$custom: #982ccd;
$custom-light: #bc72dd;
$custom-dark: #000000;
JSON
{
  "hex": "#982ccd",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 205
  },
  "hsl": {
    "h": 280.248,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53549,
    "c": 0.23365,
    "h": 311.3
  },
  "luminance": 0.12885
}

Semantic roles & 50–950 ramp

primary
#982CCD
secondary
#9DD184
accent
#E84077
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #982CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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