#a393d2
a light, soft violet · warm · closest name: plum
RGB
163, 147, 210
HSL
255°, 41%, 70%
CMYK
22, 30, 0, 18
Luminance
0.3331
Every format
| HEX | #a393d2 |
| RGB | rgb(163, 147, 210) |
| HSL | hsl(255, 41%, 70%) |
| CMYK | cmyk(22%, 30%, 0%, 18%) |
| LAB | lab(64.4 19.1 -30.1) |
| LCH | lch(64.4 35.7 302.3) |
| OKLCH | oklch(0.701 0.092 295.6) |
Copy-ready code
/* CSS */
color: #a393d2;
background-color: #a393d2;
/* Tailwind (arbitrary) */
class="text-[#a393d2] bg-[#a393d2]"
/* SCSS */
$brand: #a393d2;
/* SwiftUI */
Color(red: 0.639, green: 0.576, blue: 0.824)
/* Android */
Color.parseColor("#a393d2")Accessibility — WCAG contrast
Aa
#a393d2 on white: 2.74:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a393d2 on black: 7.66:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.9%
Green57.6%
Blue82.4%
CMYK percentages
Cyan22.4%
Magenta30.0%
Yellow0.0%
Key (black)17.6%
Color previews
#a393d2 text on a black background
contrast 7.66:1
Card sample
#a393d2 text on a white background
contrast 2.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a393d2;
Background color
Panel with #a393d2 background
background-color: #a393d2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a393d2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(163, 147, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(163, 147, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a393d2; background: linear-gradient(135deg, #a393d2, #CD93D2);