#afabfc
a light, electric blue · warm · closest name: plum
RGB
175, 171, 252
HSL
243°, 93%, 83%
CMYK
31, 32, 0, 1
Luminance
0.4527
Every format
| HEX | #afabfc |
| RGB | rgb(175, 171, 252) |
| HSL | hsl(243, 93%, 83%) |
| CMYK | cmyk(31%, 32%, 0%, 1%) |
| LAB | lab(73.1 19.2 -39.7) |
| LCH | lch(73.1 44.1 295.8) |
| OKLCH | oklch(0.775 0.115 285.7) |
Copy-ready code
/* CSS */
color: #afabfc;
background-color: #afabfc;
/* Tailwind (arbitrary) */
class="text-[#afabfc] bg-[#afabfc]"
/* SCSS */
$brand: #afabfc;
/* SwiftUI */
Color(red: 0.686, green: 0.671, blue: 0.988)
/* Android */
Color.parseColor("#afabfc")Accessibility — WCAG contrast
Aa
#afabfc on white: 2.09:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afabfc on black: 10.05:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green67.1%
Blue98.8%
CMYK percentages
Cyan30.6%
Magenta32.1%
Yellow0.0%
Key (black)1.2%
Color previews
#afabfc text on a black background
contrast 10.05:1
Card sample
#afabfc text on a white background
contrast 2.09:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afabfc;
Background color
Panel with #afabfc background
background-color: #afabfc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afabfc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 171, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 171, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afabfc; background: linear-gradient(135deg, #afabfc, #E5ABFC);