#982D8D#982D8D

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

Color values

HEX#982D8D
RGBrgb(152, 45, 141)
HSLhsl(306, 54%, 39%)
HSVhsv(306, 70%, 60%)
CMYKcmyk(0%, 70.4%, 7.2%, 40.4%)
CIE-LABlab(38.68, 55.07, -30.16)
CIE-LCHlch(38.68, 62.79, 331.29°)
OKLaboklab(49.49% 0.1582 -0.0828)
OKLCHoklch(49.49% 0.179 332.4)
XYZxyz(18.6950, 10.4768, 26.2317)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982D8D #2D9838
analogous
#6D2D98 #982D8D #982D57
triadic
#982D8D #8D982D #2D8D98
tetradic
#982D8D #986D2D #2D9838 #2D5798
square
#982D8D #986D2D #2D9838 #2D5798
split-complementary
#982D8D #57982D #2D986D
monochromatic
#3A1135 #691F61 #982D8D #C53DB7 #D36CC9

Accessibility & contrast

On white

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

On black

3.10
#982D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##982D8D#FFFFFF#000000##FFFFFF
##982D8D1.006.793.106.79
#FFFFFF6.791.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285190
Deuteranopia (green-blind)
#4F608A
Tritanopia (blue-blind)
#9F3859
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #982d8d;
/* rgb */ color: rgb(152, 45, 141);
/* oklch */ color: oklch(49.5% 0.179 332.4);
Tailwind
colors: {
  custom: {
    50: '#ba70ae',
    500: '#982d8d',
    950: '#000000',
  },
}
SCSS
$custom: #982d8d;
$custom-light: #ba70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#982d8d",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 306.168,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49488,
    "c": 0.17854,
    "h": 332.4
  },
  "luminance": 0.10475
}

Semantic roles & 50–950 ramp

primary
#982D8D
secondary
#66BA6F
accent
#DE594A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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