#af9ccb
a light, soft violet · warm · closest name: plum
RGB
175, 156, 203
HSL
264°, 31%, 70%
CMYK
14, 23, 0, 20
Luminance
0.3720
Every format
| HEX | #af9ccb |
| RGB | rgb(175, 156, 203) |
| HSL | hsl(264, 31%, 70%) |
| CMYK | cmyk(14%, 23%, 0%, 20%) |
| LAB | lab(67.4 16.2 -21.5) |
| LCH | lch(67.4 26.9 306.9) |
| OKLCH | oklch(0.725 0.070 303.1) |
Copy-ready code
/* CSS */
color: #af9ccb;
background-color: #af9ccb;
/* Tailwind (arbitrary) */
class="text-[#af9ccb] bg-[#af9ccb]"
/* SCSS */
$brand: #af9ccb;
/* SwiftUI */
Color(red: 0.686, green: 0.612, blue: 0.796)
/* Android */
Color.parseColor("#af9ccb")Accessibility — WCAG contrast
Aa
#af9ccb on white: 2.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#af9ccb on black: 8.44:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green61.2%
Blue79.6%
CMYK percentages
Cyan13.8%
Magenta23.2%
Yellow0.0%
Key (black)20.4%
Color previews
#af9ccb text on a black background
contrast 8.44:1
Card sample
#af9ccb text on a white background
contrast 2.49:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af9ccb;
Background color
Panel with #af9ccb background
background-color: #af9ccb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af9ccb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 156, 203, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 156, 203, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af9ccb; background: linear-gradient(135deg, #af9ccb, #CB9CC8);