#982AB6#982AB6

#982AB6 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.216 H 317.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#982AB6
RGBrgb(152, 42, 182)
HSLhsl(287, 63%, 44%)
HSVhsv(287, 77%, 71%)
CMYKcmyk(16.5%, 76.9%, 0%, 28.6%)
CIE-LABlab(40.75, 63.39, -51.50)
CIE-LCHlch(40.75, 81.68, 320.91°)
OKLaboklab(51.75% 0.1597 -0.1449)
OKLCHoklch(51.75% 0.216 317.8)
XYZxyz(22.2191, 11.7097, 45.3367)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982AB6 #48B62A
analogous
#522AB6 #982AB6 #B62A8E
triadic
#982AB6 #B6982A #2AB698
tetradic
#982AB6 #B6522A #48B62A #2A8EB6
square
#982AB6 #B6522A #48B62A #2A8EB6
split-complementary
#982AB6 #8EB62A #2AB652
monochromatic
#451353 #6E1F84 #982AB6 #B748D5 #CA7AE0

Accessibility & contrast

On white

6.28
#982AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#982AB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982AB6
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982AB6#FFFFFF#000000##FFFFFF
##982AB61.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#2F63B3
Tritanopia (blue-blind)
#97496F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #982ab6;
/* rgb */ color: rgb(152, 42, 182);
/* oklch */ color: oklch(51.7% 0.216 317.8);
Tailwind
colors: {
  custom: {
    50: '#bb70cd',
    500: '#982ab6',
    950: '#000000',
  },
}
SCSS
$custom: #982ab6;
$custom-light: #bb70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#982ab6",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 287.143,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51746,
    "c": 0.21566,
    "h": 317.8
  },
  "luminance": 0.11709
}

Semantic roles & 50–950 ramp

primary
#982AB6
secondary
#86C873
accent
#E64265
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #982AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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