#c99cff
a light, electric violet · warm · closest name: plum
RGB
201, 156, 255
HSL
267°, 100%, 81%
CMYK
21, 39, 0, 0
Luminance
0.4341
Every format
| HEX | #c99cff |
| RGB | rgb(201, 156, 255) |
| HSL | hsl(267, 100%, 81%) |
| CMYK | cmyk(21%, 39%, 0%, 0%) |
| LAB | lab(71.8 35.6 -43.0) |
| LCH | lch(71.8 55.8 309.6) |
| OKLCH | oklch(0.771 0.144 304.1) |
Copy-ready code
/* CSS */
color: #c99cff;
background-color: #c99cff;
/* Tailwind (arbitrary) */
class="text-[#c99cff] bg-[#c99cff]"
/* SCSS */
$brand: #c99cff;
/* SwiftUI */
Color(red: 0.788, green: 0.612, blue: 1.000)
/* Android */
Color.parseColor("#c99cff")Accessibility — WCAG contrast
Aa
#c99cff on white: 2.17:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c99cff on black: 9.68:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red78.8%
Green61.2%
Blue100.0%
CMYK percentages
Cyan21.2%
Magenta38.8%
Yellow0.0%
Key (black)0.0%
Color previews
#c99cff text on a black background
contrast 9.68:1
Card sample
#c99cff text on a white background
contrast 2.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c99cff;
Background color
Panel with #c99cff background
background-color: #c99cff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c99cff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(201, 156, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(201, 156, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c99cff; background: linear-gradient(135deg, #c99cff, #FF9CF3);