#d264eb
a light, electric violet · warm · closest name: violet
RGB
210, 100, 235
HSL
289°, 77%, 66%
CMYK
11, 57, 0, 8
Luminance
0.2881
Every format
| HEX | #d264eb |
| RGB | rgb(210, 100, 235) |
| HSL | hsl(289, 77%, 66%) |
| CMYK | cmyk(11%, 57%, 0%, 8%) |
| LAB | lab(60.6 62.7 -49.6) |
| LCH | lch(60.6 80.0 321.6) |
| OKLCH | oklch(0.687 0.214 319.9) |
Copy-ready code
/* CSS */
color: #d264eb;
background-color: #d264eb;
/* Tailwind (arbitrary) */
class="text-[#d264eb] bg-[#d264eb]"
/* SCSS */
$brand: #d264eb;
/* SwiftUI */
Color(red: 0.824, green: 0.392, blue: 0.922)
/* Android */
Color.parseColor("#d264eb")Accessibility — WCAG contrast
Aa
#d264eb on white: 3.11:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#d264eb on black: 6.76:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red82.4%
Green39.2%
Blue92.2%
CMYK percentages
Cyan10.6%
Magenta57.4%
Yellow0.0%
Key (black)7.8%
Color previews
#d264eb text on a black background
contrast 6.76:1
Card sample
#d264eb text on a white background
contrast 3.11:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #d264eb;
Background color
Panel with #d264eb background
background-color: #d264eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #d264eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(210, 100, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 100, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d264eb; background: linear-gradient(135deg, #d264eb, #EB64AA);