#ac7adf
a light, vivid violet · warm · closest name: orchid
RGB
172, 122, 223
HSL
270°, 61%, 68%
CMYK
23, 45, 0, 13
Luminance
0.2802
Every format
| HEX | #ac7adf |
| RGB | rgb(172, 122, 223) |
| HSL | hsl(270, 61%, 68%) |
| CMYK | cmyk(23%, 45%, 0%, 13%) |
| LAB | lab(59.9 38.9 -44.4) |
| LCH | lch(59.9 59.0 311.2) |
| OKLCH | oklch(0.670 0.152 305.5) |
Copy-ready code
/* CSS */
color: #ac7adf;
background-color: #ac7adf;
/* Tailwind (arbitrary) */
class="text-[#ac7adf] bg-[#ac7adf]"
/* SCSS */
$brand: #ac7adf;
/* SwiftUI */
Color(red: 0.675, green: 0.478, blue: 0.875)
/* Android */
Color.parseColor("#ac7adf")Accessibility — WCAG contrast
Aa
#ac7adf on white: 3.18:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ac7adf on black: 6.60:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green47.8%
Blue87.5%
CMYK percentages
Cyan22.9%
Magenta45.3%
Yellow0.0%
Key (black)12.5%
Color previews
#ac7adf text on a black background
contrast 6.60:1
Card sample
#ac7adf text on a white background
contrast 3.18:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac7adf;
Background color
Panel with #ac7adf background
background-color: #ac7adf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac7adf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 122, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 122, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac7adf; background: linear-gradient(135deg, #ac7adf, #DF7ACF);