#9E56E9#9E56E9

#9E56E9 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.8% C 0.214 H 303.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9E56E9
RGBrgb(158, 86, 233)
HSLhsl(269, 77%, 63%)
HSVhsv(269, 63%, 91%)
CMYKcmyk(32.2%, 63.1%, 0%, 8.6%)
CIE-LABlab(51.62, 56.85, -63.29)
CIE-LCHlch(51.62, 85.07, 311.94°)
OKLaboklab(60.76% 0.1169 -0.1796)
OKLCHoklch(60.76% 0.214 303.1)
XYZxyz(32.1329, 19.8079, 79.2054)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E56E9 #A1E956
analogous
#5657E9 #9E56E9 #E856E9
triadic
#9E56E9 #E99E56 #56E99E
tetradic
#9E56E9 #E95657 #A1E956 #56E9E8
square
#9E56E9 #E95657 #A1E956 #56E9E8
split-complementary
#9E56E9 #E9E856 #57E956
monochromatic
#6117AE #7F20E2 #9E56E9 #BD8CF0 #DCC2F7

Accessibility & contrast

On white

4.23
#9E56E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#9E56E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E56E9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E56E9#FFFFFF#000000##000000
##9E56E91.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#277BE6
Tritanopia (blue-blind)
#8F7698
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9e56e9;
/* rgb */ color: rgb(158, 86, 233);
/* oklch */ color: oklch(60.8% 0.214 303.1);
Tailwind
colors: {
  custom: {
    50: '#bf89f1',
    500: '#9e56e9',
    950: '#000000',
  },
}
SCSS
$custom: #9e56e9;
$custom-light: #bf89f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e56e9",
  "rgb": {
    "r": 158,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 269.388,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60757,
    "c": 0.21426,
    "h": 303.1
  },
  "luminance": 0.19808
}

Semantic roles & 50–950 ramp

primary
#9E56E9
secondary
#CEE8B3
accent
#D90C75
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E56E9

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

Preview Lab → · Contrast checker → · Palette generator →

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