#b66cf0
a light, electric violet · warm · closest name: orchid
RGB
182, 108, 240
HSL
274°, 82%, 68%
CMYK
24, 55, 0, 6
Luminance
0.2696
Every format
| HEX | #b66cf0 |
| RGB | rgb(182, 108, 240) |
| HSL | hsl(274, 82%, 68%) |
| CMYK | cmyk(24%, 55%, 0%, 6%) |
| LAB | lab(58.9 52.9 -55.3) |
| LCH | lch(58.9 76.5 313.7) |
| OKLCH | oklch(0.668 0.197 307.8) |
Copy-ready code
/* CSS */
color: #b66cf0;
background-color: #b66cf0;
/* Tailwind (arbitrary) */
class="text-[#b66cf0] bg-[#b66cf0]"
/* SCSS */
$brand: #b66cf0;
/* SwiftUI */
Color(red: 0.714, green: 0.424, blue: 0.941)
/* Android */
Color.parseColor("#b66cf0")Accessibility — WCAG contrast
Aa
#b66cf0 on white: 3.29:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#b66cf0 on black: 6.39:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red71.4%
Green42.4%
Blue94.1%
CMYK percentages
Cyan24.2%
Magenta55.0%
Yellow0.0%
Key (black)5.9%
Color previews
#b66cf0 text on a black background
contrast 6.39:1
Card sample
#b66cf0 text on a white background
contrast 3.29:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b66cf0;
Background color
Panel with #b66cf0 background
background-color: #b66cf0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b66cf0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(182, 108, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(182, 108, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b66cf0; background: linear-gradient(135deg, #b66cf0, #F06CD2);