#cac8ff
a pale, electric blue · warm · closest name: lavender
RGB
202, 200, 255
HSL
242°, 100%, 89%
CMYK
21, 22, 0, 0
Luminance
0.6109
Every format
| HEX | #cac8ff |
| RGB | rgb(202, 200, 255) |
| HSL | hsl(242, 100%, 89%) |
| CMYK | cmyk(21%, 22%, 0%, 0%) |
| LAB | lab(82.4 11.8 -26.7) |
| LCH | lch(82.4 29.2 293.9) |
| OKLCH | oklch(0.853 0.076 286.3) |
Copy-ready code
/* CSS */
color: #cac8ff;
background-color: #cac8ff;
/* Tailwind (arbitrary) */
class="text-[#cac8ff] bg-[#cac8ff]"
/* SCSS */
$brand: #cac8ff;
/* SwiftUI */
Color(red: 0.792, green: 0.784, blue: 1.000)
/* Android */
Color.parseColor("#cac8ff")Accessibility — WCAG contrast
Aa
#cac8ff on white: 1.59:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cac8ff on black: 13.22:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.2%
Green78.4%
Blue100.0%
CMYK percentages
Cyan20.8%
Magenta21.6%
Yellow0.0%
Key (black)0.0%
Color previews
#cac8ff text on a black background
contrast 13.22:1
Card sample
#cac8ff text on a white background
contrast 1.59:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cac8ff;
Background color
Panel with #cac8ff background
background-color: #cac8ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cac8ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(202, 200, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 200, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cac8ff; background: linear-gradient(135deg, #cac8ff, #EFC8FF);