#9E56EB#9E56EB
#9E56EB is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.9% C 0.216 H 302.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #9E56EB |
|---|---|
| RGB | rgb(158, 86, 235) |
| HSL | hsl(269, 79%, 63%) |
| HSV | hsv(269, 63%, 92%) |
| CMYK | cmyk(32.8%, 63.4%, 0%, 7.8%) |
| CIE-LAB | lab(51.75, 57.33, -64.20) |
| CIE-LCH | lch(51.75, 86.07, 311.76°) |
| OKLab | oklab(60.89% 0.1168 -0.1822) |
| OKLCH | oklch(60.89% 0.216 302.6) |
| XYZ | xyz(32.4202, 19.9228, 80.7186) |
| Luminance | 0.1992 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.71
Lighter Purple
#A55AF4
ΔE00 2.11
Purpley
#8756E4
ΔE00 4.22
Electric Purple
#AA23FF
ΔE00 6.80
Mediumpurple
#9370DB
ΔE00 7.00
Amethyst
#9B5FC0
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E56EB #A3EB56
analogous
#5658EB #9E56EB #E856EB
triadic
#9E56EB #EB9E56 #56EB9E
tetradic
#9E56EB #EB5658 #A3EB56 #56EBE8
square
#9E56EB #EB5658 #A3EB56 #56EBE8
split-complementary
#9E56EB #EBE856 #58EB56
monochromatic
#6115B2 #7F1FE5 #9E56EB #BD8DF1 #DDC3F8
Accessibility & contrast
On white
4.21
#9E56EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#9E56EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E56EB
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E56EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E56EB | 1.00 | 4.21 | 4.98 | 4.98 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#227BE8
Tritanopia (blue-blind)
#8F7699
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #9e56eb; /* rgb */ color: rgb(158, 86, 235); /* oklch */ color: oklch(60.9% 0.216 302.6);
Tailwind
colors: {
custom: {
50: '#c08af2',
500: '#9e56eb',
950: '#000000',
},
}SCSS
$custom: #9e56eb; $custom-light: #c08af2; $custom-dark: #000000;
JSON
{
"hex": "#9e56eb",
"rgb": {
"r": 158,
"g": 86,
"b": 235
},
"hsl": {
"h": 268.993,
"s": 78.836,
"l": 62.941
},
"oklch": {
"l": 0.60893,
"c": 0.21644,
"h": 302.6
},
"luminance": 0.19923
}Semantic roles & 50–950 ramp
primary
#9E56EB
secondary
#CFE9B4
accent
#DB0A76
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85