#925eb4
a balanced, soft violet · warm · closest name: slateblue
RGB
146, 94, 180
HSL
276°, 36%, 54%
CMYK
19, 48, 0, 29
Luminance
0.1741
Every format
| HEX | #925eb4 |
| RGB | rgb(146, 94, 180) |
| HSL | hsl(276, 36%, 54%) |
| CMYK | cmyk(19%, 48%, 0%, 29%) |
| LAB | lab(48.8 37.2 -37.6) |
| LCH | lch(48.8 52.9 314.7) |
| OKLCH | oklch(0.574 0.138 310.6) |
Copy-ready code
/* CSS */
color: #925eb4;
background-color: #925eb4;
/* Tailwind (arbitrary) */
class="text-[#925eb4] bg-[#925eb4]"
/* SCSS */
$brand: #925eb4;
/* SwiftUI */
Color(red: 0.573, green: 0.369, blue: 0.706)
/* Android */
Color.parseColor("#925eb4")Accessibility — WCAG contrast
Aa
#925eb4 on white: 4.69:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#925eb4 on black: 4.48:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red57.3%
Green36.9%
Blue70.6%
CMYK percentages
Cyan18.9%
Magenta47.8%
Yellow0.0%
Key (black)29.4%
Color previews
#925eb4 text on a black background
contrast 4.48:1
Card sample
#925eb4 text on a white background
contrast 4.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #925eb4;
Background color
Panel with #925eb4 background
background-color: #925eb4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #925eb4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(146, 94, 180, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(146, 94, 180, 0.45);
Border & gradient
Gradient panel
border: 3px solid #925eb4; background: linear-gradient(135deg, #925eb4, #B45E9D);