#af9eb4
a light, muted violet · warm · closest name: silver
RGB
175, 158, 180
HSL
286°, 13%, 66%
CMYK
3, 12, 0, 29
Luminance
0.3686
Every format
| HEX | #af9eb4 |
| RGB | rgb(175, 158, 180) |
| HSL | hsl(286, 13%, 66%) |
| CMYK | cmyk(3%, 12%, 0%, 29%) |
| LAB | lab(67.2 10.3 -9.1) |
| LCH | lch(67.2 13.7 318.5) |
| OKLCH | oklch(0.721 0.037 318.5) |
Copy-ready code
/* CSS */
color: #af9eb4;
background-color: #af9eb4;
/* Tailwind (arbitrary) */
class="text-[#af9eb4] bg-[#af9eb4]"
/* SCSS */
$brand: #af9eb4;
/* SwiftUI */
Color(red: 0.686, green: 0.620, blue: 0.706)
/* Android */
Color.parseColor("#af9eb4")Accessibility — WCAG contrast
Aa
#af9eb4 on white: 2.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#af9eb4 on black: 8.37:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green62.0%
Blue70.6%
CMYK percentages
Cyan2.8%
Magenta12.2%
Yellow0.0%
Key (black)29.4%
Color previews
#af9eb4 text on a black background
contrast 8.37:1
Card sample
#af9eb4 text on a white background
contrast 2.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af9eb4;
Background color
Panel with #af9eb4 background
background-color: #af9eb4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af9eb4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 158, 180, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 158, 180, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af9eb4; background: linear-gradient(135deg, #af9eb4, #B49EAA);