#984E9B#984E9B

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

Color values

HEX#984E9B
RGBrgb(152, 78, 155)
HSLhsl(298, 33%, 46%)
HSVhsv(298, 50%, 61%)
CMYKcmyk(1.9%, 49.7%, 0%, 39.2%)
CIE-LABlab(44.93, 42.44, -28.83)
CIE-LCHlch(44.93, 51.31, 325.81°)
OKLaboklab(54.28% 0.1168 -0.0792)
OKLCHoklch(54.28% 0.141 325.8)
XYZxyz(21.5892, 14.4918, 32.6640)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984E9B #519B4E
analogous
#714E9B #984E9B #9B4E77
triadic
#984E9B #9B984E #4E9B98
tetradic
#984E9B #9B714E #519B4E #4E779B
square
#984E9B #9B714E #519B4E #4E779B
split-complementary
#984E9B #779B4E #4E9B71
monochromatic
#48254A #703A72 #984E9B #B46FB7 #C998CB

Accessibility & contrast

On white

5.39
#984E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #984E9B
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984E9B#FFFFFF#000000##FFFFFF
##984E9B1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46649E
Deuteranopia (green-blind)
#5C6E99
Tritanopia (blue-blind)
#9B576D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #984e9b;
/* rgb */ color: rgb(152, 78, 155);
/* oklch */ color: oklch(54.3% 0.141 325.8);
Tailwind
colors: {
  custom: {
    50: '#b882b9',
    500: '#984e9b',
    950: '#000000',
  },
}
SCSS
$custom: #984e9b;
$custom-light: #b882b9;
$custom-dark: #000000;
JSON
{
  "hex": "#984e9b",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 297.662,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54281,
    "c": 0.14115,
    "h": 325.8
  },
  "luminance": 0.14491
}

Semantic roles & 50–950 ramp

primary
#984E9B
secondary
#8FB88D
accent
#C95F63
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #984E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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