#982EA8#982EA8

#982EA8 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.199 H 322.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#982EA8
RGBrgb(152, 46, 168)
HSLhsl(292, 57%, 42%)
HSVhsv(292, 73%, 66%)
CMYKcmyk(9.5%, 72.6%, 0%, 34.1%)
CIE-LABlab(40.34, 59.39, -43.85)
CIE-LCHlch(40.34, 73.82, 323.56°)
OKLaboklab(51.17% 0.1574 -0.1225)
OKLCHoklch(51.17% 0.199 322.1)
XYZxyz(20.9930, 11.4577, 38.1440)
Luminance0.1146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982EA8 #3EA82E
analogous
#5B2EA8 #982EA8 #A82E7B
triadic
#982EA8 #A8982E #2EA898
tetradic
#982EA8 #A85B2E #3EA82E #2E7BA8
square
#982EA8 #A85B2E #3EA82E #2E7BA8
split-complementary
#982EA8 #7BA82E #2EA85B
monochromatic
#411448 #6D2178 #982EA8 #BB47CD #CD77DA

Accessibility & contrast

On white

6.38
#982EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#982EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982EA8
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982EA8#FFFFFF#000000##FFFFFF
##982EA81.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#3F63A5
Tritanopia (blue-blind)
#9A4468
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #982ea8;
/* rgb */ color: rgb(152, 46, 168);
/* oklch */ color: oklch(51.2% 0.199 322.1);
Tailwind
colors: {
  custom: {
    50: '#ba71c2',
    500: '#982ea8',
    950: '#000000',
  },
}
SCSS
$custom: #982ea8;
$custom-light: #ba71c2;
$custom-dark: #000000;
JSON
{
  "hex": "#982ea8",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 292.131,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51169,
    "c": 0.19946,
    "h": 322.1
  },
  "luminance": 0.11457
}

Semantic roles & 50–950 ramp

primary
#982EA8
secondary
#7BC270
accent
#E0485C
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #982EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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