#982CAB#982CAB

#982CAB is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.204 H 321.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#982CAB
RGBrgb(152, 44, 171)
HSLhsl(291, 59%, 42%)
HSVhsv(291, 74%, 67%)
CMYKcmyk(11.1%, 74.3%, 0%, 32.9%)
CIE-LABlab(40.28, 60.66, -45.74)
CIE-LCHlch(40.28, 75.97, 322.98°)
OKLaboklab(51.18% 0.1591 -0.128)
OKLCHoklch(51.18% 0.204 321.2)
XYZxyz(21.1994, 11.4182, 39.6075)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CAB #3FAB2C
analogous
#592CAB #982CAB #AB2C7E
triadic
#982CAB #AB982C #2CAB98
tetradic
#982CAB #AB592C #3FAB2C #2C7EAB
square
#982CAB #AB592C #3FAB2C #2C7EAB
split-complementary
#982CAB #7EAB2C #2CAB59
monochromatic
#41134A #6D1F7A #982CAB #BA45CF #CC76DC

Accessibility & contrast

On white

6.40
#982CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#982CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982CAB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982CAB#FFFFFF#000000##FFFFFF
##982CAB1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982cab;
/* rgb */ color: rgb(152, 44, 171);
/* oklch */ color: oklch(51.2% 0.204 321.2);
Tailwind
colors: {
  custom: {
    50: '#ba71c5',
    500: '#982cab',
    950: '#000000',
  },
}
SCSS
$custom: #982cab;
$custom-light: #ba71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#982cab",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 291.024,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51182,
    "c": 0.20424,
    "h": 321.2
  },
  "luminance": 0.11417
}

Semantic roles & 50–950 ramp

primary
#982CAB
secondary
#7CC36F
accent
#E2465D
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #982CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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