#b490fd
a light, electric violet · warm · closest name: slateblue
RGB
180, 144, 253
HSL
260°, 97%, 78%
CMYK
29, 43, 0, 1
Luminance
0.3674
Every format
| HEX | #b490fd |
| RGB | rgb(180, 144, 253) |
| HSL | hsl(260, 97%, 78%) |
| CMYK | cmyk(29%, 43%, 0%, 1%) |
| LAB | lab(67.1 35.9 -49.6) |
| LCH | lch(67.1 61.2 305.9) |
| OKLCH | oklch(0.731 0.157 297.6) |
Copy-ready code
/* CSS */
color: #b490fd;
background-color: #b490fd;
/* Tailwind (arbitrary) */
class="text-[#b490fd] bg-[#b490fd]"
/* SCSS */
$brand: #b490fd;
/* SwiftUI */
Color(red: 0.706, green: 0.565, blue: 0.992)
/* Android */
Color.parseColor("#b490fd")Accessibility — WCAG contrast
Aa
#b490fd on white: 2.52:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b490fd on black: 8.35:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.6%
Green56.5%
Blue99.2%
CMYK percentages
Cyan28.9%
Magenta43.1%
Yellow0.0%
Key (black)0.8%
Color previews
#b490fd text on a black background
contrast 8.35:1
Card sample
#b490fd text on a white background
contrast 2.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b490fd;
Background color
Panel with #b490fd background
background-color: #b490fd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b490fd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(180, 144, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 144, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b490fd; background: linear-gradient(135deg, #b490fd, #FD90FD);