#af60df
a balanced, vivid violet · warm · closest name: orchid
RGB
175, 96, 223
HSL
277°, 67%, 63%
CMYK
22, 57, 0, 13
Luminance
0.2281
Every format
| HEX | #af60df |
| RGB | rgb(175, 96, 223) |
| HSL | hsl(277, 67%, 63%) |
| CMYK | cmyk(22%, 57%, 0%, 13%) |
| LAB | lab(54.9 53.5 -52.3) |
| LCH | lch(54.9 74.8 315.6) |
| OKLCH | oklch(0.634 0.194 310.8) |
Copy-ready code
/* CSS */
color: #af60df;
background-color: #af60df;
/* Tailwind (arbitrary) */
class="text-[#af60df] bg-[#af60df]"
/* SCSS */
$brand: #af60df;
/* SwiftUI */
Color(red: 0.686, green: 0.376, blue: 0.875)
/* Android */
Color.parseColor("#af60df")Accessibility — WCAG contrast
Aa
#af60df on white: 3.78:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#af60df on black: 5.56:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green37.6%
Blue87.5%
CMYK percentages
Cyan21.5%
Magenta57.0%
Yellow0.0%
Key (black)12.5%
Color previews
#af60df text on a black background
contrast 5.56:1
Card sample
#af60df text on a white background
contrast 3.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af60df;
Background color
Panel with #af60df background
background-color: #af60df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af60df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 96, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 96, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af60df; background: linear-gradient(135deg, #af60df, #DF60BA);