#af64cb
a balanced, vivid violet · warm · closest name: orchid
RGB
175, 100, 203
HSL
284°, 50%, 59%
CMYK
14, 51, 0, 20
Luminance
0.2254
Every format
| HEX | #af64cb |
| RGB | rgb(175, 100, 203) |
| HSL | hsl(284, 50%, 59%) |
| CMYK | cmyk(14%, 51%, 0%, 20%) |
| LAB | lab(54.6 47.2 -41.4) |
| LCH | lch(54.6 62.8 318.7) |
| OKLCH | oklch(0.628 0.166 316.2) |
Copy-ready code
/* CSS */
color: #af64cb;
background-color: #af64cb;
/* Tailwind (arbitrary) */
class="text-[#af64cb] bg-[#af64cb]"
/* SCSS */
$brand: #af64cb;
/* SwiftUI */
Color(red: 0.686, green: 0.392, blue: 0.796)
/* Android */
Color.parseColor("#af64cb")Accessibility — WCAG contrast
Aa
#af64cb on white: 3.81:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#af64cb on black: 5.51:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green39.2%
Blue79.6%
CMYK percentages
Cyan13.8%
Magenta50.7%
Yellow0.0%
Key (black)20.4%
Color previews
#af64cb text on a black background
contrast 5.51:1
Card sample
#af64cb text on a white background
contrast 3.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af64cb;
Background color
Panel with #af64cb background
background-color: #af64cb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af64cb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 100, 203, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 100, 203, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af64cb; background: linear-gradient(135deg, #af64cb, #CB64A2);