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