#dac2f0
a pale, vivid violet · warm · closest name: plum
RGB
218, 194, 240
HSL
271°, 61%, 85%
CMYK
9, 19, 0, 6
Luminance
0.5978
Every format
| HEX | #dac2f0 |
| RGB | rgb(218, 194, 240) |
| HSL | hsl(271, 61%, 85%) |
| CMYK | cmyk(9%, 19%, 0%, 6%) |
| LAB | lab(81.7 16.9 -19.6) |
| LCH | lch(81.7 25.9 310.7) |
| OKLCH | oklch(0.849 0.068 308.5) |
Copy-ready code
/* CSS */
color: #dac2f0;
background-color: #dac2f0;
/* Tailwind (arbitrary) */
class="text-[#dac2f0] bg-[#dac2f0]"
/* SCSS */
$brand: #dac2f0;
/* SwiftUI */
Color(red: 0.855, green: 0.761, blue: 0.941)
/* Android */
Color.parseColor("#dac2f0")Accessibility — WCAG contrast
Aa
#dac2f0 on white: 1.62:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dac2f0 on black: 12.96:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red85.5%
Green76.1%
Blue94.1%
CMYK percentages
Cyan9.2%
Magenta19.2%
Yellow0.0%
Key (black)5.9%
Color previews
#dac2f0 text on a black background
contrast 12.96:1
Card sample
#dac2f0 text on a white background
contrast 1.62:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dac2f0;
Background color
Panel with #dac2f0 background
background-color: #dac2f0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dac2f0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(218, 194, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 194, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dac2f0; background: linear-gradient(135deg, #dac2f0, #F0C2E7);