#c18beb
a light, vivid violet · warm · closest name: orchid
RGB
193, 139, 235
HSL
274°, 71%, 73%
CMYK
18, 41, 0, 8
Luminance
0.3580
Every format
| HEX | #c18beb |
| RGB | rgb(193, 139, 235) |
| HSL | hsl(274, 71%, 73%) |
| CMYK | cmyk(18%, 41%, 0%, 8%) |
| LAB | lab(66.4 38.1 -40.7) |
| LCH | lch(66.4 55.8 313.1) |
| OKLCH | oklch(0.726 0.145 309.1) |
Copy-ready code
/* CSS */
color: #c18beb;
background-color: #c18beb;
/* Tailwind (arbitrary) */
class="text-[#c18beb] bg-[#c18beb]"
/* SCSS */
$brand: #c18beb;
/* SwiftUI */
Color(red: 0.757, green: 0.545, blue: 0.922)
/* Android */
Color.parseColor("#c18beb")Accessibility — WCAG contrast
Aa
#c18beb on white: 2.57:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c18beb on black: 8.16:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.7%
Green54.5%
Blue92.2%
CMYK percentages
Cyan17.9%
Magenta40.9%
Yellow0.0%
Key (black)7.8%
Color previews
#c18beb text on a black background
contrast 8.16:1
Card sample
#c18beb text on a white background
contrast 2.57:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c18beb;
Background color
Panel with #c18beb background
background-color: #c18beb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c18beb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(193, 139, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(193, 139, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c18beb; background: linear-gradient(135deg, #c18beb, #EB8BD5);