#9E56ED#9E56ED

#9E56ED is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.0% C 0.219 H 302.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9E56ED
RGBrgb(158, 86, 237)
HSLhsl(269, 81%, 63%)
HSVhsv(269, 64%, 93%)
CMYKcmyk(33.3%, 63.7%, 0%, 7.1%)
CIE-LABlab(51.88, 57.80, -65.11)
CIE-LCHlch(51.88, 87.06, 311.60°)
OKLaboklab(61.03% 0.1166 -0.1849)
OKLCHoklch(61.03% 0.219 302.2)
XYZxyz(32.7108, 20.0390, 82.2490)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E56ED #A5ED56
analogous
#5659ED #9E56ED #E956ED
triadic
#9E56ED #ED9E56 #56ED9E
tetradic
#9E56ED #ED5659 #A5ED56 #56EDE9
square
#9E56ED #ED5659 #A5ED56 #56EDE9
split-complementary
#9E56ED #EDE956 #59ED56
monochromatic
#6113B5 #7E1FE7 #9E56ED #BE8DF3 #DDC5F9

Accessibility & contrast

On white

4.19
#9E56ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#9E56ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E56ED
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E56ED#FFFFFF#000000##000000
##9E56ED1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#1D7BEA
Tritanopia (blue-blind)
#8E779A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9e56ed;
/* rgb */ color: rgb(158, 86, 237);
/* oklch */ color: oklch(61.0% 0.219 302.2);
Tailwind
colors: {
  custom: {
    50: '#c08af4',
    500: '#9e56ed',
    950: '#000000',
  },
}
SCSS
$custom: #9e56ed;
$custom-light: #c08af4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e56ed",
  "rgb": {
    "r": 158,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 268.609,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61029,
    "c": 0.21861,
    "h": 302.2
  },
  "luminance": 0.20039
}

Semantic roles & 50–950 ramp

primary
#9E56ED
secondary
#D1EAB4
accent
#DD0878
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E56ED

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

Preview Lab → · Contrast checker → · Palette generator →

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