#af80c0
a balanced, soft violet · warm · closest name: plum
RGB
175, 128, 192
HSL
284°, 34%, 63%
CMYK
9, 33, 0, 25
Luminance
0.2836
Every format
| HEX | #af80c0 |
| RGB | rgb(175, 128, 192) |
| HSL | hsl(284, 34%, 63%) |
| CMYK | cmyk(9%, 33%, 0%, 25%) |
| LAB | lab(60.2 29.6 -26.4) |
| LCH | lch(60.2 39.6 318.2) |
| OKLCH | oklch(0.669 0.106 316.8) |
Copy-ready code
/* CSS */
color: #af80c0;
background-color: #af80c0;
/* Tailwind (arbitrary) */
class="text-[#af80c0] bg-[#af80c0]"
/* SCSS */
$brand: #af80c0;
/* SwiftUI */
Color(red: 0.686, green: 0.502, blue: 0.753)
/* Android */
Color.parseColor("#af80c0")Accessibility — WCAG contrast
Aa
#af80c0 on white: 3.15:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#af80c0 on black: 6.67:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green50.2%
Blue75.3%
CMYK percentages
Cyan8.9%
Magenta33.3%
Yellow0.0%
Key (black)24.7%
Color previews
#af80c0 text on a black background
contrast 6.67:1
Card sample
#af80c0 text on a white background
contrast 3.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af80c0;
Background color
Panel with #af80c0 background
background-color: #af80c0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af80c0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 128, 192, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 128, 192, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af80c0; background: linear-gradient(135deg, #af80c0, #C080A6);