#982D87#982D87

#982D87 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.2% C 0.174 H 335.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#982D87
RGBrgb(152, 45, 135)
HSLhsl(310, 54%, 39%)
HSVhsv(310, 70%, 60%)
CMYKcmyk(0%, 70.4%, 11.2%, 40.4%)
CIE-LABlab(38.38, 54.11, -26.96)
CIE-LCHlch(38.38, 60.45, 333.52°)
OKLaboklab(49.17% 0.1576 -0.0736)
OKLCHoklch(49.17% 0.174 335)
XYZxyz(18.2606, 10.3030, 23.9439)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982D87 #2D983E
analogous
#732D98 #982D87 #982D51
triadic
#982D87 #87982D #2D8798
tetradic
#982D87 #98732D #2D983E #2D5198
square
#982D87 #98732D #2D983E #2D5198
split-complementary
#982D87 #51982D #2D9873
monochromatic
#3A1133 #691F5D #982D87 #C53DB0 #D36CC3

Accessibility & contrast

On white

6.86
#982D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#982D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982D87
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982D87#FFFFFF#000000##FFFFFF
##982D871.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D508A
Deuteranopia (green-blind)
#516084
Tritanopia (blue-blind)
#9F3556
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982d87;
/* rgb */ color: rgb(152, 45, 135);
/* oklch */ color: oklch(49.2% 0.174 335.0);
Tailwind
colors: {
  custom: {
    50: '#ba70aa',
    500: '#982d87',
    950: '#000000',
  },
}
SCSS
$custom: #982d87;
$custom-light: #ba70aa;
$custom-dark: #000000;
JSON
{
  "hex": "#982d87",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 309.533,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49169,
    "c": 0.17397,
    "h": 335
  },
  "luminance": 0.10301
}

Semantic roles & 50–950 ramp

primary
#982D87
secondary
#66BA74
accent
#DE624A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982D87

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

Preview Lab → · Contrast checker → · Palette generator →

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