#d45cff
a light, electric violet · warm · closest name: magenta
RGB
212, 92, 255
HSL
284°, 100%, 68%
CMYK
17, 64, 0, 0
Luminance
0.2887
Every format
| HEX | #d45cff |
| RGB | rgb(212, 92, 255) |
| HSL | hsl(284, 100%, 68%) |
| CMYK | cmyk(17%, 64%, 0%, 0%) |
| LAB | lab(60.7 70.5 -60.6) |
| LCH | lch(60.7 93.0 319.3) |
| OKLCH | oklch(0.692 0.245 315.9) |
Copy-ready code
/* CSS */
color: #d45cff;
background-color: #d45cff;
/* Tailwind (arbitrary) */
class="text-[#d45cff] bg-[#d45cff]"
/* SCSS */
$brand: #d45cff;
/* SwiftUI */
Color(red: 0.831, green: 0.361, blue: 1.000)
/* Android */
Color.parseColor("#d45cff")Accessibility — WCAG contrast
Aa
#d45cff on white: 3.10:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#d45cff on black: 6.77:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red83.1%
Green36.1%
Blue100.0%
CMYK percentages
Cyan16.9%
Magenta63.9%
Yellow0.0%
Key (black)0.0%
Color previews
#d45cff text on a black background
contrast 6.77:1
Card sample
#d45cff text on a white background
contrast 3.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #d45cff;
Background color
Panel with #d45cff background
background-color: #d45cff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #d45cff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(212, 92, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(212, 92, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d45cff; background: linear-gradient(135deg, #d45cff, #FF5CBD);