#ab86df
a light, vivid violet · warm · closest name: plum
RGB
171, 134, 223
HSL
265°, 58%, 70%
CMYK
23, 40, 0, 13
Luminance
0.3104
Every format
| HEX | #ab86df |
| RGB | rgb(171, 134, 223) |
| HSL | hsl(265, 58%, 70%) |
| CMYK | cmyk(23%, 40%, 0%, 13%) |
| LAB | lab(62.5 31.9 -40.2) |
| LCH | lch(62.5 51.3 308.4) |
| OKLCH | oklch(0.690 0.132 302.2) |
Copy-ready code
/* CSS */
color: #ab86df;
background-color: #ab86df;
/* Tailwind (arbitrary) */
class="text-[#ab86df] bg-[#ab86df]"
/* SCSS */
$brand: #ab86df;
/* SwiftUI */
Color(red: 0.671, green: 0.525, blue: 0.875)
/* Android */
Color.parseColor("#ab86df")Accessibility — WCAG contrast
Aa
#ab86df on white: 2.91:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ab86df on black: 7.21:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.1%
Green52.5%
Blue87.5%
CMYK percentages
Cyan23.3%
Magenta39.9%
Yellow0.0%
Key (black)12.5%
Color previews
#ab86df text on a black background
contrast 7.21:1
Card sample
#ab86df text on a white background
contrast 2.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ab86df;
Background color
Panel with #ab86df background
background-color: #ab86df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ab86df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(171, 134, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 134, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ab86df; background: linear-gradient(135deg, #ab86df, #DF86D8);