#cb7cf0
a light, electric violet · warm · closest name: violet
RGB
203, 124, 240
HSL
281°, 80%, 71%
CMYK
15, 48, 0, 6
Luminance
0.3340
Every format
| HEX | #cb7cf0 |
| RGB | rgb(203, 124, 240) |
| HSL | hsl(281, 80%, 71%) |
| CMYK | cmyk(15%, 48%, 0%, 6%) |
| LAB | lab(64.5 50.0 -46.4) |
| LCH | lch(64.5 68.2 317.2) |
| OKLCH | oklch(0.715 0.180 314.1) |
Copy-ready code
/* CSS */
color: #cb7cf0;
background-color: #cb7cf0;
/* Tailwind (arbitrary) */
class="text-[#cb7cf0] bg-[#cb7cf0]"
/* SCSS */
$brand: #cb7cf0;
/* SwiftUI */
Color(red: 0.796, green: 0.486, blue: 0.941)
/* Android */
Color.parseColor("#cb7cf0")Accessibility — WCAG contrast
Aa
#cb7cf0 on white: 2.73:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cb7cf0 on black: 7.68:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green48.6%
Blue94.1%
CMYK percentages
Cyan15.4%
Magenta48.3%
Yellow0.0%
Key (black)5.9%
Color previews
#cb7cf0 text on a black background
contrast 7.68:1
Card sample
#cb7cf0 text on a white background
contrast 2.73:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cb7cf0;
Background color
Panel with #cb7cf0 background
background-color: #cb7cf0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cb7cf0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 124, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 124, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cb7cf0; background: linear-gradient(135deg, #cb7cf0, #F07CC8);