#ad2ccb
a balanced, vivid violet · warm · closest name: purple
RGB
173, 44, 203
HSL
289°, 64%, 48%
CMYK
15, 78, 0, 20
Luminance
0.1500
Every format
| HEX | #ad2ccb |
| RGB | rgb(173, 44, 203) |
| HSL | hsl(289, 64%, 48%) |
| CMYK | cmyk(15%, 78%, 0%, 20%) |
| LAB | lab(45.6 70.6 -55.7) |
| LCH | lch(45.6 90.0 321.7) |
| OKLCH | oklch(0.563 0.239 319.0) |
Copy-ready code
/* CSS */
color: #ad2ccb;
background-color: #ad2ccb;
/* Tailwind (arbitrary) */
class="text-[#ad2ccb] bg-[#ad2ccb]"
/* SCSS */
$brand: #ad2ccb;
/* SwiftUI */
Color(red: 0.678, green: 0.173, blue: 0.796)
/* Android */
Color.parseColor("#ad2ccb")Accessibility — WCAG contrast
Aa
#ad2ccb on white: 5.25:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ad2ccb on black: 4.00:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.8%
Green17.3%
Blue79.6%
CMYK percentages
Cyan14.8%
Magenta78.3%
Yellow0.0%
Key (black)20.4%
Color previews
#ad2ccb text on a black background
contrast 4.00:1
Card sample
#ad2ccb text on a white background
contrast 5.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ad2ccb;
Background color
Panel with #ad2ccb background
background-color: #ad2ccb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ad2ccb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(173, 44, 203, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 44, 203, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad2ccb; background: linear-gradient(135deg, #ad2ccb, #CB2C7F);