#867bc9
a balanced, soft blue · warm · closest name: slateblue
RGB
134, 123, 201
HSL
249°, 42%, 64%
CMYK
33, 39, 0, 21
Luminance
0.2345
Every format
| HEX | #867bc9 |
| RGB | rgb(134, 123, 201) |
| HSL | hsl(249, 42%, 64%) |
| CMYK | cmyk(33%, 39%, 0%, 21%) |
| LAB | lab(55.5 22.2 -39.1) |
| LCH | lch(55.5 45.0 299.6) |
| OKLCH | oklch(0.625 0.116 289.1) |
Copy-ready code
/* CSS */
color: #867bc9;
background-color: #867bc9;
/* Tailwind (arbitrary) */
class="text-[#867bc9] bg-[#867bc9]"
/* SCSS */
$brand: #867bc9;
/* SwiftUI */
Color(red: 0.525, green: 0.482, blue: 0.788)
/* Android */
Color.parseColor("#867bc9")Accessibility — WCAG contrast
Aa
#867bc9 on white: 3.69:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#867bc9 on black: 5.69:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red52.5%
Green48.2%
Blue78.8%
CMYK percentages
Cyan33.3%
Magenta38.8%
Yellow0.0%
Key (black)21.2%
Color previews
#867bc9 text on a black background
contrast 5.69:1
Card sample
#867bc9 text on a white background
contrast 3.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #867bc9;
Background color
Panel with #867bc9 background
background-color: #867bc9;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #867bc9;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(134, 123, 201, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(134, 123, 201, 0.45);
Border & gradient
Gradient panel
border: 3px solid #867bc9; background: linear-gradient(135deg, #867bc9, #BA7BC9);