#9D56ED#9D56ED
#9D56ED is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.9% C 0.218 H 301.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #9D56ED |
|---|---|
| RGB | rgb(157, 86, 237) |
| HSL | hsl(268, 81%, 63%) |
| HSV | hsv(268, 64%, 93%) |
| CMYK | cmyk(33.8%, 63.7%, 0%, 7.1%) |
| CIE-LAB | lab(51.77, 57.59, -65.30) |
| CIE-LCH | lch(51.77, 87.07, 311.41°) |
| OKLab | oklab(60.92% 0.1153 -0.1855) |
| OKLCH | oklch(60.92% 0.218 301.9) |
| XYZ | xyz(32.5149, 19.9380, 82.2398) |
| Luminance | 0.1994 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.02
Lighter Purple
#A55AF4
ΔE00 2.09
Purpley
#8756E4
ΔE00 4.08
Electric Purple
#AA23FF
ΔE00 6.77
Mediumpurple
#9370DB
ΔE00 7.03
Amethyst
#9B5FC0
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D56ED #A6ED56
analogous
#565AED #9D56ED #E956ED
triadic
#9D56ED #ED9D56 #56ED9D
tetradic
#9D56ED #ED565A #A6ED56 #56EDE9
square
#9D56ED #ED565A #A6ED56 #56EDE9
split-complementary
#9D56ED #EDE956 #5AED56
monochromatic
#5F13B5 #7D1FE7 #9D56ED #BD8DF3 #DDC5F9
Accessibility & contrast
On white
4.21
#9D56ED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#9D56ED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D56ED
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D56ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D56ED | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#1B7BEA
Tritanopia (blue-blind)
#8D779A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #9d56ed; /* rgb */ color: rgb(157, 86, 237); /* oklch */ color: oklch(60.9% 0.218 301.9);
Tailwind
colors: {
custom: {
50: '#bf8af4',
500: '#9d56ed',
950: '#000000',
},
}SCSS
$custom: #9d56ed; $custom-light: #bf8af4; $custom-dark: #000000;
JSON
{
"hex": "#9d56ed",
"rgb": {
"r": 157,
"g": 86,
"b": 237
},
"hsl": {
"h": 268.212,
"s": 80.749,
"l": 63.333
},
"oklch": {
"l": 0.60921,
"c": 0.21842,
"h": 301.9
},
"luminance": 0.19938
}Semantic roles & 50–950 ramp
primary
#9D56ED
secondary
#D1EAB4
accent
#DD0879
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85