#af49ce
a balanced, vivid violet · warm · closest name: orchid
RGB
175, 73, 206
HSL
286°, 58%, 55%
CMYK
15, 65, 0, 19
Luminance
0.1834
Every format
| HEX | #af49ce |
| RGB | rgb(175, 73, 206) |
| HSL | hsl(286, 58%, 55%) |
| CMYK | cmyk(15%, 65%, 0%, 19%) |
| LAB | lab(49.9 60.9 -50.6) |
| LCH | lch(49.9 79.2 320.3) |
| OKLCH | oklch(0.595 0.210 317.4) |
Copy-ready code
/* CSS */
color: #af49ce;
background-color: #af49ce;
/* Tailwind (arbitrary) */
class="text-[#af49ce] bg-[#af49ce]"
/* SCSS */
$brand: #af49ce;
/* SwiftUI */
Color(red: 0.686, green: 0.286, blue: 0.808)
/* Android */
Color.parseColor("#af49ce")Accessibility — WCAG contrast
Aa
#af49ce on white: 4.50:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#af49ce on black: 4.67:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green28.6%
Blue80.8%
CMYK percentages
Cyan15.0%
Magenta64.6%
Yellow0.0%
Key (black)19.2%
Color previews
#af49ce text on a black background
contrast 4.67:1
Card sample
#af49ce text on a white background
contrast 4.50:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af49ce;
Background color
Panel with #af49ce background
background-color: #af49ce;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af49ce;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 73, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 73, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af49ce; background: linear-gradient(135deg, #af49ce, #CE4994);