#afaaeb
a light, vivid blue · warm · closest name: plum
RGB
175, 170, 235
HSL
245°, 62%, 79%
CMYK
26, 28, 0, 8
Luminance
0.4386
Every format
| HEX | #afaaeb |
| RGB | rgb(175, 170, 235) |
| HSL | hsl(245, 62%, 79%) |
| CMYK | cmyk(26%, 28%, 0%, 8%) |
| LAB | lab(72.1 15.6 -31.9) |
| LCH | lch(72.1 35.5 296.1) |
| OKLCH | oklch(0.766 0.092 287.5) |
Copy-ready code
/* CSS */
color: #afaaeb;
background-color: #afaaeb;
/* Tailwind (arbitrary) */
class="text-[#afaaeb] bg-[#afaaeb]"
/* SCSS */
$brand: #afaaeb;
/* SwiftUI */
Color(red: 0.686, green: 0.667, blue: 0.922)
/* Android */
Color.parseColor("#afaaeb")Accessibility — WCAG contrast
Aa
#afaaeb on white: 2.15:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afaaeb on black: 9.77:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green66.7%
Blue92.2%
CMYK percentages
Cyan25.5%
Magenta27.7%
Yellow0.0%
Key (black)7.8%
Color previews
#afaaeb text on a black background
contrast 9.77:1
Card sample
#afaaeb text on a white background
contrast 2.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afaaeb;
Background color
Panel with #afaaeb background
background-color: #afaaeb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afaaeb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 170, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 170, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afaaeb; background: linear-gradient(135deg, #afaaeb, #DAAAEB);