#984BAE#984BAE

#984BAE is a mid, vivid purple. Relative luminance 0.148; OKLCH L 54.9% C 0.165 H 318.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#984BAE
RGBrgb(152, 75, 174)
HSLhsl(287, 40%, 49%)
HSVhsv(287, 57%, 68%)
CMYKcmyk(12.6%, 56.9%, 0%, 31.8%)
CIE-LABlab(45.31, 47.78, -39.50)
CIE-LCHlch(45.31, 61.99, 320.42°)
OKLaboklab(54.87% 0.1232 -0.11)
OKLCHoklch(54.87% 0.165 318.2)
XYZxyz(23.1039, 14.7644, 41.6690)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BAE #61AE4B
analogous
#674BAE #984BAE #AE4B93
triadic
#984BAE #AE984B #4BAE98
tetradic
#984BAE #AE674B #61AE4B #4B93AE
square
#984BAE #AE674B #61AE4B #4B93AE
split-complementary
#984BAE #93AE4B #4BAE67
monochromatic
#4D2658 #733983 #984BAE #B173C3 #C99ED5

Accessibility & contrast

On white

5.31
#984BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#984BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BAE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BAE#FFFFFF#000000##FFFFFF
##984BAE1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3566B1
Deuteranopia (green-blind)
#506EAB
Tritanopia (blue-blind)
#985A75
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #984bae;
/* rgb */ color: rgb(152, 75, 174);
/* oklch */ color: oklch(54.9% 0.165 318.2);
Tailwind
colors: {
  custom: {
    50: '#b981c6',
    500: '#984bae',
    950: '#000000',
  },
}
SCSS
$custom: #984bae;
$custom-light: #b981c6;
$custom-dark: #000000;
JSON
{
  "hex": "#984bae",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 286.667,
    "s": 39.759,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54874,
    "c": 0.1652,
    "h": 318.2
  },
  "luminance": 0.14764
}

Semantic roles & 50–950 ramp

primary
#984BAE
secondary
#9DC293
accent
#D05873
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #984BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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