#ad2cff
a balanced, electric violet · warm · closest name: magenta
RGB
173, 44, 255
HSL
277°, 100%, 59%
CMYK
32, 83, 0, 0
Luminance
0.1791
Every format
| HEX | #ad2cff |
| RGB | rgb(173, 44, 255) |
| HSL | hsl(277, 100%, 59%) |
| CMYK | cmyk(32%, 83%, 0%, 0%) |
| LAB | lab(49.4 80.5 -79.1) |
| LCH | lch(49.4 112.9 315.5) |
| OKLCH | oklch(0.601 0.282 306.8) |
Copy-ready code
/* CSS */
color: #ad2cff;
background-color: #ad2cff;
/* Tailwind (arbitrary) */
class="text-[#ad2cff] bg-[#ad2cff]"
/* SCSS */
$brand: #ad2cff;
/* SwiftUI */
Color(red: 0.678, green: 0.173, blue: 1.000)
/* Android */
Color.parseColor("#ad2cff")Accessibility — WCAG contrast
Aa
#ad2cff on white: 4.58:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ad2cff on black: 4.58:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.8%
Green17.3%
Blue100.0%
CMYK percentages
Cyan32.2%
Magenta82.7%
Yellow0.0%
Key (black)0.0%
Color previews
#ad2cff text on a black background
contrast 4.58:1
Card sample
#ad2cff text on a white background
contrast 4.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ad2cff;
Background color
Panel with #ad2cff background
background-color: #ad2cff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ad2cff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(173, 44, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 44, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad2cff; background: linear-gradient(135deg, #ad2cff, #FF2CC4);