#982EAB#982EAB

#982EAB is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.4% C 0.202 H 321.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#982EAB
RGBrgb(152, 46, 171)
HSLhsl(291, 58%, 43%)
HSVhsv(291, 73%, 67%)
CMYKcmyk(11.1%, 73.1%, 0%, 32.9%)
CIE-LABlab(40.53, 59.94, -45.34)
CIE-LCHlch(40.53, 75.16, 322.90°)
OKLaboklab(51.36% 0.1572 -0.1269)
OKLCHoklch(51.36% 0.202 321.1)
XYZxyz(21.2757, 11.5708, 39.6329)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982EAB #41AB2E
analogous
#592EAB #982EAB #AB2E80
triadic
#982EAB #AB982E #2EAB98
tetradic
#982EAB #AB592E #41AB2E #2E80AB
square
#982EAB #AB592E #41AB2E #2E80AB
split-complementary
#982EAB #80AB2E #2EAB59
monochromatic
#42144B #6D217B #982EAB #BA48CE #CC79DB

Accessibility & contrast

On white

6.34
#982EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#982EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982EAB
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982EAB#FFFFFF#000000##FFFFFF
##982EAB1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#3D63A8
Tritanopia (blue-blind)
#99466A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #982eab;
/* rgb */ color: rgb(152, 46, 171);
/* oklch */ color: oklch(51.4% 0.202 321.1);
Tailwind
colors: {
  custom: {
    50: '#ba71c5',
    500: '#982eab',
    950: '#000000',
  },
}
SCSS
$custom: #982eab;
$custom-light: #ba71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#982eab",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 290.88,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5136,
    "c": 0.20203,
    "h": 321.1
  },
  "luminance": 0.1157
}

Semantic roles & 50–950 ramp

primary
#982EAB
secondary
#7EC372
accent
#E1475E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #982EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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