#982AB1#982AB1

#982AB1 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.211 H 319.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#982AB1
RGBrgb(152, 42, 177)
HSLhsl(289, 62%, 43%)
HSVhsv(289, 76%, 69%)
CMYKcmyk(14.1%, 76.3%, 0%, 30.6%)
CIE-LABlab(40.42, 62.45, -49.07)
CIE-LCHlch(40.42, 79.43, 321.84°)
OKLaboklab(51.41% 0.1604 -0.1378)
OKLCHoklch(51.41% 0.211 319.3)
XYZxyz(21.7116, 11.5067, 42.6638)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982AB1 #43B12A
analogous
#542AB1 #982AB1 #B12A86
triadic
#982AB1 #B1982A #2AB198
tetradic
#982AB1 #B1542A #43B12A #2A86B1
square
#982AB1 #B1542A #43B12A #2A86B1
split-complementary
#982AB1 #86B12A #2AB154
monochromatic
#43134E #6E1E80 #982AB1 #B945D3 #CB77DF

Accessibility & contrast

On white

6.36
#982AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#982AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982AB1
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982AB1#FFFFFF#000000##FFFFFF
##982AB11.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#3563AE
Tritanopia (blue-blind)
#98466C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #982ab1;
/* rgb */ color: rgb(152, 42, 177);
/* oklch */ color: oklch(51.4% 0.211 319.3);
Tailwind
colors: {
  custom: {
    50: '#ba70c9',
    500: '#982ab1',
    950: '#000000',
  },
}
SCSS
$custom: #982ab1;
$custom-light: #ba70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#982ab1",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 288.889,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51408,
    "c": 0.21142,
    "h": 319.3
  },
  "luminance": 0.11506
}

Semantic roles & 50–950 ramp

primary
#982AB1
secondary
#80C670
accent
#E54361
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #982AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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