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