#af81df
a light, vivid violet · warm · closest name: orchid
RGB
175, 129, 223
HSL
269°, 60%, 69%
CMYK
22, 42, 0, 13
Luminance
0.3014
Every format
| HEX | #af81df |
| RGB | rgb(175, 129, 223) |
| HSL | hsl(269, 60%, 69%) |
| CMYK | cmyk(22%, 42%, 0%, 13%) |
| LAB | lab(61.8 35.8 -41.4) |
| LCH | lch(61.8 54.7 310.9) |
| OKLCH | oklch(0.685 0.142 305.5) |
Copy-ready code
/* CSS */
color: #af81df;
background-color: #af81df;
/* Tailwind (arbitrary) */
class="text-[#af81df] bg-[#af81df]"
/* SCSS */
$brand: #af81df;
/* SwiftUI */
Color(red: 0.686, green: 0.506, blue: 0.875)
/* Android */
Color.parseColor("#af81df")Accessibility — WCAG contrast
Aa
#af81df on white: 2.99:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#af81df on black: 7.03:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green50.6%
Blue87.5%
CMYK percentages
Cyan21.5%
Magenta42.2%
Yellow0.0%
Key (black)12.5%
Color previews
#af81df text on a black background
contrast 7.03:1
Card sample
#af81df text on a white background
contrast 2.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af81df;
Background color
Panel with #af81df background
background-color: #af81df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af81df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 129, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 129, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af81df; background: linear-gradient(135deg, #af81df, #DF81D0);