#AFA4C2#AFA4C2
#AFA4C2 is a light, muted violet. Relative luminance 0.396; OKLCH L 73.8% C 0.044 H 302.0°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA4C2 |
|---|---|
| RGB | rgb(175, 164, 194) |
| HSL | hsl(262, 20%, 70%) |
| HSV | hsv(262, 15%, 76%) |
| CMYK | cmyk(9.8%, 15.5%, 0%, 23.9%) |
| CIE-LAB | lab(69.15, 9.79, -13.92) |
| CIE-LCH | lch(69.15, 17.02, 305.13°) |
| OKLab | oklab(73.78% 0.0235 -0.0376) |
| OKLCH | oklch(73.78% 0.044 302) |
| XYZ | xyz(40.6904, 39.5599, 56.5206) |
| Luminance | 0.3956 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 7.91
Lavender
#B39DDB
ΔE00 8.47
Thistle
#D8BFD8
ΔE00 9.43
Heather
#A484AC
ΔE00 10.61
Pale Purple
#B790D4
ΔE00 10.81
Dusty Lavender
#AC86A8
ΔE00 10.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA4C2 #B7C2A4
analogous
#A4A8C2 #AFA4C2 #BEA4C2
triadic
#AFA4C2 #C2AFA4 #A4C2AF
tetradic
#AFA4C2 #C2A4A8 #B7C2A4 #A4C2BE
square
#AFA4C2 #C2A4A8 #B7C2A4 #A4C2BE
split-complementary
#AFA4C2 #C2BEA4 #A8C2A4
monochromatic
#705F8D #8F7FA9 #AFA4C2 #CFC9DB #EFEDF3
Accessibility & contrast
On white
2.36
#AFA4C2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.91
#AFA4C2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA4C2
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA4C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA4C2 | 1.00 | 2.36 | 8.91 | 8.91 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9FA9C3
Deuteranopia (green-blind)
#A1A9C1
Tritanopia (blue-blind)
#ACA8AE
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afa4c2; /* rgb */ color: rgb(175, 164, 194); /* oklch */ color: oklch(73.8% 0.044 302.0);
Tailwind
colors: {
custom: {
50: '#c7bfd4',
500: '#afa4c2',
950: '#000000',
},
}SCSS
$custom: #afa4c2; $custom-light: #c7bfd4; $custom-dark: #000000;
JSON
{
"hex": "#afa4c2",
"rgb": {
"r": 175,
"g": 164,
"b": 194
},
"hsl": {
"h": 262,
"s": 19.737,
"l": 70.196
},
"oklch": {
"l": 0.73779,
"c": 0.04432,
"h": 302
},
"luminance": 0.3956
}Semantic roles & 50–950 ramp
primary
#AFA4C2
secondary
#E2E5DD
accent
#9E477E
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131214
muted
#828183