#dfbafc
a pale, electric violet · warm · closest name: plum
RGB
223, 186, 252
HSL
274°, 92%, 86%
CMYK
12, 26, 0, 1
Luminance
0.5783
Every format
| HEX | #dfbafc |
| RGB | rgb(223, 186, 252) |
| HSL | hsl(274, 92%, 86%) |
| CMYK | cmyk(12%, 26%, 0%, 1%) |
| LAB | lab(80.7 25.2 -27.6) |
| LCH | lch(80.7 37.4 312.3) |
| OKLCH | oklch(0.843 0.098 309.8) |
Copy-ready code
/* CSS */
color: #dfbafc;
background-color: #dfbafc;
/* Tailwind (arbitrary) */
class="text-[#dfbafc] bg-[#dfbafc]"
/* SCSS */
$brand: #dfbafc;
/* SwiftUI */
Color(red: 0.875, green: 0.729, blue: 0.988)
/* Android */
Color.parseColor("#dfbafc")Accessibility — WCAG contrast
Aa
#dfbafc on white: 1.67:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfbafc on black: 12.57:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green72.9%
Blue98.8%
CMYK percentages
Cyan11.5%
Magenta26.2%
Yellow0.0%
Key (black)1.2%
Color previews
#dfbafc text on a black background
contrast 12.57:1
Card sample
#dfbafc text on a white background
contrast 1.67:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfbafc;
Background color
Panel with #dfbafc background
background-color: #dfbafc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfbafc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 186, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 186, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfbafc; background: linear-gradient(135deg, #dfbafc, #FCBAED);