#982DC7#982DC7

#982DC7 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.227 H 312.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#982DC7
RGBrgb(152, 45, 199)
HSLhsl(282, 63%, 48%)
HSVhsv(282, 77%, 78%)
CMYKcmyk(23.6%, 77.4%, 0%, 22%)
CIE-LABlab(42.27, 65.71, -59.00)
CIE-LCHlch(42.27, 88.31, 318.08°)
OKLaboklab(53.19% 0.1545 -0.1669)
OKLCHoklch(53.19% 0.227 312.8)
XYZxyz(24.1942, 12.6764, 55.1941)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DC7 #5CC72D
analogous
#4B2DC7 #982DC7 #C72DA9
triadic
#982DC7 #C7982D #2DC798
tetradic
#982DC7 #C74B2D #5CC72D #2DA9C7
square
#982DC7 #C74B2D #5CC72D #2DA9C7
split-complementary
#982DC7 #A9C72D #2DC74B
monochromatic
#4C1663 #722295 #982DC7 #B258D9 #C98AE5

Accessibility & contrast

On white

5.94
#982DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#982DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982DC7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982DC7#FFFFFF#000000##FFFFFF
##982DC71.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#1566C4
Tritanopia (blue-blind)
#93527A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #982dc7;
/* rgb */ color: rgb(152, 45, 199);
/* oklch */ color: oklch(53.2% 0.227 312.8);
Tailwind
colors: {
  custom: {
    50: '#bb72d9',
    500: '#982dc7',
    950: '#000000',
  },
}
SCSS
$custom: #982dc7;
$custom-light: #bb72d9;
$custom-dark: #000000;
JSON
{
  "hex": "#982dc7",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 199
  },
  "hsl": {
    "h": 281.688,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53189,
    "c": 0.22744,
    "h": 312.8
  },
  "luminance": 0.12676
}

Semantic roles & 50–950 ramp

primary
#982DC7
secondary
#99CE81
accent
#E64274
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #982DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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