#982A9A#982A9A

#982A9A is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.192 H 327.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#982A9A
RGBrgb(152, 42, 154)
HSLhsl(299, 57%, 38%)
HSVhsv(299, 73%, 60%)
CMYKcmyk(1.3%, 72.7%, 0%, 39.6%)
CIE-LABlab(39.01, 58.33, -37.56)
CIE-LCHlch(39.01, 69.37, 327.22°)
OKLaboklab(49.95% 0.1618 -0.1041)
OKLCHoklch(49.95% 0.192 327.2)
XYZxyz(19.6093, 10.6658, 31.5915)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982A9A #2C9A2A
analogous
#602A9A #982A9A #9A2A64
triadic
#982A9A #9A982A #2A9A98
tetradic
#982A9A #9A602A #2C9A2A #2A649A
square
#982A9A #9A602A #2C9A2A #2A649A
split-complementary
#982A9A #649A2A #2A9A60
monochromatic
#39103A #691D6A #982A9A #C638C9 #D468D6

Accessibility & contrast

On white

6.70
#982A9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#982A9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982A9A
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982A9A#FFFFFF#000000##FFFFFF
##982A9A1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12539D
Deuteranopia (green-blind)
#466197
Tritanopia (blue-blind)
#9C3C5F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #982a9a;
/* rgb */ color: rgb(152, 42, 154);
/* oklch */ color: oklch(50.0% 0.192 327.2);
Tailwind
colors: {
  custom: {
    50: '#ba6fb8',
    500: '#982a9a',
    950: '#000000',
  },
}
SCSS
$custom: #982a9a;
$custom-light: #ba6fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#982a9a",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 298.929,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49952,
    "c": 0.19238,
    "h": 327.2
  },
  "luminance": 0.10664
}

Semantic roles & 50–950 ramp

primary
#982A9A
secondary
#65BC63
accent
#E0474A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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