#ad7bc9
a balanced, soft violet · warm · closest name: plum
RGB
173, 123, 201
HSL
279°, 42%, 64%
CMYK
14, 39, 0, 21
Luminance
0.2727
Every format
| HEX | #ad7bc9 |
| RGB | rgb(173, 123, 201) |
| HSL | hsl(279, 42%, 64%) |
| CMYK | cmyk(14%, 39%, 0%, 21%) |
| LAB | lab(59.2 33.7 -33.1) |
| LCH | lch(59.2 47.2 315.5) |
| OKLCH | oklch(0.662 0.124 312.7) |
Copy-ready code
/* CSS */
color: #ad7bc9;
background-color: #ad7bc9;
/* Tailwind (arbitrary) */
class="text-[#ad7bc9] bg-[#ad7bc9]"
/* SCSS */
$brand: #ad7bc9;
/* SwiftUI */
Color(red: 0.678, green: 0.482, blue: 0.788)
/* Android */
Color.parseColor("#ad7bc9")Accessibility — WCAG contrast
Aa
#ad7bc9 on white: 3.25:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ad7bc9 on black: 6.45:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.8%
Green48.2%
Blue78.8%
CMYK percentages
Cyan13.9%
Magenta38.8%
Yellow0.0%
Key (black)21.2%
Color previews
#ad7bc9 text on a black background
contrast 6.45:1
Card sample
#ad7bc9 text on a white background
contrast 3.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ad7bc9;
Background color
Panel with #ad7bc9 background
background-color: #ad7bc9;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ad7bc9;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(173, 123, 201, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 123, 201, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad7bc9; background: linear-gradient(135deg, #ad7bc9, #C97BB1);