#ab7ace
a balanced, vivid violet · warm · closest name: plum
RGB
171, 122, 206
HSL
275°, 46%, 64%
CMYK
17, 41, 0, 19
Luminance
0.2703
Every format
| HEX | #ab7ace |
| RGB | rgb(171, 122, 206) |
| HSL | hsl(275, 46%, 64%) |
| CMYK | cmyk(17%, 41%, 0%, 19%) |
| LAB | lab(59.0 34.7 -36.2) |
| LCH | lch(59.0 50.2 313.8) |
| OKLCH | oklch(0.661 0.131 310.0) |
Copy-ready code
/* CSS */
color: #ab7ace;
background-color: #ab7ace;
/* Tailwind (arbitrary) */
class="text-[#ab7ace] bg-[#ab7ace]"
/* SCSS */
$brand: #ab7ace;
/* SwiftUI */
Color(red: 0.671, green: 0.478, blue: 0.808)
/* Android */
Color.parseColor("#ab7ace")Accessibility — WCAG contrast
Aa
#ab7ace on white: 3.28:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ab7ace on black: 6.41:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.1%
Green47.8%
Blue80.8%
CMYK percentages
Cyan17.0%
Magenta40.8%
Yellow0.0%
Key (black)19.2%
Color previews
#ab7ace text on a black background
contrast 6.41:1
Card sample
#ab7ace text on a white background
contrast 3.28:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ab7ace;
Background color
Panel with #ab7ace background
background-color: #ab7ace;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ab7ace;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(171, 122, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 122, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ab7ace; background: linear-gradient(135deg, #ab7ace, #CE7AB9);