#bb7eee
a light, electric violet · warm · closest name: orchid
RGB
187, 126, 238
HSL
273°, 77%, 71%
CMYK
21, 47, 0, 7
Luminance
0.3166
Every format
| HEX | #bb7eee |
| RGB | rgb(187, 126, 238) |
| HSL | hsl(273, 77%, 71%) |
| CMYK | cmyk(21%, 47%, 0%, 7%) |
| LAB | lab(63.1 44.2 -47.6) |
| LCH | lch(63.1 65.0 312.9) |
| OKLCH | oklch(0.700 0.168 307.7) |
Copy-ready code
/* CSS */
color: #bb7eee;
background-color: #bb7eee;
/* Tailwind (arbitrary) */
class="text-[#bb7eee] bg-[#bb7eee]"
/* SCSS */
$brand: #bb7eee;
/* SwiftUI */
Color(red: 0.733, green: 0.494, blue: 0.933)
/* Android */
Color.parseColor("#bb7eee")Accessibility — WCAG contrast
Aa
#bb7eee on white: 2.86:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bb7eee on black: 7.33:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.3%
Green49.4%
Blue93.3%
CMYK percentages
Cyan21.4%
Magenta47.1%
Yellow0.0%
Key (black)6.7%
Color previews
#bb7eee text on a black background
contrast 7.33:1
Card sample
#bb7eee text on a white background
contrast 2.86:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bb7eee;
Background color
Panel with #bb7eee background
background-color: #bb7eee;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bb7eee;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(187, 126, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 126, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bb7eee; background: linear-gradient(135deg, #bb7eee, #EE7ED6);