#982AA2#982AA2

#982AA2 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.4% C 0.199 H 324.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#982AA2
RGBrgb(152, 42, 162)
HSLhsl(295, 59%, 40%)
HSVhsv(295, 74%, 64%)
CMYKcmyk(6.2%, 74.1%, 0%, 36.5%)
CIE-LABlab(39.48, 59.72, -41.63)
CIE-LCHlch(39.48, 72.80, 325.12°)
OKLaboklab(50.44% 0.1616 -0.116)
OKLCHoklch(50.44% 0.199 324.3)
XYZxyz(20.2979, 10.9412, 35.2182)
Luminance0.1094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982AA2 #34A22A
analogous
#5C2AA2 #982AA2 #A22A70
triadic
#982AA2 #A2982A #2AA298
tetradic
#982AA2 #A25C2A #34A22A #2A70A2
square
#982AA2 #A25C2A #34A22A #2A70A2
split-complementary
#982AA2 #70A22A #2AA25C
monochromatic
#3D1141 #6A1D71 #982AA2 #C13DCD #D06DD9

Accessibility & contrast

On white

6.59
#982AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#982AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982AA2
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982AA2#FFFFFF#000000##FFFFFF
##982AA21.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#41619F
Tritanopia (blue-blind)
#9B3F64
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982aa2;
/* rgb */ color: rgb(152, 42, 162);
/* oklch */ color: oklch(50.4% 0.199 324.3);
Tailwind
colors: {
  custom: {
    50: '#ba6fbe',
    500: '#982aa2',
    950: '#000000',
  },
}
SCSS
$custom: #982aa2;
$custom-light: #ba6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#982aa2",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 295,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.50439,
    "c": 0.19889,
    "h": 324.3
  },
  "luminance": 0.1094
}

Semantic roles & 50–950 ramp

primary
#982AA2
secondary
#6FC068
accent
#E24653
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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