#984CCE#984CCE

#984CCE is a mid, vivid violet. Relative luminance 0.163; OKLCH L 57.0% C 0.197 H 308.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#984CCE
RGBrgb(152, 76, 206)
HSLhsl(275, 57%, 55%)
HSVhsv(275, 63%, 81%)
CMYKcmyk(26.2%, 63.1%, 0%, 19.2%)
CIE-LABlab(47.37, 54.21, -54.83)
CIE-LCHlch(47.37, 77.10, 314.68°)
OKLaboklab(56.97% 0.1222 -0.1549)
OKLCHoklch(56.97% 0.197 308.3)
XYZxyz(26.6717, 16.3009, 60.1219)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CCE #82CE4C
analogous
#574CCE #984CCE #CE4CC3
triadic
#984CCE #CE984C #4CCE98
tetradic
#984CCE #CE574C #82CE4C #4CC3CE
square
#984CCE #CE574C #82CE4C #4CC3CE
split-complementary
#984CCE #C3CE4C #4CCE57
monochromatic
#57227D #792FAD #984CCE #B47CDB #CFACE8

Accessibility & contrast

On white

4.93
#984CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#984CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CCE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CCE#FFFFFF#000000##FFFFFF
##984CCE1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#3671CB
Tritanopia (blue-blind)
#906686
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #984cce;
/* rgb */ color: rgb(152, 76, 206);
/* oklch */ color: oklch(57.0% 0.197 308.3);
Tailwind
colors: {
  custom: {
    50: '#ba82de',
    500: '#984cce',
    950: '#000000',
  },
}
SCSS
$custom: #984cce;
$custom-light: #ba82de;
$custom-dark: #000000;
JSON
{
  "hex": "#984cce",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 275.077,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56973,
    "c": 0.19729,
    "h": 308.3
  },
  "luminance": 0.16301
}

Semantic roles & 50–950 ramp

primary
#984CCE
secondary
#B6D6A0
accent
#E04887
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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