#b534cf
a balanced, vivid violet · warm · closest name: purple
RGB
181, 52, 207
HSL
290°, 62%, 51%
CMYK
13, 75, 0, 19
Luminance
0.1678
Every format
| HEX | #b534cf |
| RGB | rgb(181, 52, 207) |
| HSL | hsl(290, 62%, 51%) |
| CMYK | cmyk(13%, 75%, 0%, 19%) |
| LAB | lab(48.0 70.4 -54.2) |
| LCH | lch(48.0 88.8 322.4) |
| OKLCH | oklch(0.583 0.237 320.2) |
Copy-ready code
/* CSS */
color: #b534cf;
background-color: #b534cf;
/* Tailwind (arbitrary) */
class="text-[#b534cf] bg-[#b534cf]"
/* SCSS */
$brand: #b534cf;
/* SwiftUI */
Color(red: 0.710, green: 0.204, blue: 0.812)
/* Android */
Color.parseColor("#b534cf")Accessibility — WCAG contrast
Aa
#b534cf on white: 4.82:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#b534cf on black: 4.36:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red71.0%
Green20.4%
Blue81.2%
CMYK percentages
Cyan12.6%
Magenta74.9%
Yellow0.0%
Key (black)18.8%
Color previews
#b534cf text on a black background
contrast 4.36:1
Card sample
#b534cf text on a white background
contrast 4.82:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b534cf;
Background color
Panel with #b534cf background
background-color: #b534cf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b534cf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(181, 52, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(181, 52, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b534cf; background: linear-gradient(135deg, #b534cf, #CF3482);