#b596db
a light, vivid violet · warm · closest name: plum
RGB
181, 150, 219
HSL
267°, 49%, 72%
CMYK
17, 32, 0, 14
Luminance
0.3675
Every format
| HEX | #b596db |
| RGB | rgb(181, 150, 219) |
| HSL | hsl(267, 49%, 72%) |
| CMYK | cmyk(17%, 32%, 0%, 14%) |
| LAB | lab(67.1 24.9 -30.9) |
| LCH | lch(67.1 39.7 308.9) |
| OKLCH | oklch(0.726 0.103 304.5) |
Copy-ready code
/* CSS */
color: #b596db;
background-color: #b596db;
/* Tailwind (arbitrary) */
class="text-[#b596db] bg-[#b596db]"
/* SCSS */
$brand: #b596db;
/* SwiftUI */
Color(red: 0.710, green: 0.588, blue: 0.859)
/* Android */
Color.parseColor("#b596db")Accessibility — WCAG contrast
Aa
#b596db on white: 2.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b596db on black: 8.35:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red71.0%
Green58.8%
Blue85.9%
CMYK percentages
Cyan17.4%
Magenta31.5%
Yellow0.0%
Key (black)14.1%
Color previews
#b596db text on a black background
contrast 8.35:1
Card sample
#b596db text on a white background
contrast 2.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b596db;
Background color
Panel with #b596db background
background-color: #b596db;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b596db;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(181, 150, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(181, 150, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b596db; background: linear-gradient(135deg, #b596db, #DB96D3);