#982AAA#982AAA

#982AAA is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.206 H 321.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#982AAA
RGBrgb(152, 42, 170)
HSLhsl(292, 60%, 42%)
HSVhsv(292, 75%, 67%)
CMYKcmyk(10.6%, 75.3%, 0%, 33.3%)
CIE-LABlab(39.97, 61.16, -45.63)
CIE-LCHlch(39.97, 76.31, 323.27°)
OKLaboklab(50.95% 0.161 -0.1277)
OKLCHoklch(50.95% 0.206 321.6)
XYZxyz(21.0318, 11.2348, 39.0831)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982AAA #3CAA2A
analogous
#582AAA #982AAA #AA2A7C
triadic
#982AAA #AA982A #2AAA98
tetradic
#982AAA #AA582A #3CAA2A #2A7CAA
square
#982AAA #AA582A #3CAA2A #2A7CAA
split-complementary
#982AAA #7CAA2A #2AAA58
monochromatic
#401248 #6C1E79 #982AAA #BC41D0 #CD72DC

Accessibility & contrast

On white

6.47
#982AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#982AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982AAA
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982AAA#FFFFFF#000000##FFFFFF
##982AAA1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#3B62A7
Tritanopia (blue-blind)
#994368
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982aaa;
/* rgb */ color: rgb(152, 42, 170);
/* oklch */ color: oklch(50.9% 0.206 321.6);
Tailwind
colors: {
  custom: {
    50: '#ba70c4',
    500: '#982aaa',
    950: '#000000',
  },
}
SCSS
$custom: #982aaa;
$custom-light: #ba70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#982aaa",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 291.563,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50947,
    "c": 0.20553,
    "h": 321.6
  },
  "luminance": 0.11234
}

Semantic roles & 50–950 ramp

primary
#982AAA
secondary
#79C36C
accent
#E4445B
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #982AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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