#a282ff
a light, electric violet · warm · closest name: slateblue
RGB
162, 130, 255
HSL
255°, 100%, 76%
CMYK
37, 49, 0, 0
Luminance
0.3087
Every format
| HEX | #a282ff |
| RGB | rgb(162, 130, 255) |
| HSL | hsl(255, 100%, 76%) |
| CMYK | cmyk(37%, 49%, 0%, 0%) |
| LAB | lab(62.4 39.7 -58.2) |
| LCH | lch(62.4 70.4 304.3) |
| OKLCH | oklch(0.692 0.179 292.9) |
Copy-ready code
/* CSS */
color: #a282ff;
background-color: #a282ff;
/* Tailwind (arbitrary) */
class="text-[#a282ff] bg-[#a282ff]"
/* SCSS */
$brand: #a282ff;
/* SwiftUI */
Color(red: 0.635, green: 0.510, blue: 1.000)
/* Android */
Color.parseColor("#a282ff")Accessibility — WCAG contrast
Aa
#a282ff on white: 2.93:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a282ff on black: 7.17:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.5%
Green51.0%
Blue100.0%
CMYK percentages
Cyan36.5%
Magenta49.0%
Yellow0.0%
Key (black)0.0%
Color previews
#a282ff text on a black background
contrast 7.17:1
Card sample
#a282ff text on a white background
contrast 2.93:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a282ff;
Background color
Panel with #a282ff background
background-color: #a282ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a282ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(162, 130, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 130, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a282ff; background: linear-gradient(135deg, #a282ff, #F582FF);