#984CE4#984CE4

#984CE4 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.5% C 0.221 H 303.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#984CE4
RGBrgb(152, 76, 228)
HSLhsl(270, 74%, 60%)
HSVhsv(270, 67%, 89%)
CMYKcmyk(33.3%, 66.7%, 0%, 10.6%)
CIE-LABlab(48.82, 59.28, -65.03)
CIE-LCHlch(48.82, 87.99, 312.35°)
OKLaboklab(58.48% 0.1204 -0.1848)
OKLCHoklch(58.48% 0.221 303.1)
XYZxyz(29.5337, 17.4457, 75.1952)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CE4 #98E44C
analogous
#4C4CE4 #984CE4 #E44CE4
triadic
#984CE4 #E4984C #4CE498
tetradic
#984CE4 #E44C4C #98E44C #4CE4E4
square
#984CE4 #E44C4C #98E44C #4CE4E4
split-complementary
#984CE4 #E4E44C #4CE44C
monochromatic
#5B189E #7920D3 #984CE4 #B781EC #D5B6F4

Accessibility & contrast

On white

4.68
#984CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#984CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CE4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CE4#FFFFFF#000000##FFFFFF
##984CE41.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#0274E1
Tritanopia (blue-blind)
#896E92
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #984ce4;
/* rgb */ color: rgb(152, 76, 228);
/* oklch */ color: oklch(58.5% 0.221 303.1);
Tailwind
colors: {
  custom: {
    50: '#bc83ed',
    500: '#984ce4',
    950: '#000000',
  },
}
SCSS
$custom: #984ce4;
$custom-light: #bc83ed;
$custom-dark: #000000;
JSON
{
  "hex": "#984ce4",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 270,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58478,
    "c": 0.22058,
    "h": 303.1
  },
  "luminance": 0.17446
}

Semantic roles & 50–950 ramp

primary
#984CE4
secondary
#C6E3A8
accent
#F03794
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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