#cbaeff
a light, electric violet · warm · closest name: plum
RGB
203, 174, 255
HSL
262°, 100%, 84%
CMYK
20, 32, 0, 0
Luminance
0.5019
Every format
| HEX | #cbaeff |
| RGB | rgb(203, 174, 255) |
| HSL | hsl(262, 100%, 84%) |
| CMYK | cmyk(20%, 32%, 0%, 0%) |
| LAB | lab(76.2 26.3 -36.3) |
| LCH | lch(76.2 44.8 305.9) |
| OKLCH | oklch(0.805 0.116 300.3) |
Copy-ready code
/* CSS */
color: #cbaeff;
background-color: #cbaeff;
/* Tailwind (arbitrary) */
class="text-[#cbaeff] bg-[#cbaeff]"
/* SCSS */
$brand: #cbaeff;
/* SwiftUI */
Color(red: 0.796, green: 0.682, blue: 1.000)
/* Android */
Color.parseColor("#cbaeff")Accessibility — WCAG contrast
Aa
#cbaeff on white: 1.90:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cbaeff on black: 11.04:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green68.2%
Blue100.0%
CMYK percentages
Cyan20.4%
Magenta31.8%
Yellow0.0%
Key (black)0.0%
Color previews
#cbaeff text on a black background
contrast 11.04:1
Card sample
#cbaeff text on a white background
contrast 1.90:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cbaeff;
Background color
Panel with #cbaeff background
background-color: #cbaeff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cbaeff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 174, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 174, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbaeff; background: linear-gradient(135deg, #cbaeff, #FFAEFD);