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