#9D56E9#9D56E9
#9D56E9 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.6% C 0.214 H 302.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9D56E9 |
|---|---|
| RGB | rgb(157, 86, 233) |
| HSL | hsl(269, 77%, 63%) |
| HSV | hsv(269, 63%, 91%) |
| CMYK | cmyk(32.6%, 63.1%, 0%, 8.6%) |
| CIE-LAB | lab(51.50, 56.64, -63.48) |
| CIE-LCH | lch(51.50, 85.07, 311.74°) |
| OKLab | oklab(60.65% 0.1156 -0.1802) |
| OKLCH | oklch(60.65% 0.214 302.7) |
| XYZ | xyz(31.9370, 19.7068, 79.1963) |
| Luminance | 0.1971 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.69
Lighter Purple
#A55AF4
ΔE00 2.40
Purpley
#8756E4
ΔE00 4.03
Electric Purple
#AA23FF
ΔE00 6.83
Amethyst
#9B5FC0
ΔE00 6.84
Mediumpurple
#9370DB
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D56E9 #A2E956
analogous
#5658E9 #9D56E9 #E756E9
triadic
#9D56E9 #E99D56 #56E99D
tetradic
#9D56E9 #E95658 #A2E956 #56E9E7
square
#9D56E9 #E95658 #A2E956 #56E9E7
split-complementary
#9D56E9 #E9E756 #58E956
monochromatic
#6017AE #7E20E2 #9D56E9 #BC8CF0 #DCC2F7
Accessibility & contrast
On white
4.25
#9D56E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#9D56E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D56E9
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D56E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D56E9 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#257AE6
Tritanopia (blue-blind)
#8E7698
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #9d56e9; /* rgb */ color: rgb(157, 86, 233); /* oklch */ color: oklch(60.6% 0.214 302.7);
Tailwind
colors: {
custom: {
50: '#bf89f1',
500: '#9d56e9',
950: '#000000',
},
}SCSS
$custom: #9d56e9; $custom-light: #bf89f1; $custom-dark: #000000;
JSON
{
"hex": "#9d56e9",
"rgb": {
"r": 157,
"g": 86,
"b": 233
},
"hsl": {
"h": 268.98,
"s": 76.963,
"l": 62.549
},
"oklch": {
"l": 0.60648,
"c": 0.21406,
"h": 302.7
},
"luminance": 0.19707
}Semantic roles & 50–950 ramp
primary
#9D56E9
secondary
#CEE8B3
accent
#D90C76
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85