#984DCE#984DCE

#984DCE is a mid, vivid violet. Relative luminance 0.164; OKLCH L 57.1% C 0.196 H 308.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#984DCE
RGBrgb(152, 77, 206)
HSLhsl(275, 57%, 55%)
HSVhsv(275, 63%, 81%)
CMYKcmyk(26.2%, 62.6%, 0%, 19.2%)
CIE-LABlab(47.55, 53.72, -54.54)
CIE-LCHlch(47.55, 76.55, 314.57°)
OKLaboklab(57.1% 0.121 -0.154)
OKLCHoklch(57.1% 0.196 308.2)
XYZxyz(26.7411, 16.4398, 60.1450)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DCE #83CE4D
analogous
#584DCE #984DCE #CE4DC3
triadic
#984DCE #CE984D #4DCE98
tetradic
#984DCE #CE584D #83CE4D #4DC3CE
square
#984DCE #CE584D #83CE4D #4DC3CE
split-complementary
#984DCE #C3CE4D #4DCE58
monochromatic
#58237E #7930AE #984DCE #B47DDB #D0ADE8

Accessibility & contrast

On white

4.90
#984DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#984DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984DCE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DCE#FFFFFF#000000##FFFFFF
##984DCE1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED2
Deuteranopia (green-blind)
#3772CB
Tritanopia (blue-blind)
#906787
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #984dce;
/* rgb */ color: rgb(152, 77, 206);
/* oklch */ color: oklch(57.1% 0.196 308.2);
Tailwind
colors: {
  custom: {
    50: '#ba83de',
    500: '#984dce',
    950: '#000000',
  },
}
SCSS
$custom: #984dce;
$custom-light: #ba83de;
$custom-dark: #000000;
JSON
{
  "hex": "#984dce",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 206
  },
  "hsl": {
    "h": 274.884,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57103,
    "c": 0.1959,
    "h": 308.2
  },
  "luminance": 0.16439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #984DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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