#982EA5#982EA5

#982EA5 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 51.0% C 0.197 H 323.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#982EA5
RGBrgb(152, 46, 165)
HSLhsl(293, 56%, 41%)
HSVhsv(293, 72%, 65%)
CMYKcmyk(7.9%, 72.1%, 0%, 35.3%)
CIE-LABlab(40.16, 58.84, -42.35)
CIE-LCHlch(40.16, 72.49, 324.26°)
OKLaboklab(50.98% 0.1575 -0.1181)
OKLCHoklch(50.98% 0.197 323.1)
XYZxyz(20.7168, 11.3472, 36.6890)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982EA5 #3BA52E
analogous
#5D2EA5 #982EA5 #A52E77
triadic
#982EA5 #A5982E #2EA598
tetradic
#982EA5 #A55D2E #3BA52E #2E77A5
square
#982EA5 #A55D2E #3BA52E #2E77A5
split-complementary
#982EA5 #77A52E #2EA55D
monochromatic
#401345 #6C2175 #982EA5 #BD45CB #CE75D8

Accessibility & contrast

On white

6.42
#982EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#982EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982EA5
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982EA5#FFFFFF#000000##FFFFFF
##982EA51.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A8
Deuteranopia (green-blind)
#4163A2
Tritanopia (blue-blind)
#9A4367
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #982ea5;
/* rgb */ color: rgb(152, 46, 165);
/* oklch */ color: oklch(51.0% 0.197 323.1);
Tailwind
colors: {
  custom: {
    50: '#ba71c0',
    500: '#982ea5',
    950: '#000000',
  },
}
SCSS
$custom: #982ea5;
$custom-light: #ba71c0;
$custom-dark: #000000;
JSON
{
  "hex": "#982ea5",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 293.445,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50981,
    "c": 0.19692,
    "h": 323.1
  },
  "luminance": 0.11346
}

Semantic roles & 50–950 ramp

primary
#982EA5
secondary
#77C06F
accent
#E04859
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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