#afafdf
a light, soft blue · warm · closest name: plum
RGB
175, 175, 223
HSL
240°, 43%, 78%
CMYK
22, 22, 0, 13
Luminance
0.4510
Every format
| HEX | #afafdf |
| RGB | rgb(175, 175, 223) |
| HSL | hsl(240, 43%, 78%) |
| CMYK | cmyk(22%, 22%, 0%, 13%) |
| LAB | lab(73.0 10.1 -24.1) |
| LCH | lch(73.0 26.1 292.7) |
| OKLCH | oklch(0.771 0.068 284.7) |
Copy-ready code
/* CSS */
color: #afafdf;
background-color: #afafdf;
/* Tailwind (arbitrary) */
class="text-[#afafdf] bg-[#afafdf]"
/* SCSS */
$brand: #afafdf;
/* SwiftUI */
Color(red: 0.686, green: 0.686, blue: 0.875)
/* Android */
Color.parseColor("#afafdf")Accessibility — WCAG contrast
Aa
#afafdf on white: 2.10:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afafdf on black: 10.02:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green68.6%
Blue87.5%
CMYK percentages
Cyan21.5%
Magenta21.5%
Yellow0.0%
Key (black)12.5%
Color previews
#afafdf text on a black background
contrast 10.02:1
Card sample
#afafdf text on a white background
contrast 2.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afafdf;
Background color
Panel with #afafdf background
background-color: #afafdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afafdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 175, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 175, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afafdf; background: linear-gradient(135deg, #afafdf, #CFAFDF);