#AFA2C2#AFA2C2
#AFA2C2 is a light, muted violet. Relative luminance 0.389; OKLCH L 73.4% C 0.048 H 303.7°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA2C2 |
|---|---|
| RGB | rgb(175, 162, 194) |
| HSL | hsl(264, 21%, 70%) |
| HSV | hsv(264, 16%, 76%) |
| CMYK | cmyk(9.8%, 16.5%, 0%, 23.9%) |
| CIE-LAB | lab(68.64, 10.90, -14.69) |
| CIE-LCH | lch(68.64, 18.29, 306.58°) |
| OKLab | oklab(73.38% 0.0265 -0.0397) |
| OKLCH | oklch(73.38% 0.048 303.7) |
| XYZ | xyz(40.3353, 38.8497, 56.4023) |
| Luminance | 0.3885 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 7.23
Lavender
#B39DDB
ΔE00 7.79
Thistle
#D8BFD8
ΔE00 9.63
Heather
#A484AC
ΔE00 9.76
Pale Purple
#B790D4
ΔE00 9.97
Dusty Lavender
#AC86A8
ΔE00 10.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA2C2 #B5C2A2
analogous
#A2A5C2 #AFA2C2 #BFA2C2
triadic
#AFA2C2 #C2AFA2 #A2C2AF
tetradic
#AFA2C2 #C2A2A5 #B5C2A2 #A2C2BF
square
#AFA2C2 #C2A2A5 #B5C2A2 #A2C2BF
split-complementary
#AFA2C2 #C2BFA2 #A5C2A2
monochromatic
#705D8D #8F7DAA #AFA2C2 #CFC7DA #EFECF2
Accessibility & contrast
On white
2.39
#AFA2C2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.77
#AFA2C2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA2C2
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA2C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA2C2 | 1.00 | 2.39 | 8.77 | 8.77 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9DA7C3
Deuteranopia (green-blind)
#9FA7C1
Tritanopia (blue-blind)
#ACA6AD
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #afa2c2; /* rgb */ color: rgb(175, 162, 194); /* oklch */ color: oklch(73.4% 0.048 303.7);
Tailwind
colors: {
custom: {
50: '#c7bdd4',
500: '#afa2c2',
950: '#000000',
},
}SCSS
$custom: #afa2c2; $custom-light: #c7bdd4; $custom-dark: #000000;
JSON
{
"hex": "#afa2c2",
"rgb": {
"r": 175,
"g": 162,
"b": 194
},
"hsl": {
"h": 264.375,
"s": 20.779,
"l": 69.804
},
"oklch": {
"l": 0.73381,
"c": 0.0477,
"h": 303.7
},
"luminance": 0.3885
}Semantic roles & 50–950 ramp
primary
#AFA2C2
secondary
#E1E4DB
accent
#9F467B
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131214
muted
#828183