#b28bdf
a light, vivid violet · warm · closest name: plum
RGB
178, 139, 223
HSL
268°, 57%, 71%
CMYK
20, 38, 0, 13
Luminance
0.3326
Every format
| HEX | #b28bdf |
| RGB | rgb(178, 139, 223) |
| HSL | hsl(268, 57%, 71%) |
| CMYK | cmyk(20%, 38%, 0%, 13%) |
| LAB | lab(64.4 31.1 -37.3) |
| LCH | lch(64.4 48.6 309.8) |
| OKLCH | oklch(0.705 0.126 304.7) |
Copy-ready code
/* CSS */
color: #b28bdf;
background-color: #b28bdf;
/* Tailwind (arbitrary) */
class="text-[#b28bdf] bg-[#b28bdf]"
/* SCSS */
$brand: #b28bdf;
/* SwiftUI */
Color(red: 0.698, green: 0.545, blue: 0.875)
/* Android */
Color.parseColor("#b28bdf")Accessibility — WCAG contrast
Aa
#b28bdf on white: 2.74:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b28bdf on black: 7.65:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green54.5%
Blue87.5%
CMYK percentages
Cyan20.2%
Magenta37.7%
Yellow0.0%
Key (black)12.5%
Color previews
#b28bdf text on a black background
contrast 7.65:1
Card sample
#b28bdf text on a white background
contrast 2.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b28bdf;
Background color
Panel with #b28bdf background
background-color: #b28bdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b28bdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 139, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 139, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b28bdf; background: linear-gradient(135deg, #b28bdf, #DF8BD4);