#982ABA#982ABA

#982ABA is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.219 H 316.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#982ABA
RGBrgb(152, 42, 186)
HSLhsl(286, 63%, 45%)
HSVhsv(286, 77%, 73%)
CMYKcmyk(18.3%, 77.4%, 0%, 27.1%)
CIE-LABlab(41.02, 64.16, -53.42)
CIE-LCHlch(41.02, 83.49, 320.22°)
OKLaboklab(52.02% 0.1592 -0.1505)
OKLCHoklch(52.02% 0.219 316.6)
XYZxyz(22.6384, 11.8775, 47.5449)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982ABA #4CBA2A
analogous
#502ABA #982ABA #BA2A94
triadic
#982ABA #BA982A #2ABA98
tetradic
#982ABA #BA502A #4CBA2A #2A94BA
square
#982ABA #BA502A #4CBA2A #2A94BA
split-complementary
#982ABA #94BA2A #2ABA50
monochromatic
#461356 #6F1F88 #982ABA #B54BD6 #CA7DE2

Accessibility & contrast

On white

6.22
#982ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#982ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982ABA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982ABA#FFFFFF#000000##FFFFFF
##982ABA1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#2A64B7
Tritanopia (blue-blind)
#964A72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #982aba;
/* rgb */ color: rgb(152, 42, 186);
/* oklch */ color: oklch(52.0% 0.219 316.6);
Tailwind
colors: {
  custom: {
    50: '#bb70cf',
    500: '#982aba',
    950: '#000000',
  },
}
SCSS
$custom: #982aba;
$custom-light: #bb70cf;
$custom-dark: #000000;
JSON
{
  "hex": "#982aba",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 285.833,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52022,
    "c": 0.21907,
    "h": 316.6
  },
  "luminance": 0.11876
}

Semantic roles & 50–950 ramp

primary
#982ABA
secondary
#8ACA76
accent
#E64268
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #982ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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