#982AA3#982AA3

#982AA3 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.200 H 324.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#982AA3
RGBrgb(152, 42, 163)
HSLhsl(295, 59%, 40%)
HSVhsv(295, 74%, 64%)
CMYKcmyk(6.7%, 74.2%, 0%, 36.1%)
CIE-LABlab(39.54, 59.90, -42.13)
CIE-LCHlch(39.54, 73.23, 324.88°)
OKLaboklab(50.5% 0.1615 -0.1175)
OKLCHoklch(50.5% 0.2 324)
XYZxyz(20.3871, 10.9769, 35.6882)
Luminance0.1098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982AA3 #35A32A
analogous
#5B2AA3 #982AA3 #A32A72
triadic
#982AA3 #A3982A #2AA398
tetradic
#982AA3 #A35B2A #35A32A #2A72A3
square
#982AA3 #A35B2A #35A32A #2A72A3
split-complementary
#982AA3 #72A32A #2AA35B
monochromatic
#3D1142 #6B1D72 #982AA3 #C03DCD #D06EDA

Accessibility & contrast

On white

6.57
#982AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#982AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982AA3
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982AA3#FFFFFF#000000##FFFFFF
##982AA31.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#4062A0
Tritanopia (blue-blind)
#9B4065
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982aa3;
/* rgb */ color: rgb(152, 42, 163);
/* oklch */ color: oklch(50.5% 0.200 324.0);
Tailwind
colors: {
  custom: {
    50: '#ba6fbf',
    500: '#982aa3',
    950: '#000000',
  },
}
SCSS
$custom: #982aa3;
$custom-light: #ba6fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#982aa3",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 294.545,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50501,
    "c": 0.19972,
    "h": 324
  },
  "luminance": 0.10976
}

Semantic roles & 50–950 ramp

primary
#982AA3
secondary
#70C068
accent
#E24654
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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