#a65cff
a light, electric violet · warm · closest name: slateblue
RGB
166, 92, 255
HSL
267°, 100%, 68%
CMYK
35, 64, 0, 0
Luminance
0.2298
Every format
| HEX | #a65cff |
| RGB | rgb(166, 92, 255) |
| HSL | hsl(267, 100%, 68%) |
| CMYK | cmyk(35%, 64%, 0%, 0%) |
| LAB | lab(55.0 60.8 -70.0) |
| LCH | lch(55.0 92.7 311.0) |
| OKLCH | oklch(0.639 0.232 300.9) |
Copy-ready code
/* CSS */
color: #a65cff;
background-color: #a65cff;
/* Tailwind (arbitrary) */
class="text-[#a65cff] bg-[#a65cff]"
/* SCSS */
$brand: #a65cff;
/* SwiftUI */
Color(red: 0.651, green: 0.361, blue: 1.000)
/* Android */
Color.parseColor("#a65cff")Accessibility — WCAG contrast
Aa
#a65cff on white: 3.75:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#a65cff on black: 5.60:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.1%
Green36.1%
Blue100.0%
CMYK percentages
Cyan34.9%
Magenta63.9%
Yellow0.0%
Key (black)0.0%
Color previews
#a65cff text on a black background
contrast 5.60:1
Card sample
#a65cff text on a white background
contrast 3.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a65cff;
Background color
Panel with #a65cff background
background-color: #a65cff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a65cff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(166, 92, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(166, 92, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a65cff; background: linear-gradient(135deg, #a65cff, #FF5CEB);