#982B87#982B87

#982B87 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.0% C 0.176 H 334.9°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#982B87
RGBrgb(152, 43, 135)
HSLhsl(309, 56%, 38%)
HSVhsv(309, 72%, 60%)
CMYKcmyk(0%, 71.7%, 11.2%, 40.4%)
CIE-LABlab(38.12, 54.85, -27.37)
CIE-LCHlch(38.12, 61.30, 333.48°)
OKLaboklab(48.98% 0.1598 -0.0747)
OKLCHoklch(48.98% 0.176 334.9)
XYZxyz(18.1861, 10.1540, 23.9191)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982B87 #2B983C
analogous
#722B98 #982B87 #982B50
triadic
#982B87 #87982B #2B8798
tetradic
#982B87 #98722B #2B983C #2B5098
square
#982B87 #98722B #2B983C #2B5098
split-complementary
#982B87 #50982B #2B9872
monochromatic
#391032 #681E5D #982B87 #C739B1 #D569C4

Accessibility & contrast

On white

6.93
#982B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#982B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982B87
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982B87#FFFFFF#000000##FFFFFF
##982B871.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4F8A
Deuteranopia (green-blind)
#505F84
Tritanopia (blue-blind)
#9F3355
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982b87;
/* rgb */ color: rgb(152, 43, 135);
/* oklch */ color: oklch(49.0% 0.176 334.9);
Tailwind
colors: {
  custom: {
    50: '#ba6faa',
    500: '#982b87',
    950: '#000000',
  },
}
SCSS
$custom: #982b87;
$custom-light: #ba6faa;
$custom-dark: #000000;
JSON
{
  "hex": "#982b87",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 309.358,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48978,
    "c": 0.17645,
    "h": 334.9
  },
  "luminance": 0.10152
}

Semantic roles & 50–950 ramp

primary
#982B87
secondary
#64BB71
accent
#DF6049
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982B87

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

Preview Lab → · Contrast checker → · Palette generator →

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