#ceb5ff
a pale, electric violet · warm · closest name: plum
RGB
206, 181, 255
HSL
260°, 100%, 86%
CMYK
19, 29, 0, 0
Luminance
0.5339
Every format
| HEX | #ceb5ff |
| RGB | rgb(206, 181, 255) |
| HSL | hsl(260, 100%, 86%) |
| CMYK | cmyk(19%, 29%, 0%, 0%) |
| LAB | lab(78.1 23.4 -33.3) |
| LCH | lch(78.1 40.6 305.1) |
| OKLCH | oklch(0.820 0.105 299.6) |
Copy-ready code
/* CSS */
color: #ceb5ff;
background-color: #ceb5ff;
/* Tailwind (arbitrary) */
class="text-[#ceb5ff] bg-[#ceb5ff]"
/* SCSS */
$brand: #ceb5ff;
/* SwiftUI */
Color(red: 0.808, green: 0.710, blue: 1.000)
/* Android */
Color.parseColor("#ceb5ff")Accessibility — WCAG contrast
Aa
#ceb5ff on white: 1.80:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ceb5ff on black: 11.68:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green71.0%
Blue100.0%
CMYK percentages
Cyan19.2%
Magenta29.0%
Yellow0.0%
Key (black)0.0%
Color previews
#ceb5ff text on a black background
contrast 11.68:1
Card sample
#ceb5ff text on a white background
contrast 1.80:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ceb5ff;
Background color
Panel with #ceb5ff background
background-color: #ceb5ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ceb5ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 181, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 181, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ceb5ff; background: linear-gradient(135deg, #ceb5ff, #FFB5FF);