#982D9A#982D9A

#982D9A is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.189 H 327.2°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#982D9A
RGBrgb(152, 45, 154)
HSLhsl(299, 55%, 39%)
HSVhsv(299, 71%, 60%)
CMYKcmyk(1.3%, 70.8%, 0%, 39.6%)
CIE-LABlab(39.39, 57.25, -36.96)
CIE-LCHlch(39.39, 68.15, 327.16°)
OKLaboklab(50.22% 0.1587 -0.1024)
OKLCHoklch(50.22% 0.189 327.2)
XYZxyz(19.7197, 10.8866, 31.6283)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982D9A #2F9A2D
analogous
#622D9A #982D9A #9A2D66
triadic
#982D9A #9A982D #2D9A98
tetradic
#982D9A #9A622D #2F9A2D #2D669A
square
#982D9A #9A622D #2F9A2D #2D669A
split-complementary
#982D9A #669A2D #2D9A62
monochromatic
#3B113B #691F6B #982D9A #C43EC7 #D26DD4

Accessibility & contrast

On white

6.61
#982D9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#982D9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982D9A
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982D9A#FFFFFF#000000##FFFFFF
##982D9A1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18549D
Deuteranopia (green-blind)
#486297
Tritanopia (blue-blind)
#9C3E60
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982d9a;
/* rgb */ color: rgb(152, 45, 154);
/* oklch */ color: oklch(50.2% 0.189 327.2);
Tailwind
colors: {
  custom: {
    50: '#ba70b8',
    500: '#982d9a',
    950: '#000000',
  },
}
SCSS
$custom: #982d9a;
$custom-light: #ba70b8;
$custom-dark: #000000;
JSON
{
  "hex": "#982d9a",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 298.899,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50222,
    "c": 0.18892,
    "h": 327.2
  },
  "luminance": 0.10885
}

Semantic roles & 50–950 ramp

primary
#982D9A
secondary
#69BB67
accent
#DE4A4C
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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