#ddaffb
a light, electric violet · warm · closest name: plum
RGB
221, 175, 251
HSL
276°, 91%, 84%
CMYK
12, 30, 0, 2
Luminance
0.5300
Every format
| HEX | #ddaffb |
| RGB | rgb(221, 175, 251) |
| HSL | hsl(276, 91%, 84%) |
| CMYK | cmyk(12%, 30%, 0%, 2%) |
| LAB | lab(77.9 30.3 -31.4) |
| LCH | lch(77.9 43.6 314.0) |
| OKLCH | oklch(0.821 0.115 311.5) |
Copy-ready code
/* CSS */
color: #ddaffb;
background-color: #ddaffb;
/* Tailwind (arbitrary) */
class="text-[#ddaffb] bg-[#ddaffb]"
/* SCSS */
$brand: #ddaffb;
/* SwiftUI */
Color(red: 0.867, green: 0.686, blue: 0.984)
/* Android */
Color.parseColor("#ddaffb")Accessibility — WCAG contrast
Aa
#ddaffb on white: 1.81:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ddaffb on black: 11.60:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red86.7%
Green68.6%
Blue98.4%
CMYK percentages
Cyan12.0%
Magenta30.3%
Yellow0.0%
Key (black)1.6%
Color previews
#ddaffb text on a black background
contrast 11.60:1
Card sample
#ddaffb text on a white background
contrast 1.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ddaffb;
Background color
Panel with #ddaffb background
background-color: #ddaffb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ddaffb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(221, 175, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 175, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ddaffb; background: linear-gradient(135deg, #ddaffb, #FBAFE6);