#982DC8#982DC8

#982DC8 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.3% C 0.228 H 312.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#982DC8
RGBrgb(152, 45, 200)
HSLhsl(281, 63%, 48%)
HSVhsv(281, 78%, 78%)
CMYKcmyk(24%, 77.5%, 0%, 21.6%)
CIE-LABlab(42.34, 65.91, -59.47)
CIE-LCHlch(42.34, 88.77, 317.94°)
OKLaboklab(53.26% 0.1543 -0.1683)
OKLCHoklch(53.26% 0.228 312.5)
XYZxyz(24.3107, 12.7230, 55.8075)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DC8 #5DC82D
analogous
#4A2DC8 #982DC8 #C82DAA
triadic
#982DC8 #C8982D #2DC898
tetradic
#982DC8 #C84A2D #5DC82D #2DAAC8
square
#982DC8 #C84A2D #5DC82D #2DAAC8
split-complementary
#982DC8 #AAC82D #2DC84A
monochromatic
#4C1764 #722296 #982DC8 #B259DA #C98BE5

Accessibility & contrast

On white

5.92
#982DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #982DC8
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982DC8#FFFFFF#000000##FFFFFF
##982DC81.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#1266C5
Tritanopia (blue-blind)
#92527A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #982dc8;
/* rgb */ color: rgb(152, 45, 200);
/* oklch */ color: oklch(53.3% 0.228 312.5);
Tailwind
colors: {
  custom: {
    50: '#bb72da',
    500: '#982dc8',
    950: '#000000',
  },
}
SCSS
$custom: #982dc8;
$custom-light: #bb72da;
$custom-dark: #000000;
JSON
{
  "hex": "#982dc8",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 200
  },
  "hsl": {
    "h": 281.419,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53262,
    "c": 0.22832,
    "h": 312.5
  },
  "luminance": 0.12722
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #982DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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