#d7b1ff
a light, electric violet · warm · closest name: plum
RGB
215, 177, 255
HSL
269°, 100%, 85%
CMYK
16, 31, 0, 0
Luminance
0.5311
Every format
| HEX | #d7b1ff |
| RGB | rgb(215, 177, 255) |
| HSL | hsl(269, 100%, 85%) |
| CMYK | cmyk(16%, 31%, 0%, 0%) |
| LAB | lab(77.9 28.2 -33.5) |
| LCH | lch(77.9 43.8 310.2) |
| OKLCH | oklch(0.821 0.114 306.3) |
Copy-ready code
/* CSS */
color: #d7b1ff;
background-color: #d7b1ff;
/* Tailwind (arbitrary) */
class="text-[#d7b1ff] bg-[#d7b1ff]"
/* SCSS */
$brand: #d7b1ff;
/* SwiftUI */
Color(red: 0.843, green: 0.694, blue: 1.000)
/* Android */
Color.parseColor("#d7b1ff")Accessibility — WCAG contrast
Aa
#d7b1ff on white: 1.81:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#d7b1ff on black: 11.62:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red84.3%
Green69.4%
Blue100.0%
CMYK percentages
Cyan15.7%
Magenta30.6%
Yellow0.0%
Key (black)0.0%
Color previews
#d7b1ff text on a black background
contrast 11.62:1
Card sample
#d7b1ff text on a white background
contrast 1.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #d7b1ff;
Background color
Panel with #d7b1ff background
background-color: #d7b1ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #d7b1ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(215, 177, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(215, 177, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d7b1ff; background: linear-gradient(135deg, #d7b1ff, #FFB1F3);