#9B56CE#9B56CE
#9B56CE is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.7% C 0.184 H 308.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #9B56CE |
|---|---|
| RGB | rgb(155, 86, 206) |
| HSL | hsl(275, 55%, 57%) |
| HSV | hsv(275, 58%, 81%) |
| CMYK | cmyk(24.8%, 58.3%, 0%, 19.2%) |
| CIE-LAB | lab(49.59, 49.90, -51.24) |
| CIE-LCH | lch(49.59, 71.52, 314.24°) |
| OKLab | oklab(58.67% 0.1139 -0.1443) |
| OKLCH | oklch(58.67% 0.184 308.3) |
| XYZ | xyz(27.9837, 18.0808, 60.3963) |
| Luminance | 0.1808 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.45
Lightish Purple
#A552E6
ΔE00 3.71
Deep Lavender
#8D5EB7
ΔE00 4.73
Purpley
#8756E4
ΔE00 5.58
Lighter Purple
#A55AF4
ΔE00 5.95
Mediumorchid
#BA55D3
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B56CE #89CE56
analogous
#5F56CE #9B56CE #CE56C5
triadic
#9B56CE #CE9B56 #56CE9B
tetradic
#9B56CE #CE5F56 #89CE56 #56C5CE
square
#9B56CE #CE5F56 #89CE56 #56C5CE
split-complementary
#9B56CE #C5CE56 #56CE5F
monochromatic
#5C2683 #7D34B3 #9B56CE #B785DC #D3B5EA
Accessibility & contrast
On white
4.55
#9B56CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#9B56CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B56CE
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B56CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B56CE | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2873D2
Deuteranopia (green-blind)
#4577CB
Tritanopia (blue-blind)
#946D8A
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9b56ce; /* rgb */ color: rgb(155, 86, 206); /* oklch */ color: oklch(58.7% 0.184 308.3);
Tailwind
colors: {
custom: {
50: '#bc89dd',
500: '#9b56ce',
950: '#000000',
},
}SCSS
$custom: #9b56ce; $custom-light: #bc89dd; $custom-dark: #000000;
JSON
{
"hex": "#9b56ce",
"rgb": {
"r": 155,
"g": 86,
"b": 206
},
"hsl": {
"h": 274.5,
"s": 55.046,
"l": 57.255
},
"oklch": {
"l": 0.58672,
"c": 0.18382,
"h": 308.3
},
"luminance": 0.1808
}Semantic roles & 50–950 ramp
primary
#9B56CE
secondary
#BCD8A8
accent
#DE4989
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83