#9E4DCE#9E4DCE

#9E4DCE is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.8% C 0.198 H 310.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9E4DCE
RGBrgb(158, 77, 206)
HSLhsl(278, 57%, 55%)
HSVhsv(278, 63%, 81%)
CMYKcmyk(23.3%, 62.6%, 0%, 19.2%)
CIE-LABlab(48.30, 55.10, -53.28)
CIE-LCHlch(48.30, 76.65, 315.96°)
OKLaboklab(57.81% 0.1287 -0.1502)
OKLCHoklch(57.81% 0.198 310.6)
XYZxyz(27.8929, 17.0337, 60.1990)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4DCE #7DCE4D
analogous
#5D4DCE #9E4DCE #CE4DBE
triadic
#9E4DCE #CE9E4D #4DCE9E
tetradic
#9E4DCE #CE5D4D #7DCE4D #4DBECE
square
#9E4DCE #CE5D4D #7DCE4D #4DBECE
split-complementary
#9E4DCE #BECE4D #4DCE5D
monochromatic
#5C237E #7F30AE #9E4DCE #B87DDB #D2ADE8

Accessibility & contrast

On white

4.77
#9E4DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9E4DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4DCE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4DCE#FFFFFF#000000##FFFFFF
##9E4DCE1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6FD2
Deuteranopia (green-blind)
#3E74CB
Tritanopia (blue-blind)
#986687
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e4dce;
/* rgb */ color: rgb(158, 77, 206);
/* oklch */ color: oklch(57.8% 0.198 310.6);
Tailwind
colors: {
  custom: {
    50: '#be83de',
    500: '#9e4dce',
    950: '#000000',
  },
}
SCSS
$custom: #9e4dce;
$custom-light: #be83de;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4dce",
  "rgb": {
    "r": 158,
    "g": 77,
    "b": 206
  },
  "hsl": {
    "h": 277.674,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57814,
    "c": 0.19777,
    "h": 310.6
  },
  "luminance": 0.17033
}

Semantic roles & 50–950 ramp

primary
#9E4DCE
secondary
#B5D6A1
accent
#E04880
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9E4DCE

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

Preview Lab → · Contrast checker → · Palette generator →

#9E4DCE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva