#cc70df
a light, vivid violet · warm · closest name: orchid
RGB
204, 112, 223
HSL
290°, 63%, 66%
CMYK
9, 50, 0, 13
Luminance
0.2975
Every format
| HEX | #cc70df |
| RGB | rgb(204, 112, 223) |
| HSL | hsl(290, 63%, 66%) |
| CMYK | cmyk(9%, 50%, 0%, 13%) |
| LAB | lab(61.4 53.0 -41.7) |
| LCH | lch(61.4 67.5 321.8) |
| OKLCH | oklch(0.690 0.182 320.6) |
Copy-ready code
/* CSS */
color: #cc70df;
background-color: #cc70df;
/* Tailwind (arbitrary) */
class="text-[#cc70df] bg-[#cc70df]"
/* SCSS */
$brand: #cc70df;
/* SwiftUI */
Color(red: 0.800, green: 0.439, blue: 0.875)
/* Android */
Color.parseColor("#cc70df")Accessibility — WCAG contrast
Aa
#cc70df on white: 3.02:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#cc70df on black: 6.95:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green43.9%
Blue87.5%
CMYK percentages
Cyan8.5%
Magenta49.8%
Yellow0.0%
Key (black)12.5%
Color previews
#cc70df text on a black background
contrast 6.95:1
Card sample
#cc70df text on a white background
contrast 3.02:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cc70df;
Background color
Panel with #cc70df background
background-color: #cc70df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cc70df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 112, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 112, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc70df; background: linear-gradient(135deg, #cc70df, #DF70A8);