#af49df
a balanced, vivid violet · warm · closest name: orchid
RGB
175, 73, 223
HSL
281°, 70%, 58%
CMYK
22, 67, 0, 13
Luminance
0.1921
Every format
| HEX | #af49df |
| RGB | rgb(175, 73, 223) |
| HSL | hsl(281, 70%, 58%) |
| CMYK | cmyk(22%, 67%, 0%, 13%) |
| LAB | lab(50.9 64.3 -58.6) |
| LCH | lch(50.9 87.0 317.6) |
| OKLCH | oklch(0.605 0.226 312.9) |
Copy-ready code
/* CSS */
color: #af49df;
background-color: #af49df;
/* Tailwind (arbitrary) */
class="text-[#af49df] bg-[#af49df]"
/* SCSS */
$brand: #af49df;
/* SwiftUI */
Color(red: 0.686, green: 0.286, blue: 0.875)
/* Android */
Color.parseColor("#af49df")Accessibility — WCAG contrast
Aa
#af49df on white: 4.34:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#af49df on black: 4.84:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green28.6%
Blue87.5%
CMYK percentages
Cyan21.5%
Magenta67.3%
Yellow0.0%
Key (black)12.5%
Color previews
#af49df text on a black background
contrast 4.84:1
Card sample
#af49df text on a white background
contrast 4.34:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af49df;
Background color
Panel with #af49df background
background-color: #af49df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af49df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 73, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 73, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af49df; background: linear-gradient(135deg, #af49df, #DF49AB);