#ad26eb
a balanced, electric violet · warm · closest name: magenta
RGB
173, 38, 235
HSL
281°, 83%, 54%
CMYK
26, 84, 0, 8
Luminance
0.1627
Every format
| HEX | #ad26eb |
| RGB | rgb(173, 38, 235) |
| HSL | hsl(281, 83%, 54%) |
| CMYK | cmyk(26%, 84%, 0%, 8%) |
| LAB | lab(47.3 78.2 -71.3) |
| LCH | lch(47.3 105.8 317.6) |
| OKLCH | oklch(0.582 0.269 311.3) |
Copy-ready code
/* CSS */
color: #ad26eb;
background-color: #ad26eb;
/* Tailwind (arbitrary) */
class="text-[#ad26eb] bg-[#ad26eb]"
/* SCSS */
$brand: #ad26eb;
/* SwiftUI */
Color(red: 0.678, green: 0.149, blue: 0.922)
/* Android */
Color.parseColor("#ad26eb")Accessibility — WCAG contrast
Aa
#ad26eb on white: 4.94:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ad26eb on black: 4.25:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.8%
Green14.9%
Blue92.2%
CMYK percentages
Cyan26.4%
Magenta83.8%
Yellow0.0%
Key (black)7.8%
Color previews
#ad26eb text on a black background
contrast 4.25:1
Card sample
#ad26eb text on a white background
contrast 4.94:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ad26eb;
Background color
Panel with #ad26eb background
background-color: #ad26eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ad26eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(173, 38, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 38, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad26eb; background: linear-gradient(135deg, #ad26eb, #EB26A6);