#9E56DC#9E56DC

#9E56DC is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.9% C 0.200 H 306.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9E56DC
RGBrgb(158, 86, 220)
HSLhsl(272, 66%, 60%)
HSVhsv(272, 61%, 86%)
CMYKcmyk(28.2%, 60.9%, 0%, 13.7%)
CIE-LABlab(50.79, 53.82, -57.27)
CIE-LCHlch(50.79, 78.59, 313.22°)
OKLaboklab(59.9% 0.1176 -0.1619)
OKLCHoklch(59.9% 0.2 306)
XYZxyz(30.3438, 19.0922, 69.7829)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E56DC #94DC56
analogous
#5B56DC #9E56DC #DC56D7
triadic
#9E56DC #DC9E56 #56DC9E
tetradic
#9E56DC #DC5B56 #94DC56 #56D7DC
square
#9E56DC #DC5B56 #94DC56 #56D7DC
split-complementary
#9E56DC #D7DC56 #56DC5B
monochromatic
#602098 #802ACB #9E56DC #BB89E6 #D8BBF1

Accessibility & contrast

On white

4.36
#9E56DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#9E56DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E56DC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E56DC#FFFFFF#000000##000000
##9E56DC1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B77E0
Deuteranopia (green-blind)
#3A79D9
Tritanopia (blue-blind)
#947191
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9e56dc;
/* rgb */ color: rgb(158, 86, 220);
/* oklch */ color: oklch(59.9% 0.200 306.0);
Tailwind
colors: {
  custom: {
    50: '#bf89e8',
    500: '#9e56dc',
    950: '#000000',
  },
}
SCSS
$custom: #9e56dc;
$custom-light: #bf89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e56dc",
  "rgb": {
    "r": 158,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 272.239,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.59896,
    "c": 0.20008,
    "h": 306
  },
  "luminance": 0.19092
}

Semantic roles & 50–950 ramp

primary
#9E56DC
secondary
#C5E1AD
accent
#E93F8E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E56DC

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

Preview Lab → · Contrast checker → · Palette generator →

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