#ad58eb
a balanced, electric violet · warm · closest name: slateblue
RGB
173, 88, 235
HSL
275°, 79%, 63%
CMYK
26, 63, 0, 8
Luminance
0.2186
Every format
| HEX | #ad58eb |
| RGB | rgb(173, 88, 235) |
| HSL | hsl(275, 79%, 63%) |
| CMYK | cmyk(26%, 63%, 0%, 8%) |
| LAB | lab(53.9 59.6 -60.7) |
| LCH | lch(53.9 85.0 314.5) |
| OKLCH | oklch(0.628 0.217 307.9) |
Copy-ready code
/* CSS */
color: #ad58eb;
background-color: #ad58eb;
/* Tailwind (arbitrary) */
class="text-[#ad58eb] bg-[#ad58eb]"
/* SCSS */
$brand: #ad58eb;
/* SwiftUI */
Color(red: 0.678, green: 0.345, blue: 0.922)
/* Android */
Color.parseColor("#ad58eb")Accessibility — WCAG contrast
Aa
#ad58eb on white: 3.91:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ad58eb on black: 5.37:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.8%
Green34.5%
Blue92.2%
CMYK percentages
Cyan26.4%
Magenta62.6%
Yellow0.0%
Key (black)7.8%
Color previews
#ad58eb text on a black background
contrast 5.37:1
Card sample
#ad58eb text on a white background
contrast 3.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ad58eb;
Background color
Panel with #ad58eb background
background-color: #ad58eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ad58eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(173, 88, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 88, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad58eb; background: linear-gradient(135deg, #ad58eb, #EB58C7);