#af68cf
a balanced, vivid violet · warm · closest name: orchid
RGB
175, 104, 207
HSL
281°, 52%, 61%
CMYK
16, 50, 0, 19
Luminance
0.2352
Every format
| HEX | #af68cf |
| RGB | rgb(175, 104, 207) |
| HSL | hsl(281, 52%, 61%) |
| CMYK | cmyk(16%, 50%, 0%, 19%) |
| LAB | lab(55.6 45.9 -42.1) |
| LCH | lch(55.6 62.3 317.5) |
| OKLCH | oklch(0.636 0.164 314.4) |
Copy-ready code
/* CSS */
color: #af68cf;
background-color: #af68cf;
/* Tailwind (arbitrary) */
class="text-[#af68cf] bg-[#af68cf]"
/* SCSS */
$brand: #af68cf;
/* SwiftUI */
Color(red: 0.686, green: 0.408, blue: 0.812)
/* Android */
Color.parseColor("#af68cf")Accessibility — WCAG contrast
Aa
#af68cf on white: 3.68:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#af68cf on black: 5.70:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green40.8%
Blue81.2%
CMYK percentages
Cyan15.5%
Magenta49.8%
Yellow0.0%
Key (black)18.8%
Color previews
#af68cf text on a black background
contrast 5.70:1
Card sample
#af68cf text on a white background
contrast 3.68:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af68cf;
Background color
Panel with #af68cf background
background-color: #af68cf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af68cf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 104, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 104, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af68cf; background: linear-gradient(135deg, #af68cf, #CF68AA);