#982AB9#982AB9

#982AB9 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 52.0% C 0.218 H 316.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#982AB9
RGBrgb(152, 42, 185)
HSLhsl(286, 63%, 45%)
HSVhsv(286, 77%, 73%)
CMYKcmyk(17.8%, 77.3%, 0%, 27.5%)
CIE-LABlab(40.95, 63.97, -52.94)
CIE-LCHlch(40.95, 83.03, 320.39°)
OKLaboklab(51.95% 0.1593 -0.1491)
OKLCHoklch(51.95% 0.218 316.9)
XYZxyz(22.5325, 11.8351, 46.9870)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982AB9 #4BB92A
analogous
#512AB9 #982AB9 #B92A93
triadic
#982AB9 #B9982A #2AB998
tetradic
#982AB9 #B9512A #4BB92A #2A93B9
square
#982AB9 #B9512A #4BB92A #2A93B9
split-complementary
#982AB9 #93B92A #2AB951
monochromatic
#461355 #6F1F87 #982AB9 #B64AD6 #CA7CE1

Accessibility & contrast

On white

6.24
#982AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#982AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982AB9
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982AB9#FFFFFF#000000##FFFFFF
##982AB91.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#2B64B6
Tritanopia (blue-blind)
#964A71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #982ab9;
/* rgb */ color: rgb(152, 42, 185);
/* oklch */ color: oklch(52.0% 0.218 316.9);
Tailwind
colors: {
  custom: {
    50: '#bb70cf',
    500: '#982ab9',
    950: '#000000',
  },
}
SCSS
$custom: #982ab9;
$custom-light: #bb70cf;
$custom-dark: #000000;
JSON
{
  "hex": "#982ab9",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 286.154,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51952,
    "c": 0.21821,
    "h": 316.9
  },
  "luminance": 0.11834
}

Semantic roles & 50–950 ramp

primary
#982AB9
secondary
#89CA75
accent
#E64268
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #982AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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