#af86cb
a light, soft violet · warm · closest name: plum
RGB
175, 134, 203
HSL
276°, 40%, 66%
CMYK
14, 34, 0, 20
Luminance
0.3048
Every format
| HEX | #af86cb |
| RGB | rgb(175, 134, 203) |
| HSL | hsl(276, 40%, 66%) |
| CMYK | cmyk(14%, 34%, 0%, 20%) |
| LAB | lab(62.1 28.5 -29.8) |
| LCH | lch(62.1 41.2 313.8) |
| OKLCH | oklch(0.684 0.108 310.9) |
Copy-ready code
/* CSS */
color: #af86cb;
background-color: #af86cb;
/* Tailwind (arbitrary) */
class="text-[#af86cb] bg-[#af86cb]"
/* SCSS */
$brand: #af86cb;
/* SwiftUI */
Color(red: 0.686, green: 0.525, blue: 0.796)
/* Android */
Color.parseColor("#af86cb")Accessibility — WCAG contrast
Aa
#af86cb on white: 2.96:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#af86cb on black: 7.10:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green52.5%
Blue79.6%
CMYK percentages
Cyan13.8%
Magenta34.0%
Yellow0.0%
Key (black)20.4%
Color previews
#af86cb text on a black background
contrast 7.10:1
Card sample
#af86cb text on a white background
contrast 2.96:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af86cb;
Background color
Panel with #af86cb background
background-color: #af86cb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af86cb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 134, 203, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 134, 203, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af86cb; background: linear-gradient(135deg, #af86cb, #CB86B9);