#af3ecb
a balanced, vivid violet · warm · closest name: purple
RGB
175, 62, 203
HSL
288°, 58%, 52%
CMYK
14, 70, 0, 20
Luminance
0.1687
Every format
| HEX | #af3ecb |
| RGB | rgb(175, 62, 203) |
| HSL | hsl(288, 58%, 52%) |
| CMYK | cmyk(14%, 70%, 0%, 20%) |
| LAB | lab(48.1 64.8 -51.8) |
| LCH | lch(48.1 83.0 321.4) |
| OKLCH | oklch(0.581 0.221 318.9) |
Copy-ready code
/* CSS */
color: #af3ecb;
background-color: #af3ecb;
/* Tailwind (arbitrary) */
class="text-[#af3ecb] bg-[#af3ecb]"
/* SCSS */
$brand: #af3ecb;
/* SwiftUI */
Color(red: 0.686, green: 0.243, blue: 0.796)
/* Android */
Color.parseColor("#af3ecb")Accessibility — WCAG contrast
Aa
#af3ecb on white: 4.80:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#af3ecb on black: 4.37:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green24.3%
Blue79.6%
CMYK percentages
Cyan13.8%
Magenta69.5%
Yellow0.0%
Key (black)20.4%
Color previews
#af3ecb text on a black background
contrast 4.37:1
Card sample
#af3ecb text on a white background
contrast 4.80:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af3ecb;
Background color
Panel with #af3ecb background
background-color: #af3ecb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af3ecb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 62, 203, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 62, 203, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af3ecb; background: linear-gradient(135deg, #af3ecb, #CB3E89);