#984CE6#984CE6

#984CE6 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.6% C 0.223 H 302.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#984CE6
RGBrgb(152, 76, 230)
HSLhsl(270, 75%, 60%)
HSVhsv(270, 67%, 90%)
CMYKcmyk(33.9%, 67%, 0%, 9.8%)
CIE-LABlab(48.95, 59.75, -65.94)
CIE-LCHlch(48.95, 88.98, 312.18°)
OKLaboklab(58.62% 0.1201 -0.1875)
OKLCHoklch(58.62% 0.223 302.6)
XYZxyz(29.8129, 17.5574, 76.6659)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CE6 #9AE64C
analogous
#4C4DE6 #984CE6 #E54CE6
triadic
#984CE6 #E6984C #4CE698
tetradic
#984CE6 #E64C4D #9AE64C #4CE6E5
square
#984CE6 #E64C4D #9AE64C #4CE6E5
split-complementary
#984CE6 #E6E54C #4DE64C
monochromatic
#5B17A1 #791ED7 #984CE6 #B782ED #D6B7F5

Accessibility & contrast

On white

4.65
#984CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#984CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #984CE6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CE6#FFFFFF#000000##FFFFFF
##984CE61.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#886F93
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #984ce6;
/* rgb */ color: rgb(152, 76, 230);
/* oklch */ color: oklch(58.6% 0.223 302.6);
Tailwind
colors: {
  custom: {
    50: '#bc83ef',
    500: '#984ce6',
    950: '#000000',
  },
}
SCSS
$custom: #984ce6;
$custom-light: #bc83ef;
$custom-dark: #000000;
JSON
{
  "hex": "#984ce6",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 230
  },
  "hsl": {
    "h": 269.61,
    "s": 75.49,
    "l": 60
  },
  "oklch": {
    "l": 0.58621,
    "c": 0.2227,
    "h": 302.6
  },
  "luminance": 0.17557
}

Semantic roles & 50–950 ramp

primary
#984CE6
secondary
#C7E5A9
accent
#F23695
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #984CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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