#ceabf0
a light, vivid violet · warm · closest name: plum
RGB
206, 171, 240
HSL
270°, 70%, 81%
CMYK
14, 29, 0, 6
Luminance
0.4854
Every format
| HEX | #ceabf0 |
| RGB | rgb(206, 171, 240) |
| HSL | hsl(270, 70%, 81%) |
| CMYK | cmyk(14%, 29%, 0%, 6%) |
| LAB | lab(75.2 25.6 -29.7) |
| LCH | lch(75.2 39.2 310.7) |
| OKLCH | oklch(0.796 0.102 307.3) |
Copy-ready code
/* CSS */
color: #ceabf0;
background-color: #ceabf0;
/* Tailwind (arbitrary) */
class="text-[#ceabf0] bg-[#ceabf0]"
/* SCSS */
$brand: #ceabf0;
/* SwiftUI */
Color(red: 0.808, green: 0.671, blue: 0.941)
/* Android */
Color.parseColor("#ceabf0")Accessibility — WCAG contrast
Aa
#ceabf0 on white: 1.96:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ceabf0 on black: 10.71:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green67.1%
Blue94.1%
CMYK percentages
Cyan14.2%
Magenta28.8%
Yellow0.0%
Key (black)5.9%
Color previews
#ceabf0 text on a black background
contrast 10.71:1
Card sample
#ceabf0 text on a white background
contrast 1.96:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ceabf0;
Background color
Panel with #ceabf0 background
background-color: #ceabf0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ceabf0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 171, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 171, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ceabf0; background: linear-gradient(135deg, #ceabf0, #F0ABE4);