#c154df
a balanced, vivid violet · warm · closest name: orchid
RGB
193, 84, 223
HSL
287°, 69%, 60%
CMYK
14, 62, 0, 13
Luminance
0.2301
Every format
| HEX | #c154df |
| RGB | rgb(193, 84, 223) |
| HSL | hsl(287, 69%, 60%) |
| CMYK | cmyk(14%, 62%, 0%, 13%) |
| LAB | lab(55.1 63.5 -51.9) |
| LCH | lch(55.1 82.0 320.8) |
| OKLCH | oklch(0.640 0.218 318.3) |
Copy-ready code
/* CSS */
color: #c154df;
background-color: #c154df;
/* Tailwind (arbitrary) */
class="text-[#c154df] bg-[#c154df]"
/* SCSS */
$brand: #c154df;
/* SwiftUI */
Color(red: 0.757, green: 0.329, blue: 0.875)
/* Android */
Color.parseColor("#c154df")Accessibility — WCAG contrast
Aa
#c154df on white: 3.75:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#c154df on black: 5.60:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.7%
Green32.9%
Blue87.5%
CMYK percentages
Cyan13.5%
Magenta62.3%
Yellow0.0%
Key (black)12.5%
Color previews
#c154df text on a black background
contrast 5.60:1
Card sample
#c154df text on a white background
contrast 3.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c154df;
Background color
Panel with #c154df background
background-color: #c154df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c154df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(193, 84, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(193, 84, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c154df; background: linear-gradient(135deg, #c154df, #DF54A0);