#af68db
a balanced, vivid violet · warm · closest name: orchid
RGB
175, 104, 219
HSL
277°, 62%, 63%
CMYK
20, 53, 0, 14
Luminance
0.2413
Every format
| HEX | #af68db |
| RGB | rgb(175, 104, 219) |
| HSL | hsl(277, 62%, 63%) |
| CMYK | cmyk(20%, 53%, 0%, 14%) |
| LAB | lab(56.2 48.5 -47.9) |
| LCH | lch(56.2 68.2 315.3) |
| OKLCH | oklch(0.643 0.177 310.9) |
Copy-ready code
/* CSS */
color: #af68db;
background-color: #af68db;
/* Tailwind (arbitrary) */
class="text-[#af68db] bg-[#af68db]"
/* SCSS */
$brand: #af68db;
/* SwiftUI */
Color(red: 0.686, green: 0.408, blue: 0.859)
/* Android */
Color.parseColor("#af68db")Accessibility — WCAG contrast
Aa
#af68db on white: 3.60:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#af68db on black: 5.83:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green40.8%
Blue85.9%
CMYK percentages
Cyan20.1%
Magenta52.5%
Yellow0.0%
Key (black)14.1%
Color previews
#af68db text on a black background
contrast 5.83:1
Card sample
#af68db text on a white background
contrast 3.60:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af68db;
Background color
Panel with #af68db background
background-color: #af68db;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af68db;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 104, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 104, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af68db; background: linear-gradient(135deg, #af68db, #DB68BA);