#984CE1#984CE1

#984CE1 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.3% C 0.217 H 303.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#984CE1
RGBrgb(152, 76, 225)
HSLhsl(271, 71%, 59%)
HSVhsv(271, 66%, 88%)
CMYKcmyk(32.4%, 66.2%, 0%, 11.8%)
CIE-LABlab(48.61, 58.58, -63.66)
CIE-LCHlch(48.61, 86.51, 312.62°)
OKLaboklab(58.27% 0.1207 -0.1808)
OKLCHoklch(58.27% 0.217 303.7)
XYZxyz(29.1208, 17.2806, 73.0209)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CE1 #95E14C
analogous
#4E4CE1 #984CE1 #E14CE0
triadic
#984CE1 #E1984C #4CE198
tetradic
#984CE1 #E14E4C #95E14C #4CE0E1
square
#984CE1 #E14E4C #95E14C #4CE0E1
split-complementary
#984CE1 #E0E14C #4CE14E
monochromatic
#5B1A99 #7A22CD #984CE1 #B680EA #D4B5F3

Accessibility & contrast

On white

4.71
#984CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#984CE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CE1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CE1#FFFFFF#000000##FFFFFF
##984CE11.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#1273DE
Tritanopia (blue-blind)
#8A6D90
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #984ce1;
/* rgb */ color: rgb(152, 76, 225);
/* oklch */ color: oklch(58.3% 0.217 303.7);
Tailwind
colors: {
  custom: {
    50: '#bb83eb',
    500: '#984ce1',
    950: '#000000',
  },
}
SCSS
$custom: #984ce1;
$custom-light: #bb83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#984ce1",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 270.604,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58266,
    "c": 0.21742,
    "h": 303.7
  },
  "luminance": 0.17281
}

Semantic roles & 50–950 ramp

primary
#984CE1
secondary
#C4E2A7
accent
#EE3A92
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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