#9B56CF#9B56CF
#9B56CF is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.7% C 0.185 H 308.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9B56CF |
|---|---|
| RGB | rgb(155, 86, 207) |
| HSL | hsl(274, 56%, 57%) |
| HSV | hsv(274, 58%, 81%) |
| CMYK | cmyk(25.1%, 58.5%, 0%, 18.8%) |
| CIE-LAB | lab(49.65, 50.12, -51.71) |
| CIE-LCH | lch(49.65, 72.02, 314.11°) |
| OKLab | oklab(58.73% 0.1139 -0.1457) |
| OKLCH | oklch(58.73% 0.185 308) |
| XYZ | xyz(28.1056, 18.1295, 61.0381) |
| Luminance | 0.1813 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.57
Amethyst
#9B5FC0
ΔE00 3.57
Deep Lavender
#8D5EB7
ΔE00 4.84
Purpley
#8756E4
ΔE00 5.45
Lighter Purple
#A55AF4
ΔE00 5.80
Mediumorchid
#BA55D3
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B56CF #8ACF56
analogous
#5F56CF #9B56CF #CF56C6
triadic
#9B56CF #CF9B56 #56CF9B
tetradic
#9B56CF #CF5F56 #8ACF56 #56C6CF
square
#9B56CF #CF5F56 #8ACF56 #56C6CF
split-complementary
#9B56CF #C6CF56 #56CF5F
monochromatic
#5C2685 #7D33B5 #9B56CF #B786DD #D3B5EA
Accessibility & contrast
On white
4.54
#9B56CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#9B56CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B56CF
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B56CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B56CF | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2773D3
Deuteranopia (green-blind)
#4477CC
Tritanopia (blue-blind)
#936D8A
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9b56cf; /* rgb */ color: rgb(155, 86, 207); /* oklch */ color: oklch(58.7% 0.185 308.0);
Tailwind
colors: {
custom: {
50: '#bc89de',
500: '#9b56cf',
950: '#000000',
},
}SCSS
$custom: #9b56cf; $custom-light: #bc89de; $custom-dark: #000000;
JSON
{
"hex": "#9b56cf",
"rgb": {
"r": 155,
"g": 86,
"b": 207
},
"hsl": {
"h": 274.215,
"s": 55.76,
"l": 57.451
},
"oklch": {
"l": 0.58734,
"c": 0.18493,
"h": 308
},
"luminance": 0.18129
}Semantic roles & 50–950 ramp
primary
#9B56CF
secondary
#BDD9A8
accent
#DF4989
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83