#9D56DC#9D56DC
#9D56DC is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.8% C 0.200 H 305.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9D56DC |
|---|---|
| RGB | rgb(157, 86, 220) |
| HSL | hsl(272, 66%, 60%) |
| HSV | hsv(272, 61%, 86%) |
| CMYK | cmyk(28.6%, 60.9%, 0%, 13.7%) |
| CIE-LAB | lab(50.68, 53.59, -57.47) |
| CIE-LCH | lch(50.68, 78.58, 313.00°) |
| OKLab | oklab(59.79% 0.1163 -0.1625) |
| OKLCH | oklch(59.79% 0.2 305.6) |
| XYZ | xyz(30.1479, 18.9912, 69.7737) |
| Luminance | 0.1899 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.85
Lighter Purple
#A55AF4
ΔE00 3.89
Purpley
#8756E4
ΔE00 4.49
Amethyst
#9B5FC0
ΔE00 5.12
Mediumorchid
#BA55D3
ΔE00 6.21
Deep Lavender
#8D5EB7
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D56DC #95DC56
analogous
#5A56DC #9D56DC #DC56D8
triadic
#9D56DC #DC9D56 #56DC9D
tetradic
#9D56DC #DC5A56 #95DC56 #56D8DC
square
#9D56DC #DC5A56 #95DC56 #56D8DC
split-complementary
#9D56DC #D8DC56 #56DC5A
monochromatic
#5F2098 #7F2ACB #9D56DC #BA89E6 #D8BBF1
Accessibility & contrast
On white
4.38
#9D56DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#9D56DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D56DC
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D56DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D56DC | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0976E0
Deuteranopia (green-blind)
#3979D9
Tritanopia (blue-blind)
#927191
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #9d56dc; /* rgb */ color: rgb(157, 86, 220); /* oklch */ color: oklch(59.8% 0.200 305.6);
Tailwind
colors: {
custom: {
50: '#be89e8',
500: '#9d56dc',
950: '#000000',
},
}SCSS
$custom: #9d56dc; $custom-light: #be89e8; $custom-dark: #000000;
JSON
{
"hex": "#9d56dc",
"rgb": {
"r": 157,
"g": 86,
"b": 220
},
"hsl": {
"h": 271.791,
"s": 65.686,
"l": 60
},
"oklch": {
"l": 0.59785,
"c": 0.19982,
"h": 305.6
},
"luminance": 0.18991
}Semantic roles & 50–950 ramp
primary
#9D56DC
secondary
#C5E1AD
accent
#E93F8F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84