#a633ff
a balanced, electric violet · warm · closest name: magenta
RGB
166, 51, 255
HSL
274°, 100%, 60%
CMYK
35, 80, 0, 0
Luminance
0.1769
Every format
| HEX | #a633ff |
| RGB | rgb(166, 51, 255) |
| HSL | hsl(274, 100%, 60%) |
| CMYK | cmyk(35%, 80%, 0%, 0%) |
| LAB | lab(49.1 77.5 -79.6) |
| LCH | lch(49.1 111.1 314.2) |
| OKLCH | oklch(0.597 0.275 304.4) |
Copy-ready code
/* CSS */
color: #a633ff;
background-color: #a633ff;
/* Tailwind (arbitrary) */
class="text-[#a633ff] bg-[#a633ff]"
/* SCSS */
$brand: #a633ff;
/* SwiftUI */
Color(red: 0.651, green: 0.200, blue: 1.000)
/* Android */
Color.parseColor("#a633ff")Accessibility — WCAG contrast
Aa
#a633ff on white: 4.63:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#a633ff on black: 4.54:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.1%
Green20.0%
Blue100.0%
CMYK percentages
Cyan34.9%
Magenta80.0%
Yellow0.0%
Key (black)0.0%
Color previews
#a633ff text on a black background
contrast 4.54:1
Card sample
#a633ff text on a white background
contrast 4.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a633ff;
Background color
Panel with #a633ff background
background-color: #a633ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a633ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(166, 51, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(166, 51, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a633ff; background: linear-gradient(135deg, #a633ff, #FF33D0);