#c2abff
a light, electric violet · warm · closest name: plum
RGB
194, 171, 255
HSL
256°, 100%, 84%
CMYK
24, 33, 0, 0
Luminance
0.4782
Every format
| HEX | #c2abff |
| RGB | rgb(194, 171, 255) |
| HSL | hsl(256, 100%, 84%) |
| CMYK | cmyk(24%, 33%, 0%, 0%) |
| LAB | lab(74.7 25.3 -38.6) |
| LCH | lch(74.7 46.2 303.2) |
| OKLCH | oklch(0.792 0.119 296.2) |
Copy-ready code
/* CSS */
color: #c2abff;
background-color: #c2abff;
/* Tailwind (arbitrary) */
class="text-[#c2abff] bg-[#c2abff]"
/* SCSS */
$brand: #c2abff;
/* SwiftUI */
Color(red: 0.761, green: 0.671, blue: 1.000)
/* Android */
Color.parseColor("#c2abff")Accessibility — WCAG contrast
Aa
#c2abff on white: 1.99:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c2abff on black: 10.56:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.1%
Green67.1%
Blue100.0%
CMYK percentages
Cyan23.9%
Magenta32.9%
Yellow0.0%
Key (black)0.0%
Color previews
#c2abff text on a black background
contrast 10.56:1
Card sample
#c2abff text on a white background
contrast 1.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c2abff;
Background color
Panel with #c2abff background
background-color: #c2abff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c2abff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(194, 171, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 171, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2abff; background: linear-gradient(135deg, #c2abff, #FAABFF);