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