#c871eb
a light, electric violet · warm · closest name: orchid
RGB
200, 113, 235
HSL
283°, 75%, 68%
CMYK
15, 52, 0, 8
Luminance
0.3009
Every format
| HEX | #c871eb |
| RGB | rgb(200, 113, 235) |
| HSL | hsl(283, 75%, 68%) |
| CMYK | cmyk(15%, 52%, 0%, 8%) |
| LAB | lab(61.7 53.8 -48.0) |
| LCH | lch(61.7 72.1 318.3) |
| OKLCH | oklch(0.693 0.190 315.4) |
Copy-ready code
/* CSS */
color: #c871eb;
background-color: #c871eb;
/* Tailwind (arbitrary) */
class="text-[#c871eb] bg-[#c871eb]"
/* SCSS */
$brand: #c871eb;
/* SwiftUI */
Color(red: 0.784, green: 0.443, blue: 0.922)
/* Android */
Color.parseColor("#c871eb")Accessibility — WCAG contrast
Aa
#c871eb on white: 2.99:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c871eb on black: 7.02:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red78.4%
Green44.3%
Blue92.2%
CMYK percentages
Cyan14.9%
Magenta51.9%
Yellow0.0%
Key (black)7.8%
Color previews
#c871eb text on a black background
contrast 7.02:1
Card sample
#c871eb text on a white background
contrast 2.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c871eb;
Background color
Panel with #c871eb background
background-color: #c871eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c871eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(200, 113, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(200, 113, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c871eb; background: linear-gradient(135deg, #c871eb, #EB71BD);