#982D83#982D83

#982D83 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.171 H 336.8°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#982D83
RGBrgb(152, 45, 131)
HSLhsl(312, 54%, 39%)
HSVhsv(312, 70%, 60%)
CMYKcmyk(0%, 70.4%, 13.8%, 40.4%)
CIE-LABlab(38.19, 53.49, -24.80)
CIE-LCHlch(38.19, 58.96, 335.13°)
OKLaboklab(48.96% 0.1572 -0.0674)
OKLCHoklch(48.96% 0.171 336.8)
XYZxyz(17.9843, 10.1925, 22.4885)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982D83 #2D9842
analogous
#772D98 #982D83 #982D4D
triadic
#982D83 #83982D #2D8398
tetradic
#982D83 #98772D #2D9842 #2D4D98
square
#982D83 #98772D #2D9842 #2D4D98
split-complementary
#982D83 #4D982D #2D9877
monochromatic
#3A1132 #691F5A #982D83 #C53DAB #D36CBF

Accessibility & contrast

On white

6.91
#982D83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#982D83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982D83
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982D83#FFFFFF#000000##FFFFFF
##982D831.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4F85
Deuteranopia (green-blind)
#536080
Tritanopia (blue-blind)
#A03354
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982d83;
/* rgb */ color: rgb(152, 45, 131);
/* oklch */ color: oklch(49.0% 0.171 336.8);
Tailwind
colors: {
  custom: {
    50: '#ba6fa7',
    500: '#982d83',
    950: '#000000',
  },
}
SCSS
$custom: #982d83;
$custom-light: #ba6fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#982d83",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 311.776,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48964,
    "c": 0.17101,
    "h": 336.8
  },
  "luminance": 0.10191
}

Semantic roles & 50–950 ramp

primary
#982D83
secondary
#66BA77
accent
#DE674A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #982D83

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

Preview Lab → · Contrast checker → · Palette generator →

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