#af84bc
a balanced, soft violet · warm · closest name: plum
RGB
175, 132, 188
HSL
286°, 30%, 63%
CMYK
7, 30, 0, 26
Luminance
0.2925
Every format
| HEX | #af84bc |
| RGB | rgb(175, 132, 188) |
| HSL | hsl(286, 30%, 63%) |
| CMYK | cmyk(7%, 30%, 0%, 26%) |
| LAB | lab(61.0 26.5 -22.9) |
| LCH | lch(61.0 35.1 319.1) |
| OKLCH | oklch(0.674 0.094 318.2) |
Copy-ready code
/* CSS */
color: #af84bc;
background-color: #af84bc;
/* Tailwind (arbitrary) */
class="text-[#af84bc] bg-[#af84bc]"
/* SCSS */
$brand: #af84bc;
/* SwiftUI */
Color(red: 0.686, green: 0.518, blue: 0.737)
/* Android */
Color.parseColor("#af84bc")Accessibility — WCAG contrast
Aa
#af84bc on white: 3.07:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#af84bc on black: 6.85:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green51.8%
Blue73.7%
CMYK percentages
Cyan6.9%
Magenta29.8%
Yellow0.0%
Key (black)26.3%
Color previews
#af84bc text on a black background
contrast 6.85:1
Card sample
#af84bc text on a white background
contrast 3.07:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af84bc;
Background color
Panel with #af84bc background
background-color: #af84bc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af84bc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 132, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 132, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af84bc; background: linear-gradient(135deg, #af84bc, #BC84A4);