#af4fc4
a balanced, vivid violet · warm · closest name: orchid
RGB
175, 79, 196
HSL
289°, 50%, 54%
CMYK
11, 60, 0, 23
Luminance
0.1869
Every format
| HEX | #af4fc4 |
| RGB | rgb(175, 79, 196) |
| HSL | hsl(289, 50%, 54%) |
| CMYK | cmyk(11%, 60%, 0%, 23%) |
| LAB | lab(50.3 56.2 -44.2) |
| LCH | lch(50.3 71.5 321.8) |
| OKLCH | oklch(0.596 0.192 320.1) |
Copy-ready code
/* CSS */
color: #af4fc4;
background-color: #af4fc4;
/* Tailwind (arbitrary) */
class="text-[#af4fc4] bg-[#af4fc4]"
/* SCSS */
$brand: #af4fc4;
/* SwiftUI */
Color(red: 0.686, green: 0.310, blue: 0.769)
/* Android */
Color.parseColor("#af4fc4")Accessibility — WCAG contrast
Aa
#af4fc4 on white: 4.43:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#af4fc4 on black: 4.74:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green31.0%
Blue76.9%
CMYK percentages
Cyan10.7%
Magenta59.7%
Yellow0.0%
Key (black)23.1%
Color previews
#af4fc4 text on a black background
contrast 4.74:1
Card sample
#af4fc4 text on a white background
contrast 4.43:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af4fc4;
Background color
Panel with #af4fc4 background
background-color: #af4fc4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af4fc4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 79, 196, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 79, 196, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af4fc4; background: linear-gradient(135deg, #af4fc4, #C44F8B);