#982EA6#982EA6

#982EA6 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.198 H 322.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#982EA6
RGBrgb(152, 46, 166)
HSLhsl(293, 57%, 42%)
HSVhsv(293, 72%, 65%)
CMYKcmyk(8.4%, 72.3%, 0%, 34.9%)
CIE-LABlab(40.22, 59.02, -42.85)
CIE-LCHlch(40.22, 72.94, 324.02°)
OKLaboklab(51.04% 0.1575 -0.1196)
OKLCHoklch(51.04% 0.198 322.8)
XYZxyz(20.8081, 11.3838, 37.1703)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982EA6 #3CA62E
analogous
#5C2EA6 #982EA6 #A62E78
triadic
#982EA6 #A6982E #2EA698
tetradic
#982EA6 #A65C2E #3CA62E #2E78A6
square
#982EA6 #A65C2E #3CA62E #2E78A6
split-complementary
#982EA6 #78A62E #2EA65C
monochromatic
#401346 #6C2176 #982EA6 #BC46CC #CD76D9

Accessibility & contrast

On white

6.41
#982EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#982EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982EA6
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982EA6#FFFFFF#000000##FFFFFF
##982EA61.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4063A3
Tritanopia (blue-blind)
#9A4467
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #982ea6;
/* rgb */ color: rgb(152, 46, 166);
/* oklch */ color: oklch(51.0% 0.198 322.8);
Tailwind
colors: {
  custom: {
    50: '#ba71c1',
    500: '#982ea6',
    950: '#000000',
  },
}
SCSS
$custom: #982ea6;
$custom-light: #ba71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#982ea6",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 293,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51043,
    "c": 0.19776,
    "h": 322.8
  },
  "luminance": 0.11383
}

Semantic roles & 50–950 ramp

primary
#982EA6
secondary
#79C16F
accent
#E0485A
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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