#982B8A#982B8A

#982B8A is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.179 H 333.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#982B8A
RGBrgb(152, 43, 138)
HSLhsl(308, 56%, 38%)
HSVhsv(308, 72%, 60%)
CMYKcmyk(0%, 71.7%, 9.2%, 40.4%)
CIE-LABlab(38.27, 55.33, -28.98)
CIE-LCHlch(38.27, 62.45, 332.36°)
OKLaboklab(49.14% 0.1601 -0.0794)
OKLCHoklch(49.14% 0.179 333.6)
XYZxyz(18.4003, 10.2397, 25.0472)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982B8A #2B9839
analogous
#6F2B98 #982B8A #982B54
triadic
#982B8A #8A982B #2B8A98
tetradic
#982B8A #986F2B #2B9839 #2B5498
square
#982B8A #986F2B #2B9839 #2B5498
split-complementary
#982B8A #54982B #2B986F
monochromatic
#391033 #681E5F #982B8A #C739B5 #D569C7

Accessibility & contrast

On white

6.89
#982B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#982B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982B8A
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982B8A#FFFFFF#000000##FFFFFF
##982B8A1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508D
Deuteranopia (green-blind)
#4F6087
Tritanopia (blue-blind)
#9F3557
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982b8a;
/* rgb */ color: rgb(152, 43, 138);
/* oklch */ color: oklch(49.1% 0.179 333.6);
Tailwind
colors: {
  custom: {
    50: '#ba6fac',
    500: '#982b8a',
    950: '#000000',
  },
}
SCSS
$custom: #982b8a;
$custom-light: #ba6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#982b8a",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 307.706,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49137,
    "c": 0.1787,
    "h": 333.6
  },
  "luminance": 0.10238
}

Semantic roles & 50–950 ramp

primary
#982B8A
secondary
#64BB6F
accent
#DF5C49
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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