#af7ee4
a light, vivid violet · warm · closest name: orchid
RGB
175, 126, 228
HSL
269°, 65%, 69%
CMYK
23, 45, 0, 11
Luminance
0.2964
Every format
| HEX | #af7ee4 |
| RGB | rgb(175, 126, 228) |
| HSL | hsl(269, 65%, 69%) |
| CMYK | cmyk(23%, 45%, 0%, 11%) |
| LAB | lab(61.3 38.6 -44.9) |
| LCH | lch(61.3 59.2 310.7) |
| OKLCH | oklch(0.682 0.153 304.9) |
Copy-ready code
/* CSS */
color: #af7ee4;
background-color: #af7ee4;
/* Tailwind (arbitrary) */
class="text-[#af7ee4] bg-[#af7ee4]"
/* SCSS */
$brand: #af7ee4;
/* SwiftUI */
Color(red: 0.686, green: 0.494, blue: 0.894)
/* Android */
Color.parseColor("#af7ee4")Accessibility — WCAG contrast
Aa
#af7ee4 on white: 3.03:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#af7ee4 on black: 6.93:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green49.4%
Blue89.4%
CMYK percentages
Cyan23.2%
Magenta44.7%
Yellow0.0%
Key (black)10.6%
Color previews
#af7ee4 text on a black background
contrast 6.93:1
Card sample
#af7ee4 text on a white background
contrast 3.03:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af7ee4;
Background color
Panel with #af7ee4 background
background-color: #af7ee4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af7ee4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 126, 228, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 126, 228, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af7ee4; background: linear-gradient(135deg, #af7ee4, #E47ED5);