#982E9A#982E9A

#982E9A is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.3% C 0.188 H 327.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#982E9A
RGBrgb(152, 46, 154)
HSLhsl(299, 54%, 39%)
HSVhsv(299, 70%, 60%)
CMYKcmyk(1.3%, 70.1%, 0%, 39.6%)
CIE-LABlab(39.52, 56.88, -36.75)
CIE-LCHlch(39.52, 67.72, 327.14°)
OKLaboklab(50.32% 0.1577 -0.1018)
OKLCHoklch(50.32% 0.188 327.1)
XYZxyz(19.7583, 10.9638, 31.6411)
Luminance0.1096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982E9A #309A2E
analogous
#622E9A #982E9A #9A2E66
triadic
#982E9A #9A982E #2E9A98
tetradic
#982E9A #9A622E #309A2E #2E669A
square
#982E9A #9A622E #309A2E #2E669A
split-complementary
#982E9A #669A2E #2E9A62
monochromatic
#3B123C #69206B #982E9A #C33FC6 #D26FD4

Accessibility & contrast

On white

6.58
#982E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#982E9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982E9A
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982E9A#FFFFFF#000000##FFFFFF
##982E9A1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A549D
Deuteranopia (green-blind)
#486297
Tritanopia (blue-blind)
#9C3E61
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982e9a;
/* rgb */ color: rgb(152, 46, 154);
/* oklch */ color: oklch(50.3% 0.188 327.1);
Tailwind
colors: {
  custom: {
    50: '#ba71b8',
    500: '#982e9a',
    950: '#000000',
  },
}
SCSS
$custom: #982e9a;
$custom-light: #ba71b8;
$custom-dark: #000000;
JSON
{
  "hex": "#982e9a",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 298.889,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50316,
    "c": 0.18772,
    "h": 327.1
  },
  "luminance": 0.10962
}

Semantic roles & 50–950 ramp

primary
#982E9A
secondary
#6ABB69
accent
#DD4A4D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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