#9C56DB#9C56DB
#9C56DB is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.6% C 0.198 H 305.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9C56DB |
|---|---|
| RGB | rgb(156, 86, 219) |
| HSL | hsl(272, 65%, 60%) |
| HSV | hsv(272, 61%, 86%) |
| CMYK | cmyk(28.8%, 60.7%, 0%, 14.1%) |
| CIE-LAB | lab(50.50, 53.13, -57.19) |
| CIE-LCH | lch(50.50, 78.06, 312.89°) |
| OKLab | oklab(59.61% 0.115 -0.1617) |
| OKLCH | oklch(59.61% 0.198 305.4) |
| XYZ | xyz(29.8215, 18.8382, 69.0692) |
| Luminance | 0.1884 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.05
Lighter Purple
#A55AF4
ΔE00 4.08
Purpley
#8756E4
ΔE00 4.38
Amethyst
#9B5FC0
ΔE00 5.04
Mediumorchid
#BA55D3
ΔE00 6.34
Deep Lavender
#8D5EB7
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C56DB #95DB56
analogous
#5A56DB #9C56DB #DB56D7
triadic
#9C56DB #DB9C56 #56DB9C
tetradic
#9C56DB #DB5A56 #95DB56 #56D7DB
square
#9C56DB #DB5A56 #95DB56 #56D7DB
split-complementary
#9C56DB #D7DB56 #56DB5A
monochromatic
#5E2097 #7E2BC9 #9C56DB #BA88E6 #D7BBF0
Accessibility & contrast
On white
4.40
#9C56DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#9C56DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C56DB
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C56DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C56DB | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B76DF
Deuteranopia (green-blind)
#3978D8
Tritanopia (blue-blind)
#917191
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #9c56db; /* rgb */ color: rgb(156, 86, 219); /* oklch */ color: oklch(59.6% 0.198 305.4);
Tailwind
colors: {
custom: {
50: '#bd89e7',
500: '#9c56db',
950: '#000000',
},
}SCSS
$custom: #9c56db; $custom-light: #bd89e7; $custom-dark: #000000;
JSON
{
"hex": "#9c56db",
"rgb": {
"r": 156,
"g": 86,
"b": 219
},
"hsl": {
"h": 271.579,
"s": 64.878,
"l": 59.804
},
"oklch": {
"l": 0.59608,
"c": 0.19847,
"h": 305.4
},
"luminance": 0.18838
}Semantic roles & 50–950 ramp
primary
#9C56DB
secondary
#C5E0AD
accent
#E8408F
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120C16
muted
#817D84