#d490eb
a light, vivid violet · warm · closest name: violet
RGB
212, 144, 235
HSL
285°, 70%, 74%
CMYK
10, 39, 0, 8
Luminance
0.3994
Every format
| HEX | #d490eb |
| RGB | rgb(212, 144, 235) |
| HSL | hsl(285, 70%, 74%) |
| CMYK | cmyk(10%, 39%, 0%, 8%) |
| LAB | lab(69.4 41.0 -35.8) |
| LCH | lch(69.4 54.5 318.9) |
| OKLCH | oklch(0.753 0.145 317.3) |
Copy-ready code
/* CSS */
color: #d490eb;
background-color: #d490eb;
/* Tailwind (arbitrary) */
class="text-[#d490eb] bg-[#d490eb]"
/* SCSS */
$brand: #d490eb;
/* SwiftUI */
Color(red: 0.831, green: 0.565, blue: 0.922)
/* Android */
Color.parseColor("#d490eb")Accessibility — WCAG contrast
Aa
#d490eb on white: 2.34:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#d490eb on black: 8.99:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red83.1%
Green56.5%
Blue92.2%
CMYK percentages
Cyan9.8%
Magenta38.7%
Yellow0.0%
Key (black)7.8%
Color previews
#d490eb text on a black background
contrast 8.99:1
Card sample
#d490eb text on a white background
contrast 2.34:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #d490eb;
Background color
Panel with #d490eb background
background-color: #d490eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #d490eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(212, 144, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(212, 144, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d490eb; background: linear-gradient(135deg, #d490eb, #EB90C5);