#AFA7C2#AFA7C2
#AFA7C2 is a light, muted violet. Relative luminance 0.406; OKLCH L 74.4% C 0.039 H 299.0°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA7C2 |
|---|---|
| RGB | rgb(175, 167, 194) |
| HSL | hsl(258, 18%, 71%) |
| HSV | hsv(258, 14%, 76%) |
| CMYK | cmyk(9.8%, 13.9%, 0%, 23.9%) |
| CIE-LAB | lab(69.93, 8.13, -12.76) |
| CIE-LCH | lch(69.93, 15.13, 302.51°) |
| OKLab | oklab(74.38% 0.0191 -0.0344) |
| OKLCH | oklch(74.38% 0.039 299) |
| XYZ | xyz(41.2336, 40.6464, 56.7017) |
| Luminance | 0.4065 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 9.14
Thistle
#D8BFD8
ΔE00 9.39
Lavender
#B39DDB
ΔE00 9.60
Dove Gray
#B6B8BD
ΔE00 11.43
Heather
#A484AC
ΔE00 12.00
Light Periwinkle
#C1C6FC
ΔE00 12.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA7C2 #BAC2A7
analogous
#A7ACC2 #AFA7C2 #BCA7C2
triadic
#AFA7C2 #C2AFA7 #A7C2AF
tetradic
#AFA7C2 #C2A7AC #BAC2A7 #A7C2BC
square
#AFA7C2 #C2A7AC #BAC2A7 #A7C2BC
split-complementary
#AFA7C2 #C2BCA7 #ACC2A7
monochromatic
#6E628D #8E83A9 #AFA7C2 #D0CBDB #EFEDF2
Accessibility & contrast
On white
2.30
#AFA7C2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.13
#AFA7C2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA7C2
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA7C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA7C2 | 1.00 | 2.30 | 9.13 | 9.13 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A2ABC3
Deuteranopia (green-blind)
#A3ABC1
Tritanopia (blue-blind)
#ACABB0
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #afa7c2; /* rgb */ color: rgb(175, 167, 194); /* oklch */ color: oklch(74.4% 0.039 299.0);
Tailwind
colors: {
custom: {
50: '#c7c1d4',
500: '#afa7c2',
950: '#000000',
},
}SCSS
$custom: #afa7c2; $custom-light: #c7c1d4; $custom-dark: #000000;
JSON
{
"hex": "#afa7c2",
"rgb": {
"r": 175,
"g": 167,
"b": 194
},
"hsl": {
"h": 257.778,
"s": 18.121,
"l": 70.784
},
"oklch": {
"l": 0.74381,
"c": 0.03932,
"h": 299
},
"luminance": 0.40646
}Semantic roles & 50–950 ramp
primary
#AFA7C2
secondary
#E4E6DF
accent
#9C4984
background
#FCFBFD
surface
#F8F7FA
border
#D1D0D3
text
#131214
muted
#828183