#984E8D#984E8D

#984E8D is a mid, vivid purple. Relative luminance 0.140; OKLCH L 53.6% C 0.128 H 333.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#984E8D
RGBrgb(152, 78, 141)
HSLhsl(309, 32%, 45%)
HSVhsv(309, 49%, 60%)
CMYKcmyk(0%, 48.7%, 7.2%, 40.4%)
CIE-LABlab(44.30, 39.84, -21.41)
CIE-LCHlch(44.30, 45.23, 331.74°)
OKLaboklab(53.61% 0.1141 -0.0581)
OKLCHoklch(53.61% 0.128 333)
XYZxyz(20.4809, 14.0485, 26.8270)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984E8D #4E9859
analogous
#7E4E98 #984E8D #984E68
triadic
#984E8D #8D984E #4E8D98
tetradic
#984E8D #987E4E #4E9859 #4E6898
square
#984E8D #987E4E #4E9859 #4E6898
split-complementary
#984E8D #68984E #4E987E
monochromatic
#472442 #703967 #984E8D #B56EAA #CA97C2

Accessibility & contrast

On white

5.51
#984E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#984E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984E8D
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984E8D#FFFFFF#000000##FFFFFF
##984E8D1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D628F
Deuteranopia (green-blind)
#616D8B
Tritanopia (blue-blind)
#9E5367
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #984e8d;
/* rgb */ color: rgb(152, 78, 141);
/* oklch */ color: oklch(53.6% 0.128 333.0);
Tailwind
colors: {
  custom: {
    50: '#b882ae',
    500: '#984e8d',
    950: '#000000',
  },
}
SCSS
$custom: #984e8d;
$custom-light: #b882ae;
$custom-dark: #000000;
JSON
{
  "hex": "#984e8d",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 308.919,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5361,
    "c": 0.12801,
    "h": 333
  },
  "luminance": 0.14047
}

Semantic roles & 50–950 ramp

primary
#984E8D
secondary
#8CB692
accent
#C86F5F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #984E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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