#afaffb
a light, electric blue · warm · closest name: plum
RGB
175, 175, 251
HSL
240°, 91%, 84%
CMYK
30, 30, 0, 2
Luminance
0.4674
Every format
| HEX | #afaffb |
| RGB | rgb(175, 175, 251) |
| HSL | hsl(240, 91%, 84%) |
| CMYK | cmyk(30%, 30%, 0%, 2%) |
| LAB | lab(74.0 16.7 -37.6) |
| LCH | lch(74.0 41.2 294.0) |
| OKLCH | oklch(0.782 0.108 283.6) |
Copy-ready code
/* CSS */
color: #afaffb;
background-color: #afaffb;
/* Tailwind (arbitrary) */
class="text-[#afaffb] bg-[#afaffb]"
/* SCSS */
$brand: #afaffb;
/* SwiftUI */
Color(red: 0.686, green: 0.686, blue: 0.984)
/* Android */
Color.parseColor("#afaffb")Accessibility — WCAG contrast
Aa
#afaffb on white: 2.03:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afaffb on black: 10.35:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green68.6%
Blue98.4%
CMYK percentages
Cyan30.3%
Magenta30.3%
Yellow0.0%
Key (black)1.6%
Color previews
#afaffb text on a black background
contrast 10.35:1
Card sample
#afaffb text on a white background
contrast 2.03:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afaffb;
Background color
Panel with #afaffb background
background-color: #afaffb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afaffb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 175, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 175, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afaffb; background: linear-gradient(135deg, #afaffb, #E2AFFB);