#af6ad2
a balanced, vivid violet · warm · closest name: orchid
RGB
175, 106, 210
HSL
280°, 54%, 62%
CMYK
17, 50, 0, 18
Luminance
0.2408
Every format
| HEX | #af6ad2 |
| RGB | rgb(175, 106, 210) |
| HSL | hsl(280, 54%, 62%) |
| CMYK | cmyk(17%, 50%, 0%, 18%) |
| LAB | lab(56.2 45.5 -42.9) |
| LCH | lch(56.2 62.5 316.7) |
| OKLCH | oklch(0.641 0.164 313.2) |
Copy-ready code
/* CSS */
color: #af6ad2;
background-color: #af6ad2;
/* Tailwind (arbitrary) */
class="text-[#af6ad2] bg-[#af6ad2]"
/* SCSS */
$brand: #af6ad2;
/* SwiftUI */
Color(red: 0.686, green: 0.416, blue: 0.824)
/* Android */
Color.parseColor("#af6ad2")Accessibility — WCAG contrast
Aa
#af6ad2 on white: 3.61:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#af6ad2 on black: 5.82:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green41.6%
Blue82.4%
CMYK percentages
Cyan16.7%
Magenta49.5%
Yellow0.0%
Key (black)17.6%
Color previews
#af6ad2 text on a black background
contrast 5.82:1
Card sample
#af6ad2 text on a white background
contrast 3.61:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af6ad2;
Background color
Panel with #af6ad2 background
background-color: #af6ad2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af6ad2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 106, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 106, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af6ad2; background: linear-gradient(135deg, #af6ad2, #D26AB0);