#af8cbc
a balanced, soft violet · warm · closest name: plum
RGB
175, 140, 188
HSL
284°, 26%, 64%
CMYK
7, 26, 0, 26
Luminance
0.3150
Every format
| HEX | #af8cbc |
| RGB | rgb(175, 140, 188) |
| HSL | hsl(284, 26%, 64%) |
| CMYK | cmyk(7%, 26%, 0%, 26%) |
| LAB | lab(62.9 22.0 -20.0) |
| LCH | lch(62.9 29.7 317.7) |
| OKLCH | oklch(0.689 0.079 316.8) |
Copy-ready code
/* CSS */
color: #af8cbc;
background-color: #af8cbc;
/* Tailwind (arbitrary) */
class="text-[#af8cbc] bg-[#af8cbc]"
/* SCSS */
$brand: #af8cbc;
/* SwiftUI */
Color(red: 0.686, green: 0.549, blue: 0.737)
/* Android */
Color.parseColor("#af8cbc")Accessibility — WCAG contrast
Aa
#af8cbc on white: 2.88:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#af8cbc on black: 7.30:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green54.9%
Blue73.7%
CMYK percentages
Cyan6.9%
Magenta25.5%
Yellow0.0%
Key (black)26.3%
Color previews
#af8cbc text on a black background
contrast 7.30:1
Card sample
#af8cbc text on a white background
contrast 2.88:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af8cbc;
Background color
Panel with #af8cbc background
background-color: #af8cbc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af8cbc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 140, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 140, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af8cbc; background: linear-gradient(135deg, #af8cbc, #BC8CA9);