#af64ff
a light, electric violet · warm · closest name: slateblue
RGB
175, 100, 255
HSL
269°, 100%, 70%
CMYK
31, 61, 0, 0
Luminance
0.2545
Every format
| HEX | #af64ff |
| RGB | rgb(175, 100, 255) |
| HSL | hsl(269, 100%, 70%) |
| CMYK | cmyk(31%, 61%, 0%, 0%) |
| LAB | lab(57.5 58.7 -66.0) |
| LCH | lch(57.5 88.3 311.7) |
| OKLCH | oklch(0.659 0.223 303.0) |
Copy-ready code
/* CSS */
color: #af64ff;
background-color: #af64ff;
/* Tailwind (arbitrary) */
class="text-[#af64ff] bg-[#af64ff]"
/* SCSS */
$brand: #af64ff;
/* SwiftUI */
Color(red: 0.686, green: 0.392, blue: 1.000)
/* Android */
Color.parseColor("#af64ff")Accessibility — WCAG contrast
Aa
#af64ff on white: 3.45:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#af64ff on black: 6.09:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green39.2%
Blue100.0%
CMYK percentages
Cyan31.4%
Magenta60.8%
Yellow0.0%
Key (black)0.0%
Color previews
#af64ff text on a black background
contrast 6.09:1
Card sample
#af64ff text on a white background
contrast 3.45:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af64ff;
Background color
Panel with #af64ff background
background-color: #af64ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af64ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 100, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 100, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af64ff; background: linear-gradient(135deg, #af64ff, #FF64E8);