#c39afd
a light, electric violet · warm · closest name: plum
RGB
195, 154, 253
HSL
265°, 96%, 80%
CMYK
23, 39, 0, 1
Luminance
0.4181
Every format
| HEX | #c39afd |
| RGB | rgb(195, 154, 253) |
| HSL | hsl(265, 96%, 80%) |
| CMYK | cmyk(23%, 39%, 0%, 1%) |
| LAB | lab(70.7 34.5 -43.7) |
| LCH | lch(70.7 55.7 308.3) |
| OKLCH | oklch(0.761 0.144 302.2) |
Copy-ready code
/* CSS */
color: #c39afd;
background-color: #c39afd;
/* Tailwind (arbitrary) */
class="text-[#c39afd] bg-[#c39afd]"
/* SCSS */
$brand: #c39afd;
/* SwiftUI */
Color(red: 0.765, green: 0.604, blue: 0.992)
/* Android */
Color.parseColor("#c39afd")Accessibility — WCAG contrast
Aa
#c39afd on white: 2.24:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c39afd on black: 9.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.5%
Green60.4%
Blue99.2%
CMYK percentages
Cyan22.9%
Magenta39.1%
Yellow0.0%
Key (black)0.8%
Color previews
#c39afd text on a black background
contrast 9.36:1
Card sample
#c39afd text on a white background
contrast 2.24:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c39afd;
Background color
Panel with #c39afd background
background-color: #c39afd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c39afd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(195, 154, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(195, 154, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c39afd; background: linear-gradient(135deg, #c39afd, #FD9AF5);