#9D56EB#9D56EB
#9D56EB is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.8% C 0.216 H 302.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9D56EB |
|---|---|
| RGB | rgb(157, 86, 235) |
| HSL | hsl(269, 79%, 63%) |
| HSV | hsv(269, 63%, 92%) |
| CMYK | cmyk(33.2%, 63.4%, 0%, 7.8%) |
| CIE-LAB | lab(51.64, 57.12, -64.39) |
| CIE-LCH | lch(51.64, 86.07, 311.57°) |
| OKLab | oklab(60.78% 0.1155 -0.1828) |
| OKLCH | oklch(60.78% 0.216 302.3) |
| XYZ | xyz(32.2243, 19.8218, 80.7095) |
| Luminance | 0.1982 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.84
Lighter Purple
#A55AF4
ΔE00 2.23
Purpley
#8756E4
ΔE00 4.04
Electric Purple
#AA23FF
ΔE00 6.79
Mediumpurple
#9370DB
ΔE00 6.99
Amethyst
#9B5FC0
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D56EB #A4EB56
analogous
#5659EB #9D56EB #E856EB
triadic
#9D56EB #EB9D56 #56EB9D
tetradic
#9D56EB #EB5659 #A4EB56 #56EBE8
square
#9D56EB #EB5659 #A4EB56 #56EBE8
split-complementary
#9D56EB #EBE856 #59EB56
monochromatic
#6015B2 #7D1FE5 #9D56EB #BD8DF1 #DCC3F8
Accessibility & contrast
On white
4.23
#9D56EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#9D56EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D56EB
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D56EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D56EB | 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)
#007AF0
Deuteranopia (green-blind)
#207BE8
Tritanopia (blue-blind)
#8D7699
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #9d56eb; /* rgb */ color: rgb(157, 86, 235); /* oklch */ color: oklch(60.8% 0.216 302.3);
Tailwind
colors: {
custom: {
50: '#bf89f2',
500: '#9d56eb',
950: '#000000',
},
}SCSS
$custom: #9d56eb; $custom-light: #bf89f2; $custom-dark: #000000;
JSON
{
"hex": "#9d56eb",
"rgb": {
"r": 157,
"g": 86,
"b": 235
},
"hsl": {
"h": 268.591,
"s": 78.836,
"l": 62.941
},
"oklch": {
"l": 0.60784,
"c": 0.21624,
"h": 302.3
},
"luminance": 0.19822
}Semantic roles & 50–950 ramp
primary
#9D56EB
secondary
#D0E9B4
accent
#DB0A78
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85