#9B56CD#9B56CD
#9B56CD is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.6% C 0.183 H 308.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9B56CD |
|---|---|
| RGB | rgb(155, 86, 205) |
| HSL | hsl(275, 54%, 57%) |
| HSV | hsv(275, 58%, 80%) |
| CMYK | cmyk(24.4%, 58%, 0%, 19.6%) |
| CIE-LAB | lab(49.54, 49.67, -50.76) |
| CIE-LCH | lch(49.54, 71.02, 314.38°) |
| OKLab | oklab(58.61% 0.1139 -0.1429) |
| OKLCH | oklch(58.61% 0.183 308.6) |
| XYZ | xyz(27.8626, 18.0323, 59.7586) |
| Luminance | 0.1803 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.34
Lightish Purple
#A552E6
ΔE00 3.85
Deep Lavender
#8D5EB7
ΔE00 4.62
Purpley
#8756E4
ΔE00 5.71
Mediumorchid
#BA55D3
ΔE00 6.01
Lighter Purple
#A55AF4
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B56CD #88CD56
analogous
#6056CD #9B56CD #CD56C4
triadic
#9B56CD #CD9B56 #56CD9B
tetradic
#9B56CD #CD6056 #88CD56 #56C4CD
square
#9B56CD #CD6056 #88CD56 #56C4CD
split-complementary
#9B56CD #C4CD56 #56CD60
monochromatic
#5C2682 #7D34B1 #9B56CD #B785DB #D3B4E9
Accessibility & contrast
On white
4.56
#9B56CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#9B56CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B56CD
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B56CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B56CD | 1.00 | 4.56 | 4.61 | 4.61 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A73D1
Deuteranopia (green-blind)
#4677CA
Tritanopia (blue-blind)
#946C89
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9b56cd; /* rgb */ color: rgb(155, 86, 205); /* oklch */ color: oklch(58.6% 0.183 308.6);
Tailwind
colors: {
custom: {
50: '#bc89dd',
500: '#9b56cd',
950: '#000000',
},
}SCSS
$custom: #9b56cd; $custom-light: #bc89dd; $custom-dark: #000000;
JSON
{
"hex": "#9b56cd",
"rgb": {
"r": 155,
"g": 86,
"b": 205
},
"hsl": {
"h": 274.79,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.58611,
"c": 0.18272,
"h": 308.6
},
"luminance": 0.18032
}Semantic roles & 50–950 ramp
primary
#9B56CD
secondary
#BCD8A7
accent
#DE4A88
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83