#9E4DCC#9E4DCC

#9E4DCC is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.7% C 0.196 H 311.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9E4DCC
RGBrgb(158, 77, 204)
HSLhsl(278, 55%, 55%)
HSVhsv(278, 62%, 80%)
CMYKcmyk(22.5%, 62.3%, 0%, 20%)
CIE-LABlab(48.18, 54.67, -52.33)
CIE-LCHlch(48.18, 75.67, 316.25°)
OKLaboklab(57.69% 0.1288 -0.1474)
OKLCHoklch(57.69% 0.196 311.1)
XYZxyz(27.6515, 16.9371, 58.9276)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4DCC #7BCC4D
analogous
#5F4DCC #9E4DCC #CC4DBA
triadic
#9E4DCC #CC9E4D #4DCC9E
tetradic
#9E4DCC #CC5F4D #7BCC4D #4DBACC
square
#9E4DCC #CC5F4D #7BCC4D #4DBACC
split-complementary
#9E4DCC #BACC4D #4DCC5F
monochromatic
#5B237B #7F31AB #9E4DCC #B87DDA #D2ACE7

Accessibility & contrast

On white

4.79
#9E4DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9E4DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4DCC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4DCC#FFFFFF#000000##FFFFFF
##9E4DCC1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136ED0
Deuteranopia (green-blind)
#4074C9
Tritanopia (blue-blind)
#986585
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9e4dcc;
/* rgb */ color: rgb(158, 77, 204);
/* oklch */ color: oklch(57.7% 0.196 311.1);
Tailwind
colors: {
  custom: {
    50: '#be83dc',
    500: '#9e4dcc',
    950: '#000000',
  },
}
SCSS
$custom: #9e4dcc;
$custom-light: #be83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4dcc",
  "rgb": {
    "r": 158,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 278.268,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57686,
    "c": 0.19569,
    "h": 311.1
  },
  "luminance": 0.16936
}

Semantic roles & 50–950 ramp

primary
#9E4DCC
secondary
#B3D5A0
accent
#DF497F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9E4DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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