#982EAA#982EAA

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

Color values

HEX#982EAA
RGBrgb(152, 46, 170)
HSLhsl(291, 57%, 42%)
HSVhsv(291, 73%, 67%)
CMYKcmyk(10.6%, 72.9%, 0%, 33.3%)
CIE-LABlab(40.46, 59.76, -44.85)
CIE-LCHlch(40.46, 74.71, 323.11°)
OKLaboklab(51.3% 0.1573 -0.1254)
OKLCHoklch(51.3% 0.201 321.4)
XYZxyz(21.1808, 11.5328, 39.1328)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982EAA #40AA2E
analogous
#5A2EAA #982EAA #AA2E7E
triadic
#982EAA #AA982E #2EAA98
tetradic
#982EAA #AA5A2E #40AA2E #2E7EAA
square
#982EAA #AA5A2E #40AA2E #2E7EAA
split-complementary
#982EAA #7EAA2E #2EAA5A
monochromatic
#42144A #6D217A #982EAA #BA48CD #CC78DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982EAA#FFFFFF#000000##FFFFFF
##982EAA1.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)
#0058AD
Deuteranopia (green-blind)
#3D63A7
Tritanopia (blue-blind)
#994569
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #982eaa;
/* rgb */ color: rgb(152, 46, 170);
/* oklch */ color: oklch(51.3% 0.201 321.4);
Tailwind
colors: {
  custom: {
    50: '#ba71c4',
    500: '#982eaa',
    950: '#000000',
  },
}
SCSS
$custom: #982eaa;
$custom-light: #ba71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#982eaa",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 291.29,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51296,
    "c": 0.20117,
    "h": 321.4
  },
  "luminance": 0.11532
}

Semantic roles & 50–950 ramp

primary
#982EAA
secondary
#7DC371
accent
#E1475D
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #982EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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