#982AB3#982AB3

#982AB3 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.213 H 318.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#982AB3
RGBrgb(152, 42, 179)
HSLhsl(288, 62%, 43%)
HSVhsv(288, 77%, 70%)
CMYKcmyk(15.1%, 76.5%, 0%, 29.8%)
CIE-LABlab(40.55, 62.83, -50.05)
CIE-LCHlch(40.55, 80.32, 321.46°)
OKLaboklab(51.54% 0.1601 -0.1406)
OKLCHoklch(51.54% 0.213 318.7)
XYZxyz(21.9124, 11.5871, 43.7214)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982AB3 #45B32A
analogous
#532AB3 #982AB3 #B32A89
triadic
#982AB3 #B3982A #2AB398
tetradic
#982AB3 #B3532A #45B32A #2A89B3
square
#982AB3 #B3532A #45B32A #2A89B3
split-complementary
#982AB3 #89B32A #2AB353
monochromatic
#441350 #6E1E81 #982AB3 #B846D4 #CB78DF

Accessibility & contrast

On white

6.33
#982AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#982AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982AB3
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982AB3#FFFFFF#000000##FFFFFF
##982AB31.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#3263B0
Tritanopia (blue-blind)
#98476E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #982ab3;
/* rgb */ color: rgb(152, 42, 179);
/* oklch */ color: oklch(51.5% 0.213 318.7);
Tailwind
colors: {
  custom: {
    50: '#ba70ca',
    500: '#982ab3',
    950: '#000000',
  },
}
SCSS
$custom: #982ab3;
$custom-light: #ba70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#982ab3",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 288.175,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51542,
    "c": 0.21311,
    "h": 318.7
  },
  "luminance": 0.11586
}

Semantic roles & 50–950 ramp

primary
#982AB3
secondary
#82C772
accent
#E54363
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #982AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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