#af80bc
a balanced, soft violet · warm · closest name: plum
RGB
175, 128, 188
HSL
287°, 31%, 62%
CMYK
7, 32, 0, 26
Luminance
0.2818
Every format
| HEX | #af80bc |
| RGB | rgb(175, 128, 188) |
| HSL | hsl(287, 31%, 62%) |
| CMYK | cmyk(7%, 32%, 0%, 26%) |
| LAB | lab(60.0 28.8 -24.4) |
| LCH | lch(60.0 37.7 319.7) |
| OKLCH | oklch(0.667 0.101 318.8) |
Copy-ready code
/* CSS */
color: #af80bc;
background-color: #af80bc;
/* Tailwind (arbitrary) */
class="text-[#af80bc] bg-[#af80bc]"
/* SCSS */
$brand: #af80bc;
/* SwiftUI */
Color(red: 0.686, green: 0.502, blue: 0.737)
/* Android */
Color.parseColor("#af80bc")Accessibility — WCAG contrast
Aa
#af80bc on white: 3.16:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#af80bc on black: 6.64:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green50.2%
Blue73.7%
CMYK percentages
Cyan6.9%
Magenta31.9%
Yellow0.0%
Key (black)26.3%
Color previews
#af80bc text on a black background
contrast 6.64:1
Card sample
#af80bc text on a white background
contrast 3.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af80bc;
Background color
Panel with #af80bc background
background-color: #af80bc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af80bc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 128, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 128, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af80bc; background: linear-gradient(135deg, #af80bc, #BC80A1);