#af92c8
a light, soft violet · warm · closest name: plum
RGB
175, 146, 200
HSL
272°, 33%, 68%
CMYK
13, 27, 0, 22
Luminance
0.3384
Every format
| HEX | #af92c8 |
| RGB | rgb(175, 146, 200) |
| HSL | hsl(272, 33%, 68%) |
| CMYK | cmyk(13%, 27%, 0%, 22%) |
| LAB | lab(64.8 21.1 -23.8) |
| LCH | lch(64.8 31.8 311.6) |
| OKLCH | oklch(0.705 0.083 308.8) |
Copy-ready code
/* CSS */
color: #af92c8;
background-color: #af92c8;
/* Tailwind (arbitrary) */
class="text-[#af92c8] bg-[#af92c8]"
/* SCSS */
$brand: #af92c8;
/* SwiftUI */
Color(red: 0.686, green: 0.573, blue: 0.784)
/* Android */
Color.parseColor("#af92c8")Accessibility — WCAG contrast
Aa
#af92c8 on white: 2.70:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#af92c8 on black: 7.77:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green57.3%
Blue78.4%
CMYK percentages
Cyan12.5%
Magenta27.0%
Yellow0.0%
Key (black)21.6%
Color previews
#af92c8 text on a black background
contrast 7.77:1
Card sample
#af92c8 text on a white background
contrast 2.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af92c8;
Background color
Panel with #af92c8 background
background-color: #af92c8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af92c8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 146, 200, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 146, 200, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af92c8; background: linear-gradient(135deg, #af92c8, #C892BD);