#AFA2C6#AFA2C6
#AFA2C6 is a light, muted violet. Relative luminance 0.390; OKLCH L 73.5% C 0.053 H 301.6°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA2C6 |
|---|---|
| RGB | rgb(175, 162, 198) |
| HSL | hsl(262, 24%, 71%) |
| HSV | hsv(262, 18%, 78%) |
| CMYK | cmyk(11.6%, 18.2%, 0%, 22.4%) |
| CIE-LAB | lab(68.77, 11.74, -16.71) |
| CIE-LCH | lch(68.77, 20.42, 305.10°) |
| OKLab | oklab(73.53% 0.0278 -0.0453) |
| OKLCH | oklch(73.53% 0.053 301.6) |
| XYZ | xyz(40.7906, 39.0318, 58.8001) |
| Luminance | 0.3903 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 6.58
Lilac
#C8A2C8
ΔE00 7.17
Pale Purple
#B790D4
ΔE00 9.05
Heather
#A484AC
ΔE00 9.67
Thistle
#D8BFD8
ΔE00 9.98
Dusty Lavender
#AC86A8
ΔE00 10.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA2C6 #B9C6A2
analogous
#A2A7C6 #AFA2C6 #C1A2C6
triadic
#AFA2C6 #C6AFA2 #A2C6AF
tetradic
#AFA2C6 #C6A2A7 #B9C6A2 #A2C6C1
square
#AFA2C6 #C6A2A7 #B9C6A2 #A2C6C1
split-complementary
#AFA2C6 #C6C1A2 #A7C6A2
monochromatic
#6F5A93 #8E7CAF #AFA2C6 #D0C8DD #EFECF3
Accessibility & contrast
On white
2.38
#AFA2C6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.81
#AFA2C6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA2C6
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA2C6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA2C6 | 1.00 | 2.38 | 8.81 | 8.81 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9BA8C8
Deuteranopia (green-blind)
#9EA8C5
Tritanopia (blue-blind)
#ABA7AE
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #afa2c6; /* rgb */ color: rgb(175, 162, 198); /* oklch */ color: oklch(73.5% 0.053 301.6);
Tailwind
colors: {
custom: {
50: '#c7bdd7',
500: '#afa2c6',
950: '#000000',
},
}SCSS
$custom: #afa2c6; $custom-light: #c7bdd7; $custom-dark: #000000;
JSON
{
"hex": "#afa2c6",
"rgb": {
"r": 175,
"g": 162,
"b": 198
},
"hsl": {
"h": 261.667,
"s": 24,
"l": 70.588
},
"oklch": {
"l": 0.73527,
"c": 0.05315,
"h": 301.6
},
"luminance": 0.39032
}Semantic roles & 50–950 ramp
primary
#AFA2C6
secondary
#E3E7DD
accent
#A24380
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131214
muted
#828183