#9C57DB#9C57DB
#9C57DB is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.7% C 0.197 H 305.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9C57DB |
|---|---|
| RGB | rgb(156, 87, 219) |
| HSL | hsl(271, 65%, 60%) |
| HSV | hsv(271, 60%, 86%) |
| CMYK | cmyk(28.8%, 60.3%, 0%, 14.1%) |
| CIE-LAB | lab(50.69, 52.62, -56.89) |
| CIE-LCH | lch(50.69, 77.50, 312.77°) |
| OKLab | oklab(59.75% 0.1138 -0.1608) |
| OKLCH | oklch(59.75% 0.197 305.3) |
| XYZ | xyz(29.9019, 18.9990, 69.0960) |
| Luminance | 0.1900 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.09
Lighter Purple
#A55AF4
ΔE00 3.98
Purpley
#8756E4
ΔE00 4.42
Amethyst
#9B5FC0
ΔE00 4.96
Mediumorchid
#BA55D3
ΔE00 6.30
Deep Lavender
#8D5EB7
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C57DB #96DB57
analogous
#5A57DB #9C57DB #DB57D8
triadic
#9C57DB #DB9C57 #57DB9C
tetradic
#9C57DB #DB5A57 #96DB57 #57D8DB
square
#9C57DB #DB5A57 #96DB57 #57D8DB
split-complementary
#9C57DB #D8DB57 #57DB5A
monochromatic
#5F2097 #7E2BCA #9C57DB #BA89E6 #D7BCF1
Accessibility & contrast
On white
4.38
#9C57DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#9C57DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C57DB
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C57DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C57DB | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1177DF
Deuteranopia (green-blind)
#3A79D8
Tritanopia (blue-blind)
#917291
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #9c57db; /* rgb */ color: rgb(156, 87, 219); /* oklch */ color: oklch(59.7% 0.197 305.3);
Tailwind
colors: {
custom: {
50: '#bd8ae7',
500: '#9c57db',
950: '#000000',
},
}SCSS
$custom: #9c57db; $custom-light: #bd8ae7; $custom-dark: #000000;
JSON
{
"hex": "#9c57db",
"rgb": {
"r": 156,
"g": 87,
"b": 219
},
"hsl": {
"h": 271.364,
"s": 64.706,
"l": 60
},
"oklch": {
"l": 0.59746,
"c": 0.19706,
"h": 305.3
},
"luminance": 0.18999
}Semantic roles & 50–950 ramp
primary
#9C57DB
secondary
#C6E0AD
accent
#E84090
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120C16
muted
#817D84