#af89db
a light, vivid violet · warm · closest name: plum
RGB
175, 137, 219
HSL
268°, 53%, 70%
CMYK
20, 37, 0, 14
Luminance
0.3212
Every format
| HEX | #af89db |
| RGB | rgb(175, 137, 219) |
| HSL | hsl(268, 53%, 70%) |
| CMYK | cmyk(20%, 37%, 0%, 14%) |
| LAB | lab(63.4 30.4 -36.6) |
| LCH | lch(63.4 47.6 309.8) |
| OKLCH | oklch(0.697 0.123 304.7) |
Copy-ready code
/* CSS */
color: #af89db;
background-color: #af89db;
/* Tailwind (arbitrary) */
class="text-[#af89db] bg-[#af89db]"
/* SCSS */
$brand: #af89db;
/* SwiftUI */
Color(red: 0.686, green: 0.537, blue: 0.859)
/* Android */
Color.parseColor("#af89db")Accessibility — WCAG contrast
Aa
#af89db on white: 2.83:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#af89db on black: 7.42:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green53.7%
Blue85.9%
CMYK percentages
Cyan20.1%
Magenta37.4%
Yellow0.0%
Key (black)14.1%
Color previews
#af89db text on a black background
contrast 7.42:1
Card sample
#af89db text on a white background
contrast 2.83:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af89db;
Background color
Panel with #af89db background
background-color: #af89db;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af89db;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 137, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 137, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af89db; background: linear-gradient(135deg, #af89db, #DB89D0);