#984CE5#984CE5

#984CE5 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.5% C 0.222 H 302.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#984CE5
RGBrgb(152, 76, 229)
HSLhsl(270, 75%, 60%)
HSVhsv(270, 67%, 90%)
CMYKcmyk(33.6%, 66.8%, 0%, 10.2%)
CIE-LABlab(48.89, 59.51, -65.48)
CIE-LCHlch(48.89, 88.49, 312.26°)
OKLaboklab(58.55% 0.1203 -0.1862)
OKLCHoklch(58.55% 0.222 302.9)
XYZxyz(29.6729, 17.5014, 75.9284)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CE5 #99E54C
analogous
#4C4DE5 #984CE5 #E54CE5
triadic
#984CE5 #E5984C #4CE598
tetradic
#984CE5 #E54C4D #99E54C #4CE5E5
square
#984CE5 #E54C4D #99E54C #4CE5E5
split-complementary
#984CE5 #E5E54C #4DE54C
monochromatic
#5B179F #791FD5 #984CE5 #B781ED #D5B7F5

Accessibility & contrast

On white

4.67
#984CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#984CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #984CE5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CE5#FFFFFF#000000##FFFFFF
##984CE51.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#0074E2
Tritanopia (blue-blind)
#896F92
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #984ce5;
/* rgb */ color: rgb(152, 76, 229);
/* oklch */ color: oklch(58.5% 0.222 302.9);
Tailwind
colors: {
  custom: {
    50: '#bc83ee',
    500: '#984ce5',
    950: '#000000',
  },
}
SCSS
$custom: #984ce5;
$custom-light: #bc83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#984ce5",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 269.804,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58549,
    "c": 0.22164,
    "h": 302.9
  },
  "luminance": 0.17501
}

Semantic roles & 50–950 ramp

primary
#984CE5
secondary
#C7E4A9
accent
#F13795
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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