#984EBC#984EBC

#984EBC is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.1% C 0.175 H 313.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#984EBC
RGBrgb(152, 78, 188)
HSLhsl(280, 45%, 52%)
HSVhsv(280, 59%, 74%)
CMYKcmyk(19.1%, 58.5%, 0%, 26.3%)
CIE-LABlab(46.65, 49.23, -45.56)
CIE-LCHlch(46.65, 67.08, 317.22°)
OKLaboklab(56.11% 0.12 -0.1277)
OKLCHoklch(56.11% 0.175 313.2)
XYZxyz(24.7488, 15.7557, 49.3046)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984EBC #72BC4E
analogous
#614EBC #984EBC #BC4EA9
triadic
#984EBC #BC984E #4EBC98
tetradic
#984EBC #BC614E #72BC4E #4EA9BC
square
#984EBC #BC614E #72BC4E #4EA9BC
split-complementary
#984EBC #A9BC4E #4EBC61
monochromatic
#532768 #763895 #984EBC #B27ACD #CCA7DE

Accessibility & contrast

On white

5.06
#984EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#984EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984EBC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984EBC#FFFFFF#000000##FFFFFF
##984EBC1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6BC0
Deuteranopia (green-blind)
#4970B9
Tritanopia (blue-blind)
#95617E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #984ebc;
/* rgb */ color: rgb(152, 78, 188);
/* oklch */ color: oklch(56.1% 0.175 313.2);
Tailwind
colors: {
  custom: {
    50: '#b983d1',
    500: '#984ebc',
    950: '#000000',
  },
}
SCSS
$custom: #984ebc;
$custom-light: #b983d1;
$custom-dark: #000000;
JSON
{
  "hex": "#984ebc",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 280.364,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56107,
    "c": 0.17523,
    "h": 313.2
  },
  "luminance": 0.15755
}

Semantic roles & 50–950 ramp

primary
#984EBC
secondary
#ABCB9B
accent
#D5537D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #984EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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