#af4ecc
a balanced, vivid violet · warm · closest name: orchid
RGB
175, 78, 204
HSL
286°, 55%, 55%
CMYK
14, 62, 0, 20
Luminance
0.1892
Every format
| HEX | #af4ecc |
| RGB | rgb(175, 78, 204) |
| HSL | hsl(286, 55%, 55%) |
| CMYK | cmyk(14%, 62%, 0%, 20%) |
| LAB | lab(50.6 58.2 -48.3) |
| LCH | lch(50.6 75.7 320.3) |
| OKLCH | oklch(0.599 0.201 317.7) |
Copy-ready code
/* CSS */
color: #af4ecc;
background-color: #af4ecc;
/* Tailwind (arbitrary) */
class="text-[#af4ecc] bg-[#af4ecc]"
/* SCSS */
$brand: #af4ecc;
/* SwiftUI */
Color(red: 0.686, green: 0.306, blue: 0.800)
/* Android */
Color.parseColor("#af4ecc")Accessibility — WCAG contrast
Aa
#af4ecc on white: 4.39:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#af4ecc on black: 4.78:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green30.6%
Blue80.0%
CMYK percentages
Cyan14.2%
Magenta61.8%
Yellow0.0%
Key (black)20.0%
Color previews
#af4ecc text on a black background
contrast 4.78:1
Card sample
#af4ecc text on a white background
contrast 4.39:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af4ecc;
Background color
Panel with #af4ecc background
background-color: #af4ecc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af4ecc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 78, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 78, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af4ecc; background: linear-gradient(135deg, #af4ecc, #CC4E95);