#cba6fe
a light, electric violet · warm · closest name: plum
RGB
203, 166, 254
HSL
265°, 98%, 82%
CMYK
20, 35, 0, 0
Luminance
0.4712
Every format
| HEX | #cba6fe |
| RGB | rgb(203, 166, 254) |
| HSL | hsl(265, 98%, 82%) |
| CMYK | cmyk(20%, 35%, 0%, 0%) |
| LAB | lab(74.3 30.4 -38.7) |
| LCH | lch(74.3 49.2 308.2) |
| OKLCH | oklch(0.790 0.128 302.9) |
Copy-ready code
/* CSS */
color: #cba6fe;
background-color: #cba6fe;
/* Tailwind (arbitrary) */
class="text-[#cba6fe] bg-[#cba6fe]"
/* SCSS */
$brand: #cba6fe;
/* SwiftUI */
Color(red: 0.796, green: 0.651, blue: 0.996)
/* Android */
Color.parseColor("#cba6fe")Accessibility — WCAG contrast
Aa
#cba6fe on white: 2.01:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cba6fe on black: 10.42:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green65.1%
Blue99.6%
CMYK percentages
Cyan20.1%
Magenta34.6%
Yellow0.0%
Key (black)0.4%
Color previews
#cba6fe text on a black background
contrast 10.42:1
Card sample
#cba6fe text on a white background
contrast 2.01:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cba6fe;
Background color
Panel with #cba6fe background
background-color: #cba6fe;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cba6fe;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 166, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 166, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cba6fe; background: linear-gradient(135deg, #cba6fe, #FEA6F6);