#982D9B#982D9B

#982D9B is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.190 H 326.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#982D9B
RGBrgb(152, 45, 155)
HSLhsl(298, 55%, 39%)
HSVhsv(298, 71%, 61%)
CMYKcmyk(1.9%, 71%, 0%, 39.2%)
CIE-LABlab(39.45, 57.43, -37.47)
CIE-LCHlch(39.45, 68.57, 326.88°)
OKLaboklab(50.28% 0.1587 -0.1039)
OKLCHoklch(50.28% 0.19 326.8)
XYZxyz(19.8033, 10.9201, 32.0687)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982D9B #309B2D
analogous
#612D9B #982D9B #9B2D67
triadic
#982D9B #9B982D #2D9B98
tetradic
#982D9B #9B612D #309B2D #2D679B
square
#982D9B #9B612D #309B2D #2D679B
split-complementary
#982D9B #679B2D #2D9B61
monochromatic
#3B113C #691F6C #982D9B #C33EC7 #D26ED5

Accessibility & contrast

On white

6.60
#982D9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #982D9B
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982D9B#FFFFFF#000000##FFFFFF
##982D9B1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16549E
Deuteranopia (green-blind)
#476298
Tritanopia (blue-blind)
#9C3E61
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982d9b;
/* rgb */ color: rgb(152, 45, 155);
/* oklch */ color: oklch(50.3% 0.190 326.8);
Tailwind
colors: {
  custom: {
    50: '#ba70b9',
    500: '#982d9b',
    950: '#000000',
  },
}
SCSS
$custom: #982d9b;
$custom-light: #ba70b9;
$custom-dark: #000000;
JSON
{
  "hex": "#982d9b",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 298.364,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50281,
    "c": 0.18974,
    "h": 326.8
  },
  "luminance": 0.10919
}

Semantic roles & 50–950 ramp

primary
#982D9B
secondary
#6ABC68
accent
#DE494E
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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