#c27bdf
a light, vivid violet · warm · closest name: orchid
RGB
194, 123, 223
HSL
283°, 61%, 68%
CMYK
13, 45, 0, 13
Luminance
0.3096
Every format
| HEX | #c27bdf |
| RGB | rgb(194, 123, 223) |
| HSL | hsl(283, 61%, 68%) |
| CMYK | cmyk(13%, 45%, 0%, 13%) |
| LAB | lab(62.5 44.5 -40.2) |
| LCH | lch(62.5 60.0 317.9) |
| OKLCH | oklch(0.695 0.159 315.5) |
Copy-ready code
/* CSS */
color: #c27bdf;
background-color: #c27bdf;
/* Tailwind (arbitrary) */
class="text-[#c27bdf] bg-[#c27bdf]"
/* SCSS */
$brand: #c27bdf;
/* SwiftUI */
Color(red: 0.761, green: 0.482, blue: 0.875)
/* Android */
Color.parseColor("#c27bdf")Accessibility — WCAG contrast
Aa
#c27bdf on white: 2.92:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c27bdf on black: 7.19:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.1%
Green48.2%
Blue87.5%
CMYK percentages
Cyan13.0%
Magenta44.8%
Yellow0.0%
Key (black)12.5%
Color previews
#c27bdf text on a black background
contrast 7.19:1
Card sample
#c27bdf text on a white background
contrast 2.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c27bdf;
Background color
Panel with #c27bdf background
background-color: #c27bdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c27bdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(194, 123, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 123, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c27bdf; background: linear-gradient(135deg, #c27bdf, #DF7BB9);