#984E97#984E97

#984E97 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.1% C 0.137 H 327.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#984E97
RGBrgb(152, 78, 151)
HSLhsl(301, 32%, 45%)
HSVhsv(301, 49%, 60%)
CMYKcmyk(0%, 48.7%, 0.7%, 40.4%)
CIE-LABlab(44.74, 41.68, -26.73)
CIE-LCHlch(44.74, 49.52, 327.32°)
OKLaboklab(54.08% 0.1161 -0.0732)
OKLCHoklch(54.08% 0.137 327.8)
XYZxyz(21.2589, 14.3597, 30.9241)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984E97 #4E984F
analogous
#744E98 #984E97 #984E72
triadic
#984E97 #97984E #4E9798
tetradic
#984E97 #98744E #4E984F #4E7298
square
#984E97 #98744E #4E984F #4E7298
split-complementary
#984E97 #72984E #4E9874
monochromatic
#472447 #70396F #984E97 #B56EB4 #CA97C9

Accessibility & contrast

On white

5.42
#984E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#984E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984E97
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984E97#FFFFFF#000000##FFFFFF
##984E971.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486499
Deuteranopia (green-blind)
#5D6D95
Tritanopia (blue-blind)
#9C566B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #984e97;
/* rgb */ color: rgb(152, 78, 151);
/* oklch */ color: oklch(54.1% 0.137 327.8);
Tailwind
colors: {
  custom: {
    50: '#b882b6',
    500: '#984e97',
    950: '#000000',
  },
}
SCSS
$custom: #984e97;
$custom-light: #b882b6;
$custom-dark: #000000;
JSON
{
  "hex": "#984e97",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 300.811,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54083,
    "c": 0.13727,
    "h": 327.8
  },
  "luminance": 0.14359
}

Semantic roles & 50–950 ramp

primary
#984E97
secondary
#8CB68C
accent
#C8615F
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #984E97

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

Preview Lab → · Contrast checker → · Palette generator →

#984E97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva