#b24bdf
a balanced, vivid violet · warm · closest name: orchid
RGB
178, 75, 223
HSL
282°, 70%, 58%
CMYK
20, 66, 0, 13
Luminance
0.1982
Every format
| HEX | #b24bdf |
| RGB | rgb(178, 75, 223) |
| HSL | hsl(282, 70%, 58%) |
| CMYK | cmyk(20%, 66%, 0%, 13%) |
| LAB | lab(51.6 64.1 -57.5) |
| LCH | lch(51.6 86.1 318.1) |
| OKLCH | oklch(0.611 0.224 313.8) |
Copy-ready code
/* CSS */
color: #b24bdf;
background-color: #b24bdf;
/* Tailwind (arbitrary) */
class="text-[#b24bdf] bg-[#b24bdf]"
/* SCSS */
$brand: #b24bdf;
/* SwiftUI */
Color(red: 0.698, green: 0.294, blue: 0.875)
/* Android */
Color.parseColor("#b24bdf")Accessibility — WCAG contrast
Aa
#b24bdf on white: 4.23:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#b24bdf on black: 4.96:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green29.4%
Blue87.5%
CMYK percentages
Cyan20.2%
Magenta66.4%
Yellow0.0%
Key (black)12.5%
Color previews
#b24bdf text on a black background
contrast 4.96:1
Card sample
#b24bdf text on a white background
contrast 4.23:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b24bdf;
Background color
Panel with #b24bdf background
background-color: #b24bdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b24bdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 75, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 75, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b24bdf; background: linear-gradient(135deg, #b24bdf, #DF4BA9);