#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 |
|---|---|
| RGB | rgb(158, 86, 233) |
| HSL | hsl(269, 77%, 63%) |
| HSV | hsv(269, 63%, 91%) |
| CMYK | cmyk(32.2%, 63.1%, 0%, 8.6%) |
| CIE-LAB | lab(51.62, 56.85, -63.29) |
| CIE-LCH | lch(51.62, 85.07, 311.94°) |
| OKLab | oklab(60.76% 0.1169 -0.1796) |
| OKLCH | oklch(60.76% 0.214 303.1) |
| XYZ | xyz(32.1329, 19.8079, 79.2054) |
| Luminance | 0.1981 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.55
Lighter Purple
#A55AF4
ΔE00 2.30
Purpley
#8756E4
ΔE00 4.21
Amethyst
#9B5FC0
ΔE00 6.80
Electric Purple
#AA23FF
ΔE00 6.84
Mediumpurple
#9370DB
ΔE00 6.98
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 |
|---|---|---|---|---|
| ##9E56E9 | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.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