#984CAF#984CAF

#984CAF is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.1% C 0.165 H 317.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#984CAF
RGBrgb(152, 76, 175)
HSLhsl(286, 39%, 49%)
HSVhsv(286, 57%, 69%)
CMYKcmyk(13.1%, 56.6%, 0%, 31.4%)
CIE-LABlab(45.55, 47.48, -39.70)
CIE-LCHlch(45.55, 61.89, 320.10°)
OKLaboklab(55.07% 0.122 -0.1106)
OKLCHoklch(55.07% 0.165 317.8)
XYZxyz(23.2701, 14.9403, 42.2071)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CAF #63AF4C
analogous
#674CAF #984CAF #AF4C95
triadic
#984CAF #AF984C #4CAF98
tetradic
#984CAF #AF674C #63AF4C #4C95AF
square
#984CAF #AF674C #63AF4C #4C95AF
split-complementary
#984CAF #95AF4C #4CAF67
monochromatic
#4E275A #733984 #984CAF #B175C3 #C9A0D6

Accessibility & contrast

On white

5.27
#984CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#984CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CAF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CAF#FFFFFF#000000##FFFFFF
##984CAF1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#506EAC
Tritanopia (blue-blind)
#985C76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #984caf;
/* rgb */ color: rgb(152, 76, 175);
/* oklch */ color: oklch(55.1% 0.165 317.8);
Tailwind
colors: {
  custom: {
    50: '#b982c7',
    500: '#984caf',
    950: '#000000',
  },
}
SCSS
$custom: #984caf;
$custom-light: #b982c7;
$custom-dark: #000000;
JSON
{
  "hex": "#984caf",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 286.061,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55069,
    "c": 0.16467,
    "h": 317.8
  },
  "luminance": 0.14939
}

Semantic roles & 50–950 ramp

primary
#984CAF
secondary
#9FC294
accent
#CF5874
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #984CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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