#981D84#981D84

#981D84 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.189 H 336.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#981D84
RGBrgb(152, 29, 132)
HSLhsl(310, 68%, 35%)
HSVhsv(310, 81%, 60%)
CMYKcmyk(0%, 80.9%, 13.2%, 40.4%)
CIE-LABlab(36.41, 58.84, -28.20)
CIE-LCHlch(36.41, 65.25, 334.39°)
OKLaboklab(47.7% 0.1728 -0.077)
OKLCHoklch(47.7% 0.189 336)
XYZxyz(17.5534, 9.2217, 22.6808)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D84 #1D9831
analogous
#6E1D98 #981D84 #981D46
triadic
#981D84 #84981D #1D8498
tetradic
#981D84 #986E1D #1D9831 #1D4698
square
#981D84 #986E1D #1D9831 #1D4698
split-complementary
#981D84 #46981D #1D986E
monochromatic
#31092B #651357 #981D84 #CB27B1 #DE52C7

Accessibility & contrast

On white

7.38
#981D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#981D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981D84
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D84#FFFFFF#000000##FFFFFF
##981D841.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4A87
Deuteranopia (green-blind)
#4D5C81
Tritanopia (blue-blind)
#A02850
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #981d84;
/* rgb */ color: rgb(152, 29, 132);
/* oklch */ color: oklch(47.7% 0.189 336.0);
Tailwind
colors: {
  custom: {
    50: '#ba69a8',
    500: '#981d84',
    950: '#000000',
  },
}
SCSS
$custom: #981d84;
$custom-light: #ba69a8;
$custom-dark: #000000;
JSON
{
  "hex": "#981d84",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 309.756,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47698,
    "c": 0.18915,
    "h": 336
  },
  "luminance": 0.0922
}

Semantic roles & 50–950 ramp

primary
#981D84
secondary
#50C162
accent
#EB593D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #981D84

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

Preview Lab → · Contrast checker → · Palette generator →

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