#ac65df
a balanced, vivid violet · warm · closest name: slateblue
RGB
172, 101, 223
HSL
275°, 66%, 64%
CMYK
23, 55, 0, 13
Luminance
0.2341
Every format
| HEX | #ac65df |
| RGB | rgb(172, 101, 223) |
| HSL | hsl(275, 66%, 64%) |
| CMYK | cmyk(23%, 55%, 0%, 13%) |
| LAB | lab(55.5 50.2 -51.4) |
| LCH | lch(55.5 71.8 314.3) |
| OKLCH | oklch(0.637 0.185 308.9) |
Copy-ready code
/* CSS */
color: #ac65df;
background-color: #ac65df;
/* Tailwind (arbitrary) */
class="text-[#ac65df] bg-[#ac65df]"
/* SCSS */
$brand: #ac65df;
/* SwiftUI */
Color(red: 0.675, green: 0.396, blue: 0.875)
/* Android */
Color.parseColor("#ac65df")Accessibility — WCAG contrast
Aa
#ac65df on white: 3.70:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ac65df on black: 5.68:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green39.6%
Blue87.5%
CMYK percentages
Cyan22.9%
Magenta54.7%
Yellow0.0%
Key (black)12.5%
Color previews
#ac65df text on a black background
contrast 5.68:1
Card sample
#ac65df text on a white background
contrast 3.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac65df;
Background color
Panel with #ac65df background
background-color: #ac65df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac65df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 101, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 101, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac65df; background: linear-gradient(135deg, #ac65df, #DF65C1);