#982DAC#982DAC

#982DAC is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.204 H 320.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#982DAC
RGBrgb(152, 45, 172)
HSLhsl(291, 59%, 43%)
HSVhsv(291, 74%, 67%)
CMYKcmyk(11.6%, 73.8%, 0%, 32.5%)
CIE-LABlab(40.46, 60.49, -46.04)
CIE-LCHlch(40.46, 76.02, 322.72°)
OKLaboklab(51.33% 0.1581 -0.1289)
OKLCHoklch(51.33% 0.204 320.8)
XYZxyz(21.3328, 11.5319, 40.1239)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DAC #41AC2D
analogous
#582DAC #982DAC #AC2D81
triadic
#982DAC #AC982D #2DAC98
tetradic
#982DAC #AC582D #41AC2D #2D81AC
square
#982DAC #AC582D #41AC2D #2D81AC
split-complementary
#982DAC #81AC2D #2DAC58
monochromatic
#42144B #6D207B #982DAC #BA47CF #CC78DC

Accessibility & contrast

On white

6.35
#982DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#982DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982DAC
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982DAC#FFFFFF#000000##FFFFFF
##982DAC1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#3B63A9
Tritanopia (blue-blind)
#99466A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #982dac;
/* rgb */ color: rgb(152, 45, 172);
/* oklch */ color: oklch(51.3% 0.204 320.8);
Tailwind
colors: {
  custom: {
    50: '#ba71c5',
    500: '#982dac',
    950: '#000000',
  },
}
SCSS
$custom: #982dac;
$custom-light: #ba71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#982dac",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 172
  },
  "hsl": {
    "h": 290.551,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51335,
    "c": 0.20399,
    "h": 320.8
  },
  "luminance": 0.11531
}

Semantic roles & 50–950 ramp

primary
#982DAC
secondary
#7EC471
accent
#E2465F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #982DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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