#AFA0C2#AFA0C2
#AFA0C2 is a light, muted violet. Relative luminance 0.382; OKLCH L 73.0% C 0.051 H 305.2°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA0C2 |
|---|---|
| RGB | rgb(175, 160, 194) |
| HSL | hsl(266, 22%, 69%) |
| HSV | hsv(266, 18%, 76%) |
| CMYK | cmyk(9.8%, 17.5%, 0%, 23.9%) |
| CIE-LAB | lab(68.13, 12.01, -15.46) |
| CIE-LCH | lch(68.13, 19.58, 307.85°) |
| OKLab | oklab(72.98% 0.0294 -0.0418) |
| OKLCH | oklch(72.98% 0.051 305.2) |
| XYZ | xyz(39.9858, 38.1507, 56.2858) |
| Luminance | 0.3815 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 6.68
Lavender
#B39DDB
ΔE00 7.19
Heather
#A484AC
ΔE00 8.96
Pale Purple
#B790D4
ΔE00 9.17
Dusty Lavender
#AC86A8
ΔE00 9.28
Thistle
#D8BFD8
ΔE00 9.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA0C2 #B3C2A0
analogous
#A0A2C2 #AFA0C2 #C0A0C2
triadic
#AFA0C2 #C2AFA0 #A0C2AF
tetradic
#AFA0C2 #C2A0A2 #B3C2A0 #A0C2C0
square
#AFA0C2 #C2A0A2 #B3C2A0 #A0C2C0
split-complementary
#AFA0C2 #C2C0A0 #A2C2A0
monochromatic
#715B8D #907BAA #AFA0C2 #CEC5DA #EEEBF2
Accessibility & contrast
On white
2.43
#AFA0C2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.63
#AFA0C2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA0C2
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA0C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA0C2 | 1.00 | 2.43 | 8.63 | 8.63 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9AA6C4
Deuteranopia (green-blind)
#9DA6C1
Tritanopia (blue-blind)
#ACA4AB
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #afa0c2; /* rgb */ color: rgb(175, 160, 194); /* oklch */ color: oklch(73.0% 0.051 305.2);
Tailwind
colors: {
custom: {
50: '#c7bcd4',
500: '#afa0c2',
950: '#000000',
},
}SCSS
$custom: #afa0c2; $custom-light: #c7bcd4; $custom-dark: #000000;
JSON
{
"hex": "#afa0c2",
"rgb": {
"r": 175,
"g": 160,
"b": 194
},
"hsl": {
"h": 266.471,
"s": 21.795,
"l": 69.412
},
"oklch": {
"l": 0.72984,
"c": 0.05114,
"h": 305.2
},
"luminance": 0.38151
}Semantic roles & 50–950 ramp
primary
#AFA0C2
secondary
#DFE4DA
accent
#A04578
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131214
muted
#828183