#982D9D#982D9D

#982D9D is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.191 H 326.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#982D9D
RGBrgb(152, 45, 157)
HSLhsl(297, 55%, 40%)
HSVhsv(297, 71%, 62%)
CMYKcmyk(3.2%, 71.3%, 0%, 38.4%)
CIE-LABlab(39.56, 57.78, -38.50)
CIE-LCHlch(39.56, 69.43, 326.32°)
OKLaboklab(50.4% 0.1587 -0.1069)
OKLCHoklch(50.4% 0.191 326)
XYZxyz(19.9727, 10.9878, 32.9606)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982D9D #329D2D
analogous
#602D9D #982D9D #9D2D6A
triadic
#982D9D #9D982D #2D9D98
tetradic
#982D9D #9D602D #329D2D #2D6A9D
square
#982D9D #9D602D #329D2D #2D6A9D
split-complementary
#982D9D #6A9D2D #2D9D60
monochromatic
#3C123E #6A1F6D #982D9D #C23FC8 #D16FD6

Accessibility & contrast

On white

6.57
#982D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#982D9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982D9D
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982D9D#FFFFFF#000000##FFFFFF
##982D9D1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1355A0
Deuteranopia (green-blind)
#46629A
Tritanopia (blue-blind)
#9C3F62
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982d9d;
/* rgb */ color: rgb(152, 45, 157);
/* oklch */ color: oklch(50.4% 0.191 326.0);
Tailwind
colors: {
  custom: {
    50: '#ba70ba',
    500: '#982d9d',
    950: '#000000',
  },
}
SCSS
$custom: #982d9d;
$custom-light: #ba70ba;
$custom-dark: #000000;
JSON
{
  "hex": "#982d9d",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 297.321,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.504,
    "c": 0.19138,
    "h": 326
  },
  "luminance": 0.10986
}

Semantic roles & 50–950 ramp

primary
#982D9D
secondary
#6DBD69
accent
#DF4950
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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