#ab7cdf
a light, vivid violet · warm · closest name: orchid
RGB
171, 124, 223
HSL
269°, 61%, 68%
CMYK
23, 44, 0, 13
Luminance
0.2840
Every format
| HEX | #ab7cdf |
| RGB | rgb(171, 124, 223) |
| HSL | hsl(269, 61%, 68%) |
| CMYK | cmyk(23%, 44%, 0%, 13%) |
| LAB | lab(60.3 37.5 -43.8) |
| LCH | lch(60.3 57.7 310.5) |
| OKLCH | oklch(0.673 0.149 304.6) |
Copy-ready code
/* CSS */
color: #ab7cdf;
background-color: #ab7cdf;
/* Tailwind (arbitrary) */
class="text-[#ab7cdf] bg-[#ab7cdf]"
/* SCSS */
$brand: #ab7cdf;
/* SwiftUI */
Color(red: 0.671, green: 0.486, blue: 0.875)
/* Android */
Color.parseColor("#ab7cdf")Accessibility — WCAG contrast
Aa
#ab7cdf on white: 3.14:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ab7cdf on black: 6.68:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.1%
Green48.6%
Blue87.5%
CMYK percentages
Cyan23.3%
Magenta44.4%
Yellow0.0%
Key (black)12.5%
Color previews
#ab7cdf text on a black background
contrast 6.68:1
Card sample
#ab7cdf text on a white background
contrast 3.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ab7cdf;
Background color
Panel with #ab7cdf background
background-color: #ab7cdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ab7cdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(171, 124, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 124, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ab7cdf; background: linear-gradient(135deg, #ab7cdf, #DF7CD1);