#df9cff
a light, electric violet · warm · closest name: violet
RGB
223, 156, 255
HSL
281°, 100%, 81%
CMYK
13, 39, 0, 0
Luminance
0.4668
Every format
| HEX | #df9cff |
| RGB | rgb(223, 156, 255) |
| HSL | hsl(281, 100%, 81%) |
| CMYK | cmyk(13%, 39%, 0%, 0%) |
| LAB | lab(74.0 41.9 -39.5) |
| LCH | lch(74.0 57.6 316.7) |
| OKLCH | oklch(0.793 0.152 314.3) |
Copy-ready code
/* CSS */
color: #df9cff;
background-color: #df9cff;
/* Tailwind (arbitrary) */
class="text-[#df9cff] bg-[#df9cff]"
/* SCSS */
$brand: #df9cff;
/* SwiftUI */
Color(red: 0.875, green: 0.612, blue: 1.000)
/* Android */
Color.parseColor("#df9cff")Accessibility — WCAG contrast
Aa
#df9cff on white: 2.03:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#df9cff on black: 10.34:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green61.2%
Blue100.0%
CMYK percentages
Cyan12.5%
Magenta38.8%
Yellow0.0%
Key (black)0.0%
Color previews
#df9cff text on a black background
contrast 10.34:1
Card sample
#df9cff text on a white background
contrast 2.03:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #df9cff;
Background color
Panel with #df9cff background
background-color: #df9cff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #df9cff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 156, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 156, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #df9cff; background: linear-gradient(135deg, #df9cff, #FF9CDD);