#ad80cf
a light, vivid violet · warm · closest name: plum
RGB
173, 128, 207
HSL
274°, 45%, 66%
CMYK
16, 38, 0, 19
Luminance
0.2883
Every format
| HEX | #ad80cf |
| RGB | rgb(173, 128, 207) |
| HSL | hsl(274, 45%, 66%) |
| CMYK | cmyk(16%, 38%, 0%, 19%) |
| LAB | lab(60.6 32.2 -34.3) |
| LCH | lch(60.6 47.0 313.2) |
| OKLCH | oklch(0.673 0.123 309.6) |
Copy-ready code
/* CSS */
color: #ad80cf;
background-color: #ad80cf;
/* Tailwind (arbitrary) */
class="text-[#ad80cf] bg-[#ad80cf]"
/* SCSS */
$brand: #ad80cf;
/* SwiftUI */
Color(red: 0.678, green: 0.502, blue: 0.812)
/* Android */
Color.parseColor("#ad80cf")Accessibility — WCAG contrast
Aa
#ad80cf on white: 3.10:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ad80cf on black: 6.77:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.8%
Green50.2%
Blue81.2%
CMYK percentages
Cyan16.4%
Magenta38.2%
Yellow0.0%
Key (black)18.8%
Color previews
#ad80cf text on a black background
contrast 6.77:1
Card sample
#ad80cf text on a white background
contrast 3.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ad80cf;
Background color
Panel with #ad80cf background
background-color: #ad80cf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ad80cf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(173, 128, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 128, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad80cf; background: linear-gradient(135deg, #ad80cf, #CF80BC);