#b39af2
a light, electric violet · warm · closest name: plum
RGB
179, 154, 242
HSL
257°, 77%, 78%
CMYK
26, 36, 0, 5
Luminance
0.3911
Every format
| HEX | #b39af2 |
| RGB | rgb(179, 154, 242) |
| HSL | hsl(257, 77%, 78%) |
| CMYK | cmyk(26%, 36%, 0%, 5%) |
| LAB | lab(68.8 27.4 -40.8) |
| LCH | lch(68.8 49.2 303.9) |
| OKLCH | oklch(0.742 0.127 296.2) |
Copy-ready code
/* CSS */
color: #b39af2;
background-color: #b39af2;
/* Tailwind (arbitrary) */
class="text-[#b39af2] bg-[#b39af2]"
/* SCSS */
$brand: #b39af2;
/* SwiftUI */
Color(red: 0.702, green: 0.604, blue: 0.949)
/* Android */
Color.parseColor("#b39af2")Accessibility — WCAG contrast
Aa
#b39af2 on white: 2.38:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b39af2 on black: 8.82:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.2%
Green60.4%
Blue94.9%
CMYK percentages
Cyan26.0%
Magenta36.4%
Yellow0.0%
Key (black)5.1%
Color previews
#b39af2 text on a black background
contrast 8.82:1
Card sample
#b39af2 text on a white background
contrast 2.38:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b39af2;
Background color
Panel with #b39af2 background
background-color: #b39af2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b39af2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(179, 154, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(179, 154, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b39af2; background: linear-gradient(135deg, #b39af2, #EE9AF2);