#982E8A#982E8A

#982E8A is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.4% C 0.175 H 333.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#982E8A
RGBrgb(152, 46, 138)
HSLhsl(308, 54%, 39%)
HSVhsv(308, 70%, 60%)
CMYKcmyk(0%, 69.7%, 9.2%, 40.4%)
CIE-LABlab(38.67, 54.21, -28.36)
CIE-LCHlch(38.67, 61.18, 332.39°)
OKLaboklab(49.42% 0.1568 -0.0776)
OKLCHoklch(49.42% 0.175 333.7)
XYZxyz(18.5135, 10.4659, 25.0849)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982E8A #2E983C
analogous
#712E98 #982E8A #982E55
triadic
#982E8A #8A982E #2E8A98
tetradic
#982E8A #98712E #2E983C #2E5598
square
#982E8A #98712E #2E983C #2E5598
split-complementary
#982E8A #55982E #2E9871
monochromatic
#3A1235 #69205F #982E8A #C53EB3 #D36DC6

Accessibility & contrast

On white

6.79
#982E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#982E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982E8A
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982E8A#FFFFFF#000000##FFFFFF
##982E8A1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518D
Deuteranopia (green-blind)
#506187
Tritanopia (blue-blind)
#9F3758
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #982e8a;
/* rgb */ color: rgb(152, 46, 138);
/* oklch */ color: oklch(49.4% 0.175 333.7);
Tailwind
colors: {
  custom: {
    50: '#ba70ac',
    500: '#982e8a',
    950: '#000000',
  },
}
SCSS
$custom: #982e8a;
$custom-light: #ba70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#982e8a",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 307.925,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49424,
    "c": 0.17497,
    "h": 333.7
  },
  "luminance": 0.10464
}

Semantic roles & 50–950 ramp

primary
#982E8A
secondary
#68BA73
accent
#DD5E4B
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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