#afb9ff
a light, electric blue · warm · closest name: plum
RGB
175, 185, 255
HSL
233°, 100%, 84%
CMYK
31, 28, 0, 0
Luminance
0.5103
Every format
| HEX | #afb9ff |
| RGB | rgb(175, 185, 255) |
| HSL | hsl(233, 100%, 84%) |
| CMYK | cmyk(31%, 28%, 0%, 0%) |
| LAB | lab(76.7 12.2 -35.6) |
| LCH | lch(76.7 37.7 288.9) |
| OKLCH | oklch(0.804 0.100 277.6) |
Copy-ready code
/* CSS */
color: #afb9ff;
background-color: #afb9ff;
/* Tailwind (arbitrary) */
class="text-[#afb9ff] bg-[#afb9ff]"
/* SCSS */
$brand: #afb9ff;
/* SwiftUI */
Color(red: 0.686, green: 0.725, blue: 1.000)
/* Android */
Color.parseColor("#afb9ff")Accessibility — WCAG contrast
Aa
#afb9ff on white: 1.87:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afb9ff on black: 11.21:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green72.5%
Blue100.0%
CMYK percentages
Cyan31.4%
Magenta27.5%
Yellow0.0%
Key (black)0.0%
Color previews
#afb9ff text on a black background
contrast 11.21:1
Card sample
#afb9ff text on a white background
contrast 1.87:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afb9ff;
Background color
Panel with #afb9ff background
background-color: #afb9ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afb9ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 185, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 185, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afb9ff; background: linear-gradient(135deg, #afb9ff, #DAAFFF);