#981F83#981F83

#981F83 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.187 H 336.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#981F83
RGBrgb(152, 31, 131)
HSLhsl(310, 66%, 36%)
HSVhsv(310, 80%, 60%)
CMYKcmyk(0%, 79.6%, 13.8%, 40.4%)
CIE-LABlab(36.55, 58.14, -27.36)
CIE-LCHlch(36.55, 64.26, 334.80°)
OKLaboklab(47.78% 0.171 -0.0746)
OKLCHoklch(47.78% 0.187 336.4)
XYZxyz(17.5359, 9.2957, 22.3390)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F83 #1F9834
analogous
#701F98 #981F83 #981F46
triadic
#981F83 #83981F #1F8398
tetradic
#981F83 #98701F #1F9834 #1F4698
square
#981F83 #98701F #1F9834 #1F4698
split-complementary
#981F83 #46981F #1F9870
monochromatic
#320A2B #651557 #981F83 #CB29AF #DC55C5

Accessibility & contrast

On white

7.35
#981F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#981F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F83
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F83#FFFFFF#000000##FFFFFF
##981F831.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224A86
Deuteranopia (green-blind)
#4E5C80
Tritanopia (blue-blind)
#A02850
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #981f83;
/* rgb */ color: rgb(152, 31, 131);
/* oklch */ color: oklch(47.8% 0.187 336.4);
Tailwind
colors: {
  custom: {
    50: '#ba6aa7',
    500: '#981f83',
    950: '#000000',
  },
}
SCSS
$custom: #981f83;
$custom-light: #ba6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#981f83",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 310.413,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47782,
    "c": 0.18661,
    "h": 336.4
  },
  "luminance": 0.09294
}

Semantic roles & 50–950 ramp

primary
#981F83
secondary
#53C066
accent
#E95C3F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #981F83

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

Preview Lab → · Contrast checker → · Palette generator →

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