#ad7aeb
a light, vivid violet · warm · closest name: slateblue
RGB
173, 122, 235
HSL
267°, 74%, 70%
CMYK
26, 48, 0, 8
Luminance
0.2880
Every format
| HEX | #ad7aeb |
| RGB | rgb(173, 122, 235) |
| HSL | hsl(267, 74%, 70%) |
| CMYK | cmyk(26%, 48%, 0%, 8%) |
| LAB | lab(60.6 41.9 -49.9) |
| LCH | lch(60.6 65.2 310.0) |
| OKLCH | oklch(0.678 0.167 303.1) |
Copy-ready code
/* CSS */
color: #ad7aeb;
background-color: #ad7aeb;
/* Tailwind (arbitrary) */
class="text-[#ad7aeb] bg-[#ad7aeb]"
/* SCSS */
$brand: #ad7aeb;
/* SwiftUI */
Color(red: 0.678, green: 0.478, blue: 0.922)
/* Android */
Color.parseColor("#ad7aeb")Accessibility — WCAG contrast
Aa
#ad7aeb on white: 3.11:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ad7aeb on black: 6.76:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.8%
Green47.8%
Blue92.2%
CMYK percentages
Cyan26.4%
Magenta48.1%
Yellow0.0%
Key (black)7.8%
Color previews
#ad7aeb text on a black background
contrast 6.76:1
Card sample
#ad7aeb text on a white background
contrast 3.11:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ad7aeb;
Background color
Panel with #ad7aeb background
background-color: #ad7aeb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ad7aeb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(173, 122, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 122, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad7aeb; background: linear-gradient(135deg, #ad7aeb, #EB7ADE);