#AFACE7
Closest named color: Pastel Blue (#A2BFFE). oklch(76.8% 0.084 286.6), rgb(175, 172, 231).
Aa
Black text reads best on this color (9.87:1).
About this color
#AFACE7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.084 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.052 away. Black text reads best on it, at 9.87:1.
| Hue family | Purples |
| Lightness | medium-light (77%) |
| Chroma | moderately saturated (0.084) |
| Temperature | cool |
| Nearest name | Pastel Blue (#A2BFFE) |
| Black text | 9.87:1 |
| White text | 2.12:1 |
Values
| HEX | #AFACE7 |
| RGB | rgb(175, 172, 231) |
| HSL | hsl(243, 55%, 79%) |
| OKLCH | oklch(76.8% 0.084 286.6) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #AFACE7 | 2.12:1 | Fails | Lc -46.3 | Large or bold text, headings |
| Black text on #AFACE7 | 9.87:1 | AAA | Lc 62.3 | Content text, not long reading |
| #AFACE7 text on white | 2.12:1 | Fails | Lc 41.7 | Non-text elements, placeholder text |
| #AFACE7 text on black | 9.87:1 | AAA | Lc -60.6 | Content text, not long reading |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 300.
-
Step 50
50
#F5F4FD
oklch(97% 0.012 291.3)
-
Step 100
100
#E8E8FA
oklch(93.6% 0.024 285.9)
-
Step 200
200
#D6D5F7
oklch(88.4% 0.047 286.8)
-
Step 300
300 (this color)
#AFACE7
oklch(76.8% 0.084 286.6)
-
Step 400
400
#9B92F0
oklch(70.6% 0.135 286.8)
-
Step 500
500
#8474EA
oklch(63% 0.172 286.6)
-
Step 600
600
#705AD9
oklch(55.7% 0.186 286.6)
-
Step 700
700
#5E49BC
oklch(49.2% 0.173 286.6)
-
Step 800
800
#4C3C98
oklch(42.6% 0.144 286.6)
-
Step 900
900
#3F3579
oklch(37.8% 0.112 286.5)
-
Step 950
950
#252047
oklch(27.2% 0.07 286.6)
#AFACE7 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #9DB3EA | 0.028 |
| Deuteranopia (no green cones) | #9CB0E5 | 0.027 |
| Tritanopia (no blue cones) | #A2B6C0 | 0.073 |
| Achromatopsia (no color) | #B2B2B2 | 0.084 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFACE7
#AFACE7
oklch(76.8% 0.084 286.6)
- #BAB878
#BAB878
oklch(76.9% 0.084 106.7)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #AFACE7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pastel Blue #A2BFFE ΔE 0.052
- Pale Violet #CEAEFA ΔE 0.054
- Carolina Blue #8AB8FE ΔE 0.056
- Light Grey Blue #9DBCD4 ΔE 0.062
- Lilac #CEA2FD ΔE 0.063
- Pastel Purple #CAA0FF ΔE 0.064
- Baby Purple #CA9BF7 ΔE 0.065
- Light Violet #D6B4FC ΔE 0.068
Use #AFACE7 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.