#AFA3F2#AFA3F2
#AFA3F2 is a light, moderate blue. Relative luminance 0.417; OKLCH L 75.5% C 0.113 H 290.4°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA3F2 |
|---|---|
| RGB | rgb(175, 163, 242) |
| HSL | hsl(249, 75%, 79%) |
| HSV | hsv(249, 33%, 95%) |
| CMYK | cmyk(27.7%, 32.6%, 0%, 5.1%) |
| CIE-LAB | lab(70.68, 21.22, -37.96) |
| CIE-LCH | lch(70.68, 43.49, 299.21°) |
| OKLab | oklab(75.54% 0.0392 -0.1054) |
| OKLCH | oklch(75.54% 0.113 290.4) |
| XYZ | xyz(46.7994, 41.7183, 89.5740) |
| Luminance | 0.4172 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender
#B39DDB
ΔE00 5.40
Pastel Purple
#CAA0FF
ΔE00 6.18
Lavender (survey)
#C79FEF
ΔE00 6.43
Pale Violet
#CEAEFA
ΔE00 6.50
Lilac (survey)
#CEA2FD
ΔE00 6.81
Baby Purple
#CA9BF7
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA3F2 #E6F2A3
analogous
#A3BFF2 #AFA3F2 #D7A3F2
triadic
#AFA3F2 #F2AFA3 #A3F2AF
tetradic
#AFA3F2 #F2A3BF #E6F2A3 #A3F2D7
square
#AFA3F2 #F2A3BF #E6F2A3 #A3F2D7
split-complementary
#AFA3F2 #F2D7A3 #BFF2A3
monochromatic
#5238E3 #806DEA #AFA3F2 #DED9FA #E8E4FB
Accessibility & contrast
On white
2.25
#AFA3F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.34
#AFA3F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA3F2
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA3F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA3F2 | 1.00 | 2.25 | 9.34 | 9.34 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8EAEF5
Deuteranopia (green-blind)
#8EABF0
Tritanopia (blue-blind)
#A0B1C0
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #afa3f2; /* rgb */ color: rgb(175, 163, 242); /* oklch */ color: oklch(75.5% 0.113 290.4);
Tailwind
colors: {
custom: {
50: '#c8bef6',
500: '#afa3f2',
950: '#000000',
},
}SCSS
$custom: #afa3f2; $custom-light: #c8bef6; $custom-dark: #000000;
JSON
{
"hex": "#afa3f2",
"rgb": {
"r": 175,
"g": 163,
"b": 242
},
"hsl": {
"h": 249.114,
"s": 75.238,
"l": 79.412
},
"oklch": {
"l": 0.7554,
"c": 0.11251,
"h": 290.4
},
"luminance": 0.41719
}Semantic roles & 50–950 ramp
primary
#AFA3F2
secondary
#EFF3D8
accent
#D70EB9
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131217
muted
#828185