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