#982ABB#982ABB

#982ABB is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.1% C 0.220 H 316.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#982ABB
RGBrgb(152, 42, 187)
HSLhsl(286, 63%, 45%)
HSVhsv(286, 78%, 73%)
CMYKcmyk(18.7%, 77.5%, 0%, 26.7%)
CIE-LABlab(41.09, 64.35, -53.90)
CIE-LCHlch(41.09, 83.94, 320.05°)
OKLaboklab(52.09% 0.159 -0.1519)
OKLCHoklch(52.09% 0.22 316.3)
XYZxyz(22.7451, 11.9201, 48.1068)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982ABB #4DBB2A
analogous
#4F2ABB #982ABB #BB2A96
triadic
#982ABB #BB982A #2ABB98
tetradic
#982ABB #BB4F2A #4DBB2A #2A96BB
square
#982ABB #BB4F2A #4DBB2A #2A96BB
split-complementary
#982ABB #96BB2A #2ABB4F
monochromatic
#471457 #6F1F89 #982ABB #B54CD7 #CA7DE2

Accessibility & contrast

On white

6.21
#982ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #982ABB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982ABB#FFFFFF#000000##FFFFFF
##982ABB1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#2964B8
Tritanopia (blue-blind)
#964B72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #982abb;
/* rgb */ color: rgb(152, 42, 187);
/* oklch */ color: oklch(52.1% 0.220 316.3);
Tailwind
colors: {
  custom: {
    50: '#bb70d0',
    500: '#982abb',
    950: '#000000',
  },
}
SCSS
$custom: #982abb;
$custom-light: #bb70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#982abb",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 187
  },
  "hsl": {
    "h": 285.517,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52092,
    "c": 0.21992,
    "h": 316.3
  },
  "luminance": 0.11919
}

Semantic roles & 50–950 ramp

primary
#982ABB
secondary
#8BCA76
accent
#E64169
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #982ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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