#984E9C#984E9C

#984E9C is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.3% C 0.142 H 325.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#984E9C
RGBrgb(152, 78, 156)
HSLhsl(297, 33%, 46%)
HSVhsv(297, 50%, 61%)
CMYKcmyk(2.6%, 50%, 0%, 38.8%)
CIE-LABlab(44.98, 42.63, -29.36)
CIE-LCHlch(44.98, 51.76, 325.45°)
OKLaboklab(54.33% 0.117 -0.0807)
OKLCHoklch(54.33% 0.142 325.4)
XYZxyz(21.6735, 14.5256, 33.1081)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984E9C #529C4E
analogous
#714E9C #984E9C #9C4E79
triadic
#984E9C #9C984E #4E9C98
tetradic
#984E9C #9C714E #529C4E #4E799C
square
#984E9C #9C714E #529C4E #4E799C
split-complementary
#984E9C #799C4E #4E9C71
monochromatic
#48254A #703A73 #984E9C #B470B7 #C999CC

Accessibility & contrast

On white

5.38
#984E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#984E9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984E9C
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984E9C#FFFFFF#000000##FFFFFF
##984E9C1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45659F
Deuteranopia (green-blind)
#5B6E9A
Tritanopia (blue-blind)
#9B576E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #984e9c;
/* rgb */ color: rgb(152, 78, 156);
/* oklch */ color: oklch(54.3% 0.142 325.4);
Tailwind
colors: {
  custom: {
    50: '#b882b9',
    500: '#984e9c',
    950: '#000000',
  },
}
SCSS
$custom: #984e9c;
$custom-light: #b882b9;
$custom-dark: #000000;
JSON
{
  "hex": "#984e9c",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 156
  },
  "hsl": {
    "h": 296.923,
    "s": 33.333,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54332,
    "c": 0.14213,
    "h": 325.4
  },
  "luminance": 0.14524
}

Semantic roles & 50–950 ramp

primary
#984E9C
secondary
#90B88D
accent
#C95E64
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #984E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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