#ab9abc
a light, soft violet · warm · closest name: plum
RGB
171, 154, 188
HSL
270°, 20%, 67%
CMYK
9, 18, 0, 26
Luminance
0.3540
Every format
| HEX | #ab9abc |
| RGB | rgb(171, 154, 188) |
| HSL | hsl(270, 20%, 67%) |
| CMYK | cmyk(9%, 18%, 0%, 26%) |
| LAB | lab(66.1 12.8 -15.3) |
| LCH | lch(66.1 19.9 309.9) |
| OKLCH | oklch(0.712 0.052 307.6) |
Copy-ready code
/* CSS */
color: #ab9abc;
background-color: #ab9abc;
/* Tailwind (arbitrary) */
class="text-[#ab9abc] bg-[#ab9abc]"
/* SCSS */
$brand: #ab9abc;
/* SwiftUI */
Color(red: 0.671, green: 0.604, blue: 0.737)
/* Android */
Color.parseColor("#ab9abc")Accessibility — WCAG contrast
Aa
#ab9abc on white: 2.60:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ab9abc on black: 8.08:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.1%
Green60.4%
Blue73.7%
CMYK percentages
Cyan9.0%
Magenta18.1%
Yellow0.0%
Key (black)26.3%
Color previews
#ab9abc text on a black background
contrast 8.08:1
Card sample
#ab9abc text on a white background
contrast 2.60:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ab9abc;
Background color
Panel with #ab9abc background
background-color: #ab9abc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ab9abc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(171, 154, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 154, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ab9abc; background: linear-gradient(135deg, #ab9abc, #BC9AB6);