#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 |
|---|---|
| RGB | rgb(158, 86, 237) |
| HSL | hsl(269, 81%, 63%) |
| HSV | hsv(269, 64%, 93%) |
| CMYK | cmyk(33.3%, 63.7%, 0%, 7.1%) |
| CIE-LAB | lab(51.88, 57.80, -65.11) |
| CIE-LCH | lch(51.88, 87.06, 311.60°) |
| OKLab | oklab(61.03% 0.1166 -0.1849) |
| OKLCH | oklch(61.03% 0.219 302.2) |
| XYZ | xyz(32.7108, 20.0390, 82.2490) |
| Luminance | 0.2004 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.90
Lighter Purple
#A55AF4
ΔE00 1.96
Purpley
#8756E4
ΔE00 4.26
Electric Purple
#AA23FF
ΔE00 6.77
Mediumpurple
#9370DB
ΔE00 7.04
Amethyst
#9B5FC0
ΔE00 7.32
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 |
|---|---|---|---|---|
| ##9E56ED | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.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