#982AA7#982AA7

#982AA7 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.203 H 322.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#982AA7
RGBrgb(152, 42, 167)
HSLhsl(293, 60%, 41%)
HSVhsv(293, 75%, 65%)
CMYKcmyk(9%, 74.9%, 0%, 34.5%)
CIE-LABlab(39.79, 60.62, -44.14)
CIE-LCHlch(39.79, 74.98, 323.94°)
OKLaboklab(50.75% 0.1613 -0.1233)
OKLCHoklch(50.75% 0.203 322.6)
XYZxyz(20.7512, 11.1226, 37.6056)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982AA7 #39A72A
analogous
#592AA7 #982AA7 #A72A77
triadic
#982AA7 #A7982A #2AA798
tetradic
#982AA7 #A7592A #39A72A #2A77A7
square
#982AA7 #A7592A #39A72A #2A77A7
split-complementary
#982AA7 #77A72A #2AA759
monochromatic
#3F1145 #6B1E76 #982AA7 #BE3FCF #CE70DB

Accessibility & contrast

On white

6.51
#982AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#982AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982AA7
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982AA7#FFFFFF#000000##FFFFFF
##982AA71.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#3D62A4
Tritanopia (blue-blind)
#9A4267
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982aa7;
/* rgb */ color: rgb(152, 42, 167);
/* oklch */ color: oklch(50.8% 0.203 322.6);
Tailwind
colors: {
  custom: {
    50: '#ba6fc2',
    500: '#982aa7',
    950: '#000000',
  },
}
SCSS
$custom: #982aa7;
$custom-light: #ba6fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#982aa7",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 292.8,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50754,
    "c": 0.20303,
    "h": 322.6
  },
  "luminance": 0.11121
}

Semantic roles & 50–950 ramp

primary
#982AA7
secondary
#75C26B
accent
#E34558
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #982AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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