#afbeff
a light, electric blue · warm · closest name: plum
RGB
175, 190, 255
HSL
229°, 100%, 84%
CMYK
31, 26, 0, 0
Luminance
0.5316
Every format
| HEX | #afbeff |
| RGB | rgb(175, 190, 255) |
| HSL | hsl(229, 100%, 84%) |
| CMYK | cmyk(31%, 26%, 0%, 0%) |
| LAB | lab(78.0 9.4 -33.7) |
| LCH | lch(78.0 35.0 285.6) |
| OKLCH | oklch(0.813 0.093 274.1) |
Copy-ready code
/* CSS */
color: #afbeff;
background-color: #afbeff;
/* Tailwind (arbitrary) */
class="text-[#afbeff] bg-[#afbeff]"
/* SCSS */
$brand: #afbeff;
/* SwiftUI */
Color(red: 0.686, green: 0.745, blue: 1.000)
/* Android */
Color.parseColor("#afbeff")Accessibility — WCAG contrast
Aa
#afbeff on white: 1.81:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afbeff on black: 11.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green74.5%
Blue100.0%
CMYK percentages
Cyan31.4%
Magenta25.5%
Yellow0.0%
Key (black)0.0%
Color previews
#afbeff text on a black background
contrast 11.63:1
Card sample
#afbeff text on a white background
contrast 1.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afbeff;
Background color
Panel with #afbeff background
background-color: #afbeff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afbeff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 190, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 190, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afbeff; background: linear-gradient(135deg, #afbeff, #D5AFFF);