#9E56E5#9E56E5

#9E56E5 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.5% C 0.210 H 303.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9E56E5
RGBrgb(158, 86, 229)
HSLhsl(270, 73%, 62%)
HSVhsv(270, 62%, 90%)
CMYKcmyk(31%, 62.4%, 0%, 10.2%)
CIE-LABlab(51.36, 55.91, -61.45)
CIE-LCHlch(51.36, 83.08, 312.30°)
OKLaboklab(60.49% 0.1172 -0.1742)
OKLCHoklch(60.49% 0.21 303.9)
XYZxyz(31.5680, 19.5819, 76.2302)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E56E5 #9DE556
analogous
#5756E5 #9E56E5 #E556E4
triadic
#9E56E5 #E59E56 #56E59E
tetradic
#9E56E5 #E55756 #9DE556 #56E4E5
square
#9E56E5 #E55756 #9DE556 #56E4E5
split-complementary
#9E56E5 #E4E556 #56E557
monochromatic
#611AA7 #8022DC #9E56E5 #BC8BED #DBC0F5

Accessibility & contrast

On white

4.27
#9E56E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#9E56E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E56E5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E56E5#FFFFFF#000000##000000
##9E56E51.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#2E7AE2
Tritanopia (blue-blind)
#917496
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9e56e5;
/* rgb */ color: rgb(158, 86, 229);
/* oklch */ color: oklch(60.5% 0.210 303.9);
Tailwind
colors: {
  custom: {
    50: '#bf89ee',
    500: '#9e56e5',
    950: '#000000',
  },
}
SCSS
$custom: #9e56e5;
$custom-light: #bf89ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9e56e5",
  "rgb": {
    "r": 158,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 270.21,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60488,
    "c": 0.2099,
    "h": 303.9
  },
  "luminance": 0.19582
}

Semantic roles & 50–950 ramp

primary
#9E56E5
secondary
#CBE6B1
accent
#D51072
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E56E5

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

Preview Lab → · Contrast checker → · Palette generator →

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