#982B9B#982B9B

#982B9B is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.192 H 326.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#982B9B
RGBrgb(152, 43, 155)
HSLhsl(298, 57%, 39%)
HSVhsv(298, 72%, 61%)
CMYKcmyk(1.9%, 72.3%, 0%, 39.2%)
CIE-LABlab(39.19, 58.15, -37.87)
CIE-LCHlch(39.19, 69.39, 326.92°)
OKLaboklab(50.1% 0.1608 -0.1051)
OKLCHoklch(50.1% 0.192 326.8)
XYZxyz(19.7288, 10.7711, 32.0439)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982B9B #2E9B2B
analogous
#602B9B #982B9B #9B2B66
triadic
#982B9B #9B982B #2B9B98
tetradic
#982B9B #9B602B #2E9B2B #2B669B
square
#982B9B #9B602B #2E9B2B #2B669B
split-complementary
#982B9B #669B2B #2B9B60
monochromatic
#3A103B #691E6B #982B9B #C53BC9 #D36BD6

Accessibility & contrast

On white

6.66
#982B9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#982B9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982B9B
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982B9B#FFFFFF#000000##FFFFFF
##982B9B1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12539E
Deuteranopia (green-blind)
#466198
Tritanopia (blue-blind)
#9C3D60
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #982b9b;
/* rgb */ color: rgb(152, 43, 155);
/* oklch */ color: oklch(50.1% 0.192 326.8);
Tailwind
colors: {
  custom: {
    50: '#ba6fb9',
    500: '#982b9b',
    950: '#000000',
  },
}
SCSS
$custom: #982b9b;
$custom-light: #ba6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#982b9b",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 298.393,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.501,
    "c": 0.19206,
    "h": 326.8
  },
  "luminance": 0.1077
}

Semantic roles & 50–950 ramp

primary
#982B9B
secondary
#68BC65
accent
#E0484C
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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