#984CE0#984CE0

#984CE0 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.2% C 0.216 H 303.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#984CE0
RGBrgb(152, 76, 224)
HSLhsl(271, 70%, 59%)
HSVhsv(271, 66%, 88%)
CMYKcmyk(32.1%, 66.1%, 0%, 12.2%)
CIE-LABlab(48.54, 58.34, -63.21)
CIE-LCHlch(48.54, 86.02, 312.71°)
OKLaboklab(58.2% 0.1208 -0.1795)
OKLCHoklch(58.2% 0.216 303.9)
XYZxyz(28.9848, 17.2262, 72.3046)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CE0 #94E04C
analogous
#4E4CE0 #984CE0 #E04CDE
triadic
#984CE0 #E0984C #4CE098
tetradic
#984CE0 #E04E4C #94E04C #4CDEE0
square
#984CE0 #E04E4C #94E04C #4CDEE0
split-complementary
#984CE0 #DEE04C #4CE04E
monochromatic
#5A1A97 #7A23CC #984CE0 #B680E9 #D4B4F2

Accessibility & contrast

On white

4.72
#984CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#984CE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CE0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CE0#FFFFFF#000000##FFFFFF
##984CE01.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E4
Deuteranopia (green-blind)
#1573DD
Tritanopia (blue-blind)
#8A6D90
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #984ce0;
/* rgb */ color: rgb(152, 76, 224);
/* oklch */ color: oklch(58.2% 0.216 303.9);
Tailwind
colors: {
  custom: {
    50: '#bb83eb',
    500: '#984ce0',
    950: '#000000',
  },
}
SCSS
$custom: #984ce0;
$custom-light: #bb83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#984ce0",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 224
  },
  "hsl": {
    "h": 270.811,
    "s": 70.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58196,
    "c": 0.21636,
    "h": 303.9
  },
  "luminance": 0.17226
}

Semantic roles & 50–950 ramp

primary
#984CE0
secondary
#C3E1A7
accent
#ED3B91
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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