#cfaffe
a light, electric violet · warm · closest name: plum
RGB
207, 175, 254
HSL
264°, 98%, 84%
CMYK
19, 31, 0, 0
Luminance
0.5108
Every format
| HEX | #cfaffe |
| RGB | rgb(207, 175, 254) |
| HSL | hsl(264, 98%, 84%) |
| CMYK | cmyk(19%, 31%, 0%, 0%) |
| LAB | lab(76.7 26.7 -34.9) |
| LCH | lch(76.7 43.9 307.5) |
| OKLCH | oklch(0.810 0.114 302.5) |
Copy-ready code
/* CSS */
color: #cfaffe;
background-color: #cfaffe;
/* Tailwind (arbitrary) */
class="text-[#cfaffe] bg-[#cfaffe]"
/* SCSS */
$brand: #cfaffe;
/* SwiftUI */
Color(red: 0.812, green: 0.686, blue: 0.996)
/* Android */
Color.parseColor("#cfaffe")Accessibility — WCAG contrast
Aa
#cfaffe on white: 1.87:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfaffe on black: 11.22:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green68.6%
Blue99.6%
CMYK percentages
Cyan18.5%
Magenta31.1%
Yellow0.0%
Key (black)0.4%
Color previews
#cfaffe text on a black background
contrast 11.22:1
Card sample
#cfaffe text on a white background
contrast 1.87:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfaffe;
Background color
Panel with #cfaffe background
background-color: #cfaffe;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfaffe;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 175, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 175, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfaffe; background: linear-gradient(135deg, #cfaffe, #FEAFF8);