#984EAF#984EAF

#984EAF is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.3% C 0.161 H 317.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#984EAF
RGBrgb(152, 78, 175)
HSLhsl(286, 38%, 50%)
HSVhsv(286, 55%, 69%)
CMYKcmyk(13.1%, 55.4%, 0%, 31.4%)
CIE-LABlab(45.93, 46.46, -39.10)
CIE-LCHlch(45.93, 60.72, 319.92°)
OKLaboklab(55.35% 0.1193 -0.1089)
OKLCHoklch(55.35% 0.161 317.6)
XYZxyz(23.4101, 15.2202, 42.2538)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984EAF #65AF4E
analogous
#674EAF #984EAF #AF4E96
triadic
#984EAF #AF984E #4EAF98
tetradic
#984EAF #AF674E #65AF4E #4E96AF
square
#984EAF #AF674E #65AF4E #4E96AF
split-complementary
#984EAF #96AF4E #4EAF67
monochromatic
#4E285A #733B85 #984EAF #B178C3 #C9A2D6

Accessibility & contrast

On white

5.19
#984EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#984EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984EAF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984EAF#FFFFFF#000000##FFFFFF
##984EAF1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3868B2
Deuteranopia (green-blind)
#516FAC
Tritanopia (blue-blind)
#985D77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #984eaf;
/* rgb */ color: rgb(152, 78, 175);
/* oklch */ color: oklch(55.3% 0.161 317.6);
Tailwind
colors: {
  custom: {
    50: '#b983c7',
    500: '#984eaf',
    950: '#000000',
  },
}
SCSS
$custom: #984eaf;
$custom-light: #b983c7;
$custom-dark: #000000;
JSON
{
  "hex": "#984eaf",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 285.773,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55349,
    "c": 0.16149,
    "h": 317.6
  },
  "luminance": 0.15219
}

Semantic roles & 50–950 ramp

primary
#984EAF
secondary
#A1C396
accent
#CE5A75
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #984EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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