#c397df
a light, vivid violet · warm · closest name: plum
RGB
195, 151, 223
HSL
277°, 53%, 73%
CMYK
13, 32, 0, 13
Luminance
0.3906
Every format
| HEX | #c397df |
| RGB | rgb(195, 151, 223) |
| HSL | hsl(277, 53%, 73%) |
| CMYK | cmyk(13%, 32%, 0%, 13%) |
| LAB | lab(68.8 29.6 -30.3) |
| LCH | lch(68.8 42.4 314.3) |
| OKLCH | oklch(0.743 0.112 311.7) |
Copy-ready code
/* CSS */
color: #c397df;
background-color: #c397df;
/* Tailwind (arbitrary) */
class="text-[#c397df] bg-[#c397df]"
/* SCSS */
$brand: #c397df;
/* SwiftUI */
Color(red: 0.765, green: 0.592, blue: 0.875)
/* Android */
Color.parseColor("#c397df")Accessibility — WCAG contrast
Aa
#c397df on white: 2.38:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c397df on black: 8.81:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.5%
Green59.2%
Blue87.5%
CMYK percentages
Cyan12.6%
Magenta32.3%
Yellow0.0%
Key (black)12.5%
Color previews
#c397df text on a black background
contrast 8.81:1
Card sample
#c397df text on a white background
contrast 2.38:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c397df;
Background color
Panel with #c397df background
background-color: #c397df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c397df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(195, 151, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(195, 151, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c397df; background: linear-gradient(135deg, #c397df, #DF97CB);