#982BAB#982BAB

#982BAB is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.205 H 321.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#982BAB
RGBrgb(152, 43, 171)
HSLhsl(291, 60%, 42%)
HSVhsv(291, 75%, 67%)
CMYKcmyk(11.1%, 74.9%, 0%, 32.9%)
CIE-LABlab(40.15, 61.00, -45.94)
CIE-LCHlch(40.15, 76.36, 323.02°)
OKLaboklab(51.1% 0.16 -0.1286)
OKLCHoklch(51.1% 0.205 321.2)
XYZxyz(21.1626, 11.3446, 39.5952)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982BAB #3EAB2B
analogous
#582BAB #982BAB #AB2B7E
triadic
#982BAB #AB982B #2BAB98
tetradic
#982BAB #AB582B #3EAB2B #2B7EAB
square
#982BAB #AB582B #3EAB2B #2B7EAB
split-complementary
#982BAB #7EAB2B #2BAB58
monochromatic
#411249 #6D1F7A #982BAB #BB43D0 #CD74DC

Accessibility & contrast

On white

6.42
#982BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#982BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982BAB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982BAB#FFFFFF#000000##FFFFFF
##982BAB1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#3B63A8
Tritanopia (blue-blind)
#994469
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #982bab;
/* rgb */ color: rgb(152, 43, 171);
/* oklch */ color: oklch(51.1% 0.205 321.2);
Tailwind
colors: {
  custom: {
    50: '#ba70c5',
    500: '#982bab',
    950: '#000000',
  },
}
SCSS
$custom: #982bab;
$custom-light: #ba70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#982bab",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 291.094,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51096,
    "c": 0.20531,
    "h": 321.2
  },
  "luminance": 0.11343
}

Semantic roles & 50–950 ramp

primary
#982BAB
secondary
#7BC46E
accent
#E3455C
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #982BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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