#984AAF#984AAF

#984AAF is a mid, vivid purple. Relative luminance 0.147; OKLCH L 54.8% C 0.168 H 318.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#984AAF
RGBrgb(152, 74, 175)
HSLhsl(286, 41%, 49%)
HSVhsv(286, 58%, 69%)
CMYKcmyk(13.1%, 57.7%, 0%, 31.4%)
CIE-LABlab(45.18, 48.49, -40.30)
CIE-LCHlch(45.18, 63.05, 320.27°)
OKLaboklab(54.79% 0.1246 -0.1124)
OKLCHoklch(54.79% 0.168 318)
XYZxyz(23.1345, 14.6690, 42.1619)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984AAF #61AF4A
analogous
#664AAF #984AAF #AF4A94
triadic
#984AAF #AF984A #4AAF98
tetradic
#984AAF #AF664A #61AF4A #4A94AF
square
#984AAF #AF664A #61AF4A #4A94AF
split-complementary
#984AAF #94AF4A #4AAF66
monochromatic
#4D2659 #733884 #984AAF #B173C4 #C99ED6

Accessibility & contrast

On white

5.34
#984AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#984AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984AAF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984AAF#FFFFFF#000000##FFFFFF
##984AAF1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3266B2
Deuteranopia (green-blind)
#4E6DAC
Tritanopia (blue-blind)
#985A75
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #984aaf;
/* rgb */ color: rgb(152, 74, 175);
/* oklch */ color: oklch(54.8% 0.168 318.0);
Tailwind
colors: {
  custom: {
    50: '#b980c7',
    500: '#984aaf',
    950: '#000000',
  },
}
SCSS
$custom: #984aaf;
$custom-light: #b980c7;
$custom-dark: #000000;
JSON
{
  "hex": "#984aaf",
  "rgb": {
    "r": 152,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 286.337,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54794,
    "c": 0.16779,
    "h": 318
  },
  "luminance": 0.14668
}

Semantic roles & 50–950 ramp

primary
#984AAF
secondary
#9DC292
accent
#D05773
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120A13
muted
#817C82

Preview Lab

Preview with #984AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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