#984AE3#984AE3

#984AE3 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.2% C 0.222 H 303.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#984AE3
RGBrgb(152, 74, 227)
HSLhsl(271, 73%, 59%)
HSVhsv(271, 67%, 89%)
CMYKcmyk(33%, 67.4%, 0%, 11%)
CIE-LABlab(48.41, 59.98, -65.12)
CIE-LCHlch(48.41, 88.54, 312.65°)
OKLaboklab(58.17% 0.1226 -0.1851)
OKLCHoklch(58.17% 0.222 303.5)
XYZxyz(29.2596, 17.1191, 74.4210)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984AE3 #95E34A
analogous
#4C4AE3 #984AE3 #E34AE2
triadic
#984AE3 #E3984A #4AE398
tetradic
#984AE3 #E34C4A #95E34A #4AE2E3
square
#984AE3 #E34C4A #95E34A #4AE2E3
split-complementary
#984AE3 #E2E34A #4AE34C
monochromatic
#5B189B #7A20D0 #984AE3 #B67FEB #D4B4F3

Accessibility & contrast

On white

4.75
#984AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#984AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984AE3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984AE3#FFFFFF#000000##FFFFFF
##984AE31.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E8
Deuteranopia (green-blind)
#0073E0
Tritanopia (blue-blind)
#896D91
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #984ae3;
/* rgb */ color: rgb(152, 74, 227);
/* oklch */ color: oklch(58.2% 0.222 303.5);
Tailwind
colors: {
  custom: {
    50: '#bc82ed',
    500: '#984ae3',
    950: '#000000',
  },
}
SCSS
$custom: #984ae3;
$custom-light: #bc82ed;
$custom-dark: #000000;
JSON
{
  "hex": "#984ae3",
  "rgb": {
    "r": 152,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 270.588,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58165,
    "c": 0.22202,
    "h": 303.5
  },
  "luminance": 0.17119
}

Semantic roles & 50–950 ramp

primary
#984AE3
secondary
#C4E2A6
accent
#F03892
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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