#eb7eeb
a light, vivid magenta / pink · warm · “violet”
RGB
235, 126, 235
HSL
300°, 73%, 71%
CMYK
0, 46, 0, 8
Luminance
0.3858
Every format
| HEX | #eb7eeb |
| RGB | rgb(235, 126, 235) |
| HSL | hsl(300, 73%, 71%) |
| CMYK | cmyk(0%, 46%, 0%, 8%) |
| LAB | lab(68.5 56.9 -37.1) |
| LCH | lch(68.5 68.0 326.9) |
| OKLCH | oklch(0.751 0.188 327.2) |
Copy-ready code
/* CSS */
color: #eb7eeb;
background-color: #eb7eeb;
/* Tailwind (arbitrary) */
class="text-[#eb7eeb] bg-[#eb7eeb]"
/* SCSS */
$brand: #eb7eeb;
/* SwiftUI */
Color(red: 0.922, green: 0.494, blue: 0.922)
/* Android */
Color.parseColor("#eb7eeb")Accessibility — WCAG contrast
Aa
#eb7eeb on white: 2.41:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eb7eeb on black: 8.72:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.2%
Green49.4%
Blue92.2%
CMYK percentages
Cyan0.0%
Magenta46.4%
Yellow0.0%
Key (black)7.8%
Color previews
#eb7eeb text on a black background
contrast 8.72:1
Card sample
#eb7eeb text on a white background
contrast 2.41:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eb7eeb;
Background color
Panel with #eb7eeb background
background-color: #eb7eeb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eb7eeb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(235, 126, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 126, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eb7eeb; background: linear-gradient(135deg, #eb7eeb, #EB7EA2);