#982B8D#982B8D

#982B8D is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.181 H 332.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#982B8D
RGBrgb(152, 43, 141)
HSLhsl(306, 56%, 38%)
HSVhsv(306, 72%, 60%)
CMYKcmyk(0%, 71.7%, 7.2%, 40.4%)
CIE-LABlab(38.42, 55.81, -30.57)
CIE-LCHlch(38.42, 63.63, 331.28°)
OKLaboklab(49.3% 0.1603 -0.0839)
OKLCHoklch(49.3% 0.181 332.4)
XYZxyz(18.6205, 10.3277, 26.2069)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982B8D #2B9836
analogous
#6C2B98 #982B8D #982B56
triadic
#982B8D #8D982B #2B8D98
tetradic
#982B8D #986C2B #2B9836 #2B5698
square
#982B8D #986C2B #2B9836 #2B5698
split-complementary
#982B8D #56982B #2B986C
monochromatic
#391034 #681E61 #982B8D #C739B9 #D569CA

Accessibility & contrast

On white

6.85
#982B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#982B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982B8D
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982B8D#FFFFFF#000000##FFFFFF
##982B8D1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255190
Deuteranopia (green-blind)
#4E608A
Tritanopia (blue-blind)
#9F3659
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982b8d;
/* rgb */ color: rgb(152, 43, 141);
/* oklch */ color: oklch(49.3% 0.181 332.4);
Tailwind
colors: {
  custom: {
    50: '#ba6fae',
    500: '#982b8d',
    950: '#000000',
  },
}
SCSS
$custom: #982b8d;
$custom-light: #ba6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#982b8d",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 306.055,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.493,
    "c": 0.18098,
    "h": 332.4
  },
  "luminance": 0.10326
}

Semantic roles & 50–950 ramp

primary
#982B8D
secondary
#64BB6D
accent
#DF5849
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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