#af55df
a balanced, vivid violet · warm · closest name: orchid
RGB
175, 85, 223
HSL
279°, 68%, 60%
CMYK
22, 62, 0, 13
Luminance
0.2094
Every format
| HEX | #af55df |
| RGB | rgb(175, 85, 223) |
| HSL | hsl(279, 68%, 60%) |
| CMYK | cmyk(22%, 62%, 0%, 13%) |
| LAB | lab(52.9 58.9 -55.5) |
| LCH | lch(52.9 80.9 316.7) |
| OKLCH | oklch(0.619 0.210 311.9) |
Copy-ready code
/* CSS */
color: #af55df;
background-color: #af55df;
/* Tailwind (arbitrary) */
class="text-[#af55df] bg-[#af55df]"
/* SCSS */
$brand: #af55df;
/* SwiftUI */
Color(red: 0.686, green: 0.333, blue: 0.875)
/* Android */
Color.parseColor("#af55df")Accessibility — WCAG contrast
Aa
#af55df on white: 4.05:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#af55df on black: 5.19:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green33.3%
Blue87.5%
CMYK percentages
Cyan21.5%
Magenta61.9%
Yellow0.0%
Key (black)12.5%
Color previews
#af55df text on a black background
contrast 5.19:1
Card sample
#af55df text on a white background
contrast 4.05:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af55df;
Background color
Panel with #af55df background
background-color: #af55df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af55df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 85, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 85, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af55df; background: linear-gradient(135deg, #af55df, #DF55B3);