#b591eb
a light, vivid violet · warm · closest name: plum
RGB
181, 145, 235
HSL
264°, 69%, 75%
CMYK
23, 38, 0, 8
Luminance
0.3607
Every format
| HEX | #b591eb |
| RGB | rgb(181, 145, 235) |
| HSL | hsl(264, 69%, 75%) |
| CMYK | cmyk(23%, 38%, 0%, 8%) |
| LAB | lab(66.6 31.4 -40.5) |
| LCH | lch(66.6 51.2 307.8) |
| OKLCH | oklch(0.724 0.132 301.6) |
Copy-ready code
/* CSS */
color: #b591eb;
background-color: #b591eb;
/* Tailwind (arbitrary) */
class="text-[#b591eb] bg-[#b591eb]"
/* SCSS */
$brand: #b591eb;
/* SwiftUI */
Color(red: 0.710, green: 0.569, blue: 0.922)
/* Android */
Color.parseColor("#b591eb")Accessibility — WCAG contrast
Aa
#b591eb on white: 2.56:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b591eb on black: 8.21:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red71.0%
Green56.9%
Blue92.2%
CMYK percentages
Cyan23.0%
Magenta38.3%
Yellow0.0%
Key (black)7.8%
Color previews
#b591eb text on a black background
contrast 8.21:1
Card sample
#b591eb text on a white background
contrast 2.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b591eb;
Background color
Panel with #b591eb background
background-color: #b591eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b591eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(181, 145, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(181, 145, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b591eb; background: linear-gradient(135deg, #b591eb, #EB91E5);