#afb6ff
a light, electric blue · warm · closest name: plum
RGB
175, 182, 255
HSL
235°, 100%, 84%
CMYK
31, 29, 0, 0
Luminance
0.4979
Every format
| HEX | #afb6ff |
| RGB | rgb(175, 182, 255) |
| HSL | hsl(235, 100%, 84%) |
| CMYK | cmyk(31%, 29%, 0%, 0%) |
| LAB | lab(75.9 13.8 -36.8) |
| LCH | lch(75.9 39.3 290.6) |
| OKLCH | oklch(0.798 0.104 279.5) |
Copy-ready code
/* CSS */
color: #afb6ff;
background-color: #afb6ff;
/* Tailwind (arbitrary) */
class="text-[#afb6ff] bg-[#afb6ff]"
/* SCSS */
$brand: #afb6ff;
/* SwiftUI */
Color(red: 0.686, green: 0.714, blue: 1.000)
/* Android */
Color.parseColor("#afb6ff")Accessibility — WCAG contrast
Aa
#afb6ff on white: 1.92:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afb6ff on black: 10.96:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green71.4%
Blue100.0%
CMYK percentages
Cyan31.4%
Magenta28.6%
Yellow0.0%
Key (black)0.0%
Color previews
#afb6ff text on a black background
contrast 10.96:1
Card sample
#afb6ff text on a white background
contrast 1.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afb6ff;
Background color
Panel with #afb6ff background
background-color: #afb6ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afb6ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 182, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 182, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afb6ff; background: linear-gradient(135deg, #afb6ff, #DDAFFF);