#afb2ff
a light, electric blue · warm · closest name: plum
RGB
175, 178, 255
HSL
238°, 100%, 84%
CMYK
31, 30, 0, 0
Luminance
0.4817
Every format
| HEX | #afb2ff |
| RGB | rgb(175, 178, 255) |
| HSL | hsl(238, 100%, 84%) |
| CMYK | cmyk(31%, 30%, 0%, 0%) |
| LAB | lab(74.9 16.1 -38.4) |
| LCH | lch(74.9 41.6 292.7) |
| OKLCH | oklch(0.790 0.109 281.9) |
Copy-ready code
/* CSS */
color: #afb2ff;
background-color: #afb2ff;
/* Tailwind (arbitrary) */
class="text-[#afb2ff] bg-[#afb2ff]"
/* SCSS */
$brand: #afb2ff;
/* SwiftUI */
Color(red: 0.686, green: 0.698, blue: 1.000)
/* Android */
Color.parseColor("#afb2ff")Accessibility — WCAG contrast
Aa
#afb2ff on white: 1.97:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afb2ff on black: 10.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green69.8%
Blue100.0%
CMYK percentages
Cyan31.4%
Magenta30.2%
Yellow0.0%
Key (black)0.0%
Color previews
#afb2ff text on a black background
contrast 10.63:1
Card sample
#afb2ff text on a white background
contrast 1.97:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afb2ff;
Background color
Panel with #afb2ff background
background-color: #afb2ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afb2ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 178, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 178, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afb2ff; background: linear-gradient(135deg, #afb2ff, #E1AFFF);