#984E8F#984E8F

#984E8F is a mid, vivid purple. Relative luminance 0.141; OKLCH L 53.7% C 0.130 H 331.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#984E8F
RGBrgb(152, 78, 143)
HSLhsl(307, 32%, 45%)
HSVhsv(307, 49%, 60%)
CMYKcmyk(0%, 48.7%, 5.9%, 40.4%)
CIE-LABlab(44.39, 40.20, -22.48)
CIE-LCHlch(44.39, 46.06, 330.78°)
OKLaboklab(53.7% 0.1145 -0.0611)
OKLCHoklch(53.7% 0.13 331.9)
XYZxyz(20.6311, 14.1086, 27.6178)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984E8F #4E9857
analogous
#7C4E98 #984E8F #984E6A
triadic
#984E8F #8F984E #4E8F98
tetradic
#984E8F #987C4E #4E9857 #4E6A98
square
#984E8F #987C4E #4E9857 #4E6A98
split-complementary
#984E8F #6A984E #4E987C
monochromatic
#472443 #703969 #984E8F #B56EAC #CA97C3

Accessibility & contrast

On white

5.50
#984E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#984E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984E8F
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984E8F#FFFFFF#000000##FFFFFF
##984E8F1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6291
Deuteranopia (green-blind)
#616D8D
Tritanopia (blue-blind)
#9D5368
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #984e8f;
/* rgb */ color: rgb(152, 78, 143);
/* oklch */ color: oklch(53.7% 0.130 331.9);
Tailwind
colors: {
  custom: {
    50: '#b882b0',
    500: '#984e8f',
    950: '#000000',
  },
}
SCSS
$custom: #984e8f;
$custom-light: #b882b0;
$custom-dark: #000000;
JSON
{
  "hex": "#984e8f",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 307.297,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53702,
    "c": 0.12981,
    "h": 331.9
  },
  "luminance": 0.14107
}

Semantic roles & 50–950 ramp

primary
#984E8F
secondary
#8CB691
accent
#C86C5F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #984E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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