#982EA9#982EA9

#982EA9 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.2% C 0.200 H 321.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#982EA9
RGBrgb(152, 46, 169)
HSLhsl(292, 57%, 42%)
HSVhsv(292, 73%, 66%)
CMYKcmyk(10.1%, 72.8%, 0%, 33.7%)
CIE-LABlab(40.40, 59.57, -44.35)
CIE-LCHlch(40.40, 74.27, 323.33°)
OKLaboklab(51.23% 0.1573 -0.124)
OKLCHoklch(51.23% 0.2 321.8)
XYZxyz(21.0865, 11.4951, 38.6365)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982EA9 #3FA92E
analogous
#5A2EA9 #982EA9 #A92E7D
triadic
#982EA9 #A9982E #2EA998
tetradic
#982EA9 #A95A2E #3FA92E #2E7DA9
square
#982EA9 #A95A2E #3FA92E #2E7DA9
split-complementary
#982EA9 #7DA92E #2EA95A
monochromatic
#411449 #6D2179 #982EA9 #BA47CD #CC77DA

Accessibility & contrast

On white

6.37
#982EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#982EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982EA9
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982EA9#FFFFFF#000000##FFFFFF
##982EA91.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#3E63A6
Tritanopia (blue-blind)
#9A4569
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #982ea9;
/* rgb */ color: rgb(152, 46, 169);
/* oklch */ color: oklch(51.2% 0.200 321.8);
Tailwind
colors: {
  custom: {
    50: '#ba71c3',
    500: '#982ea9',
    950: '#000000',
  },
}
SCSS
$custom: #982ea9;
$custom-light: #ba71c3;
$custom-dark: #000000;
JSON
{
  "hex": "#982ea9",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 291.707,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51232,
    "c": 0.20032,
    "h": 321.8
  },
  "luminance": 0.11494
}

Semantic roles & 50–950 ramp

primary
#982EA9
secondary
#7CC271
accent
#E0475D
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #982EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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