#9E56E6#9E56E6
#9E56E6 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.6% C 0.211 H 303.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #9E56E6 |
|---|---|
| RGB | rgb(158, 86, 230) |
| HSL | hsl(270, 74%, 62%) |
| HSV | hsv(270, 63%, 90%) |
| CMYK | cmyk(31.3%, 62.6%, 0%, 9.8%) |
| CIE-LAB | lab(51.43, 56.15, -61.91) |
| CIE-LCH | lch(51.43, 83.58, 312.21°) |
| OKLab | oklab(60.56% 0.1171 -0.1755) |
| OKLCH | oklch(60.56% 0.211 303.7) |
| XYZ | xyz(31.7080, 19.6379, 76.9676) |
| Luminance | 0.1964 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.38
Lighter Purple
#A55AF4
ΔE00 2.60
Purpley
#8756E4
ΔE00 4.24
Amethyst
#9B5FC0
ΔE00 6.40
Mediumorchid
#BA55D3
ΔE00 6.75
Electric Purple
#AA23FF
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E56E6 #9EE656
analogous
#5656E6 #9E56E6 #E656E6
triadic
#9E56E6 #E69E56 #56E69E
tetradic
#9E56E6 #E65656 #9EE656 #56E6E6
square
#9E56E6 #E65656 #9EE656 #56E6E6
split-complementary
#9E56E6 #E6E656 #56E656
monochromatic
#6119A9 #7F21DE #9E56E6 #BD8BEE #DBC1F6
Accessibility & contrast
On white
4.26
#9E56E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#9E56E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E56E6
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E56E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E56E6 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#2C7AE3
Tritanopia (blue-blind)
#907596
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #9e56e6; /* rgb */ color: rgb(158, 86, 230); /* oklch */ color: oklch(60.6% 0.211 303.7);
Tailwind
colors: {
custom: {
50: '#bf89ef',
500: '#9e56e6',
950: '#000000',
},
}SCSS
$custom: #9e56e6; $custom-light: #bf89ef; $custom-dark: #000000;
JSON
{
"hex": "#9e56e6",
"rgb": {
"r": 158,
"g": 86,
"b": 230
},
"hsl": {
"h": 270,
"s": 74.227,
"l": 61.961
},
"oklch": {
"l": 0.60555,
"c": 0.21099,
"h": 303.7
},
"luminance": 0.19638
}Semantic roles & 50–950 ramp
primary
#9E56E6
secondary
#CCE6B1
accent
#D60F73
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84