#ad47cd
a balanced, vivid violet · warm · closest name: orchid
RGB
173, 71, 205
HSL
286°, 57%, 54%
CMYK
16, 65, 0, 20
Luminance
0.1780
Every format
| HEX | #ad47cd |
| RGB | rgb(173, 71, 205) |
| HSL | hsl(286, 57%, 54%) |
| CMYK | cmyk(16%, 65%, 0%, 20%) |
| LAB | lab(49.3 61.1 -51.1) |
| LCH | lch(49.3 79.6 320.1) |
| OKLCH | oklch(0.589 0.210 317.1) |
Copy-ready code
/* CSS */
color: #ad47cd;
background-color: #ad47cd;
/* Tailwind (arbitrary) */
class="text-[#ad47cd] bg-[#ad47cd]"
/* SCSS */
$brand: #ad47cd;
/* SwiftUI */
Color(red: 0.678, green: 0.278, blue: 0.804)
/* Android */
Color.parseColor("#ad47cd")Accessibility — WCAG contrast
Aa
#ad47cd on white: 4.61:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ad47cd on black: 4.56:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.8%
Green27.8%
Blue80.4%
CMYK percentages
Cyan15.6%
Magenta65.4%
Yellow0.0%
Key (black)19.6%
Color previews
#ad47cd text on a black background
contrast 4.56:1
Card sample
#ad47cd text on a white background
contrast 4.61:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ad47cd;
Background color
Panel with #ad47cd background
background-color: #ad47cd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ad47cd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(173, 71, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 71, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad47cd; background: linear-gradient(135deg, #ad47cd, #CD4794);