#cc8bdf
a light, vivid violet · warm · closest name: plum
RGB
204, 139, 223
HSL
286°, 57%, 71%
CMYK
9, 38, 0, 13
Luminance
0.3663
Every format
| HEX | #cc8bdf |
| RGB | rgb(204, 139, 223) |
| HSL | hsl(286, 57%, 71%) |
| CMYK | cmyk(9%, 38%, 0%, 13%) |
| LAB | lab(67.0 38.9 -33.0) |
| LCH | lch(67.0 51.0 319.7) |
| OKLCH | oklch(0.731 0.137 318.4) |
Copy-ready code
/* CSS */
color: #cc8bdf;
background-color: #cc8bdf;
/* Tailwind (arbitrary) */
class="text-[#cc8bdf] bg-[#cc8bdf]"
/* SCSS */
$brand: #cc8bdf;
/* SwiftUI */
Color(red: 0.800, green: 0.545, blue: 0.875)
/* Android */
Color.parseColor("#cc8bdf")Accessibility — WCAG contrast
Aa
#cc8bdf on white: 2.52:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cc8bdf on black: 8.33:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green54.5%
Blue87.5%
CMYK percentages
Cyan8.5%
Magenta37.7%
Yellow0.0%
Key (black)12.5%
Color previews
#cc8bdf text on a black background
contrast 8.33:1
Card sample
#cc8bdf text on a white background
contrast 2.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cc8bdf;
Background color
Panel with #cc8bdf background
background-color: #cc8bdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cc8bdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 139, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 139, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc8bdf; background: linear-gradient(135deg, #cc8bdf, #DF8BBA);