#cc7bdf
a light, vivid violet · warm · closest name: orchid
RGB
204, 123, 223
HSL
289°, 61%, 68%
CMYK
9, 45, 0, 13
Luminance
0.3233
Every format
| HEX | #cc7bdf |
| RGB | rgb(204, 123, 223) |
| HSL | hsl(289, 61%, 68%) |
| CMYK | cmyk(9%, 45%, 0%, 13%) |
| LAB | lab(63.6 47.4 -38.3) |
| LCH | lch(63.6 60.9 321.1) |
| OKLCH | oklch(0.706 0.164 319.8) |
Copy-ready code
/* CSS */
color: #cc7bdf;
background-color: #cc7bdf;
/* Tailwind (arbitrary) */
class="text-[#cc7bdf] bg-[#cc7bdf]"
/* SCSS */
$brand: #cc7bdf;
/* SwiftUI */
Color(red: 0.800, green: 0.482, blue: 0.875)
/* Android */
Color.parseColor("#cc7bdf")Accessibility — WCAG contrast
Aa
#cc7bdf on white: 2.81:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cc7bdf on black: 7.47:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green48.2%
Blue87.5%
CMYK percentages
Cyan8.5%
Magenta44.8%
Yellow0.0%
Key (black)12.5%
Color previews
#cc7bdf text on a black background
contrast 7.47:1
Card sample
#cc7bdf text on a white background
contrast 2.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cc7bdf;
Background color
Panel with #cc7bdf background
background-color: #cc7bdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cc7bdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 123, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 123, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc7bdf; background: linear-gradient(135deg, #cc7bdf, #DF7BAF);