#dfbafa
a pale, electric violet · warm · closest name: plum
RGB
223, 186, 250
HSL
275°, 87%, 86%
CMYK
11, 26, 0, 2
Luminance
0.5771
Every format
| HEX | #dfbafa |
| RGB | rgb(223, 186, 250) |
| HSL | hsl(275, 87%, 86%) |
| CMYK | cmyk(11%, 26%, 0%, 2%) |
| LAB | lab(80.6 24.8 -26.7) |
| LCH | lch(80.6 36.4 312.9) |
| OKLCH | oklch(0.842 0.096 310.6) |
Copy-ready code
/* CSS */
color: #dfbafa;
background-color: #dfbafa;
/* Tailwind (arbitrary) */
class="text-[#dfbafa] bg-[#dfbafa]"
/* SCSS */
$brand: #dfbafa;
/* SwiftUI */
Color(red: 0.875, green: 0.729, blue: 0.980)
/* Android */
Color.parseColor("#dfbafa")Accessibility — WCAG contrast
Aa
#dfbafa on white: 1.67:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfbafa on black: 12.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green72.9%
Blue98.0%
CMYK percentages
Cyan10.8%
Magenta25.6%
Yellow0.0%
Key (black)2.0%
Color previews
#dfbafa text on a black background
contrast 12.54:1
Card sample
#dfbafa text on a white background
contrast 1.67:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfbafa;
Background color
Panel with #dfbafa background
background-color: #dfbafa;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfbafa;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 186, 250, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 186, 250, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfbafa; background: linear-gradient(135deg, #dfbafa, #FABAEA);