#984EBF#984EBF

#984EBF is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.3% C 0.178 H 312.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#984EBF
RGBrgb(152, 78, 191)
HSLhsl(279, 47%, 53%)
HSVhsv(279, 59%, 75%)
CMYKcmyk(20.4%, 59.2%, 0%, 25.1%)
CIE-LABlab(46.83, 49.88, -47.03)
CIE-LCHlch(46.83, 68.56, 316.69°)
OKLaboklab(56.29% 0.12 -0.132)
OKLCHoklch(56.29% 0.178 312.3)
XYZxyz(25.0756, 15.8864, 51.0256)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984EBF #75BF4E
analogous
#5F4EBF #984EBF #BF4EAD
triadic
#984EBF #BF984E #4EBF98
tetradic
#984EBF #BF5F4E #75BF4E #4EADBF
square
#984EBF #BF5F4E #75BF4E #4EADBF
split-complementary
#984EBF #ADBF4E #4EBF5F
monochromatic
#54276C #773799 #984EBF #B27BCF #CCA8E0

Accessibility & contrast

On white

5.03
#984EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#984EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984EBF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984EBF#FFFFFF#000000##FFFFFF
##984EBF1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286BC3
Deuteranopia (green-blind)
#4771BC
Tritanopia (blue-blind)
#94627F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #984ebf;
/* rgb */ color: rgb(152, 78, 191);
/* oklch */ color: oklch(56.3% 0.178 312.3);
Tailwind
colors: {
  custom: {
    50: '#b983d3',
    500: '#984ebf',
    950: '#000000',
  },
}
SCSS
$custom: #984ebf;
$custom-light: #b983d3;
$custom-dark: #000000;
JSON
{
  "hex": "#984ebf",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 279.292,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56289,
    "c": 0.17842,
    "h": 312.3
  },
  "luminance": 0.15886
}

Semantic roles & 50–950 ramp

primary
#984EBF
secondary
#ADCD9C
accent
#D7517F
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #984EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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