#9D56CD#9D56CD
#9D56CD is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.8% C 0.183 H 309.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9D56CD |
|---|---|
| RGB | rgb(157, 86, 205) |
| HSL | hsl(276, 54%, 57%) |
| HSV | hsv(276, 58%, 80%) |
| CMYK | cmyk(23.4%, 58%, 0%, 19.6%) |
| CIE-LAB | lab(49.78, 50.16, -50.36) |
| CIE-LCH | lch(49.78, 71.08, 314.89°) |
| OKLab | oklab(58.84% 0.1164 -0.1417) |
| OKLCH | oklch(58.84% 0.183 309.4) |
| XYZ | xyz(28.2497, 18.2319, 59.7767) |
| Luminance | 0.1823 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.22
Lightish Purple
#A552E6
ΔE00 3.79
Deep Lavender
#8D5EB7
ΔE00 4.76
Mediumorchid
#BA55D3
ΔE00 5.60
Purpley
#8756E4
ΔE00 6.03
Lighter Purple
#A55AF4
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D56CD #86CD56
analogous
#6156CD #9D56CD #CD56C2
triadic
#9D56CD #CD9D56 #56CD9D
tetradic
#9D56CD #CD6156 #86CD56 #56C2CD
square
#9D56CD #CD6156 #86CD56 #56C2CD
split-complementary
#9D56CD #C2CD56 #56CD61
monochromatic
#5D2682 #7F34B1 #9D56CD #B885DB #D4B4E9
Accessibility & contrast
On white
4.52
#9D56CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#9D56CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D56CD
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D56CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D56CD | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B73D1
Deuteranopia (green-blind)
#4877CA
Tritanopia (blue-blind)
#966C89
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9d56cd; /* rgb */ color: rgb(157, 86, 205); /* oklch */ color: oklch(58.8% 0.183 309.4);
Tailwind
colors: {
custom: {
50: '#bd89dd',
500: '#9d56cd',
950: '#000000',
},
}SCSS
$custom: #9d56cd; $custom-light: #bd89dd; $custom-dark: #000000;
JSON
{
"hex": "#9d56cd",
"rgb": {
"r": 157,
"g": 86,
"b": 205
},
"hsl": {
"h": 275.798,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.58839,
"c": 0.18335,
"h": 309.4
},
"luminance": 0.18231
}Semantic roles & 50–950 ramp
primary
#9D56CD
secondary
#BBD8A7
accent
#DE4A86
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83