#ce7ceb
a light, vivid violet · warm · closest name: violet
RGB
206, 124, 235
HSL
284°, 74%, 70%
CMYK
12, 47, 0, 8
Luminance
0.3354
Every format
| HEX | #ce7ceb |
| RGB | rgb(206, 124, 235) |
| HSL | hsl(284, 74%, 70%) |
| CMYK | cmyk(12%, 47%, 0%, 8%) |
| LAB | lab(64.6 49.8 -43.4) |
| LCH | lch(64.6 66.1 318.9) |
| OKLCH | oklch(0.715 0.176 316.7) |
Copy-ready code
/* CSS */
color: #ce7ceb;
background-color: #ce7ceb;
/* Tailwind (arbitrary) */
class="text-[#ce7ceb] bg-[#ce7ceb]"
/* SCSS */
$brand: #ce7ceb;
/* SwiftUI */
Color(red: 0.808, green: 0.486, blue: 0.922)
/* Android */
Color.parseColor("#ce7ceb")Accessibility — WCAG contrast
Aa
#ce7ceb on white: 2.72:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ce7ceb on black: 7.71:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green48.6%
Blue92.2%
CMYK percentages
Cyan12.3%
Magenta47.2%
Yellow0.0%
Key (black)7.8%
Color previews
#ce7ceb text on a black background
contrast 7.71:1
Card sample
#ce7ceb text on a white background
contrast 2.72:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ce7ceb;
Background color
Panel with #ce7ceb background
background-color: #ce7ceb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ce7ceb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 124, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 124, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ce7ceb; background: linear-gradient(135deg, #ce7ceb, #EB7CBE);