#981B82#981B82

#981B82 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.5% C 0.190 H 336.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#981B82
RGBrgb(152, 27, 130)
HSLhsl(311, 70%, 35%)
HSVhsv(311, 82%, 60%)
CMYKcmyk(0%, 82.2%, 14.5%, 40.4%)
CIE-LABlab(36.12, 59.07, -27.40)
CIE-LCHlch(36.12, 65.12, 335.11°)
OKLaboklab(47.46% 0.1742 -0.0747)
OKLCHoklch(47.46% 0.19 336.8)
XYZxyz(17.3704, 9.0727, 21.9511)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B82 #1B9831
analogous
#6F1B98 #981B82 #981B44
triadic
#981B82 #82981B #1B8298
tetradic
#981B82 #986F1B #1B9831 #1B4498
square
#981B82 #986F1B #1B9831 #1B4498
split-complementary
#981B82 #44981B #1B986F
monochromatic
#300929 #641256 #981B82 #CC24AE #E04EC6

Accessibility & contrast

On white

7.46
#981B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#981B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981B82
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981B82#FFFFFF#000000##FFFFFF
##981B821.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4985
Deuteranopia (green-blind)
#4D5C7F
Tritanopia (blue-blind)
#A0254E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #981b82;
/* rgb */ color: rgb(152, 27, 130);
/* oklch */ color: oklch(47.5% 0.190 336.8);
Tailwind
colors: {
  custom: {
    50: '#ba68a6',
    500: '#981b82',
    950: '#000000',
  },
}
SCSS
$custom: #981b82;
$custom-light: #ba68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#981b82",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 310.56,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47461,
    "c": 0.18953,
    "h": 336.8
  },
  "luminance": 0.09071
}

Semantic roles & 50–950 ramp

primary
#981B82
secondary
#4DC262
accent
#ED5A3B
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #981B82

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

Preview Lab → · Contrast checker → · Palette generator →

#981B82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva