#afaaff
a light, electric blue · warm · closest name: plum
RGB
175, 170, 255
HSL
244°, 100%, 83%
CMYK
31, 33, 0, 0
Luminance
0.4508
Every format
| HEX | #afaaff |
| RGB | rgb(175, 170, 255) |
| HSL | hsl(244, 100%, 83%) |
| CMYK | cmyk(31%, 33%, 0%, 0%) |
| LAB | lab(73.0 20.5 -41.5) |
| LCH | lch(73.0 46.3 296.3) |
| OKLCH | oklch(0.775 0.120 285.9) |
Copy-ready code
/* CSS */
color: #afaaff;
background-color: #afaaff;
/* Tailwind (arbitrary) */
class="text-[#afaaff] bg-[#afaaff]"
/* SCSS */
$brand: #afaaff;
/* SwiftUI */
Color(red: 0.686, green: 0.667, blue: 1.000)
/* Android */
Color.parseColor("#afaaff")Accessibility — WCAG contrast
Aa
#afaaff on white: 2.10:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afaaff on black: 10.02:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green66.7%
Blue100.0%
CMYK percentages
Cyan31.4%
Magenta33.3%
Yellow0.0%
Key (black)0.0%
Color previews
#afaaff text on a black background
contrast 10.02:1
Card sample
#afaaff text on a white background
contrast 2.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afaaff;
Background color
Panel with #afaaff background
background-color: #afaaff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afaaff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 170, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 170, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afaaff; background: linear-gradient(135deg, #afaaff, #E8AAFF);