#a8afff
a light, electric blue · warm · closest name: plum
RGB
168, 175, 255
HSL
235°, 100%, 83%
CMYK
34, 31, 0, 0
Luminance
0.4620
Every format
| HEX | #a8afff |
| RGB | rgb(168, 175, 255) |
| HSL | hsl(235, 100%, 83%) |
| CMYK | cmyk(34%, 31%, 0%, 0%) |
| LAB | lab(73.7 15.8 -40.4) |
| LCH | lch(73.7 43.4 291.4) |
| OKLCH | oklch(0.779 0.114 279.5) |
Copy-ready code
/* CSS */
color: #a8afff;
background-color: #a8afff;
/* Tailwind (arbitrary) */
class="text-[#a8afff] bg-[#a8afff]"
/* SCSS */
$brand: #a8afff;
/* SwiftUI */
Color(red: 0.659, green: 0.686, blue: 1.000)
/* Android */
Color.parseColor("#a8afff")Accessibility — WCAG contrast
Aa
#a8afff on white: 2.05:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a8afff on black: 10.24:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.9%
Green68.6%
Blue100.0%
CMYK percentages
Cyan34.1%
Magenta31.4%
Yellow0.0%
Key (black)0.0%
Color previews
#a8afff text on a black background
contrast 10.24:1
Card sample
#a8afff text on a white background
contrast 2.05:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a8afff;
Background color
Panel with #a8afff background
background-color: #a8afff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a8afff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(168, 175, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(168, 175, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a8afff; background: linear-gradient(135deg, #a8afff, #DBA8FF);