#984EE3#984EE3

#984EE3 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.7% C 0.217 H 303.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#984EE3
RGBrgb(152, 78, 227)
HSLhsl(270, 73%, 60%)
HSVhsv(270, 66%, 89%)
CMYKcmyk(33%, 65.6%, 0%, 11%)
CIE-LABlab(49.09, 58.09, -64.02)
CIE-LCHlch(49.09, 86.44, 312.22°)
OKLaboklab(58.66% 0.1184 -0.1819)
OKLCHoklch(58.66% 0.217 303.1)
XYZxyz(29.5352, 17.6702, 74.5128)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984EE3 #99E34E
analogous
#4E4EE3 #984EE3 #E34EE3
triadic
#984EE3 #E3984E #4EE398
tetradic
#984EE3 #E34E4E #99E34E #4EE3E3
square
#984EE3 #E34E4E #99E34E #4EE3E3
split-complementary
#984EE3 #E3E34E #4EE34E
monochromatic
#5B199E #7921D3 #984EE3 #B783EB #D5B8F4

Accessibility & contrast

On white

4.63
#984EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#984EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #984EE3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984EE3#FFFFFF#000000##FFFFFF
##984EE31.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E8
Deuteranopia (green-blind)
#1174E0
Tritanopia (blue-blind)
#896F92
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #984ee3;
/* rgb */ color: rgb(152, 78, 227);
/* oklch */ color: oklch(58.7% 0.217 303.1);
Tailwind
colors: {
  custom: {
    50: '#bb84ed',
    500: '#984ee3',
    950: '#000000',
  },
}
SCSS
$custom: #984ee3;
$custom-light: #bb84ed;
$custom-dark: #000000;
JSON
{
  "hex": "#984ee3",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 227
  },
  "hsl": {
    "h": 269.799,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58655,
    "c": 0.21699,
    "h": 303.1
  },
  "luminance": 0.1767
}

Semantic roles & 50–950 ramp

primary
#984EE3
secondary
#C7E3AA
accent
#EF3895
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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