#AFA3C8#AFA3C8
#AFA3C8 is a light, muted violet. Relative luminance 0.395; OKLCH L 73.8% C 0.054 H 299.9°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA3C8 |
|---|---|
| RGB | rgb(175, 163, 200) |
| HSL | hsl(259, 25%, 71%) |
| HSV | hsv(259, 19%, 78%) |
| CMYK | cmyk(12.5%, 18.5%, 0%, 21.6%) |
| CIE-LAB | lab(69.10, 11.61, -17.33) |
| CIE-LCH | lch(69.10, 20.85, 303.82°) |
| OKLab | oklab(73.8% 0.027 -0.047) |
| OKLCH | oklch(73.8% 0.054 299.9) |
| XYZ | xyz(41.1996, 39.4784, 60.0820) |
| Luminance | 0.3948 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 6.33
Lilac
#C8A2C8
ΔE00 7.46
Pale Purple
#B790D4
ΔE00 9.04
Thistle
#D8BFD8
ΔE00 10.04
Heather
#A484AC
ΔE00 10.05
Lavender (survey)
#C79FEF
ΔE00 10.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA3C8 #BCC8A3
analogous
#A3A9C8 #AFA3C8 #C1A3C8
triadic
#AFA3C8 #C8AFA3 #A3C8AF
tetradic
#AFA3C8 #C8A3A9 #BCC8A3 #A3C8C1
square
#AFA3C8 #C8A3A9 #BCC8A3 #A3C8C1
split-complementary
#AFA3C8 #C8C1A3 #A9C8A3
monochromatic
#6E5A97 #8E7DB1 #AFA3C8 #D0C9DF #EEECF4
Accessibility & contrast
On white
2.36
#AFA3C8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.90
#AFA3C8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA3C8
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA3C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA3C8 | 1.00 | 2.36 | 8.90 | 8.90 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9CA9CA
Deuteranopia (green-blind)
#9EA8C7
Tritanopia (blue-blind)
#ABA8AF
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afa3c8; /* rgb */ color: rgb(175, 163, 200); /* oklch */ color: oklch(73.8% 0.054 299.9);
Tailwind
colors: {
custom: {
50: '#c7bed8',
500: '#afa3c8',
950: '#000000',
},
}SCSS
$custom: #afa3c8; $custom-light: #c7bed8; $custom-dark: #000000;
JSON
{
"hex": "#afa3c8",
"rgb": {
"r": 175,
"g": 163,
"b": 200
},
"hsl": {
"h": 259.459,
"s": 25.17,
"l": 71.176
},
"oklch": {
"l": 0.73799,
"c": 0.05422,
"h": 299.9
},
"luminance": 0.39478
}Semantic roles & 50–950 ramp
primary
#AFA3C8
secondary
#E5E8DF
accent
#A44284
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131214
muted
#828183