#982EAC#982EAC

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

Color values

HEX#982EAC
RGBrgb(152, 46, 172)
HSLhsl(290, 58%, 43%)
HSVhsv(290, 73%, 67%)
CMYKcmyk(11.6%, 73.3%, 0%, 32.5%)
CIE-LABlab(40.59, 60.13, -45.84)
CIE-LCHlch(40.59, 75.61, 322.68°)
OKLaboklab(51.42% 0.1571 -0.1283)
OKLCHoklch(51.42% 0.203 320.8)
XYZxyz(21.3714, 11.6091, 40.1368)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982EAC #42AC2E
analogous
#592EAC #982EAC #AC2E81
triadic
#982EAC #AC982E #2EAC98
tetradic
#982EAC #AC592E #42AC2E #2E81AC
square
#982EAC #AC592E #42AC2E #2E81AC
split-complementary
#982EAC #81AC2E #2EAC59
monochromatic
#43144B #6D217C #982EAC #B949CE #CC79DB

Accessibility & contrast

On white

6.32
#982EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#982EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982EAC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982EAC#FFFFFF#000000##FFFFFF
##982EAC1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#3C63A9
Tritanopia (blue-blind)
#99466B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #982eac;
/* rgb */ color: rgb(152, 46, 172);
/* oklch */ color: oklch(51.4% 0.203 320.8);
Tailwind
colors: {
  custom: {
    50: '#ba71c5',
    500: '#982eac',
    950: '#000000',
  },
}
SCSS
$custom: #982eac;
$custom-light: #ba71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#982eac",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 290.476,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51424,
    "c": 0.20288,
    "h": 320.8
  },
  "luminance": 0.11608
}

Semantic roles & 50–950 ramp

primary
#982EAC
secondary
#7FC372
accent
#E1475F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #982EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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