#AFACE4
Closest named color: Pastel Blue (#A2BFFE). oklch(76.7% 0.08 286.8), rgb(175, 172, 228).
Aa
Black text reads best on this color (9.84:1).
About this color
#AFACE4 is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.080 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.054 away. Black text reads best on it, at 9.84:1.
| Hue family | Purples |
| Lightness | medium-light (77%) |
| Chroma | moderately saturated (0.080) |
| Temperature | cool |
| Nearest name | Pastel Blue (#A2BFFE) |
| Black text | 9.84:1 |
| White text | 2.13:1 |
Values
| HEX | #AFACE4 |
| RGB | rgb(175, 172, 228) |
| HSL | hsl(243, 51%, 78%) |
| OKLCH | oklch(76.7% 0.08 286.8) |
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 #AFACE4 | 2.13:1 | Fails | Lc -46.5 | Large or bold text, headings |
| Black text on #AFACE4 | 9.84:1 | AAA | Lc 62.1 | Content text, not long reading |
| #AFACE4 text on white | 2.13:1 | Fails | Lc 41.8 | Non-text elements, placeholder text |
| #AFACE4 text on black | 9.84:1 | AAA | Lc -60.4 | 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
#F5F4FC
oklch(97% 0.011 292)
-
Step 100
100
#E8E8F9
oklch(93.6% 0.023 286)
-
Step 200
200
#D6D5F6
oklch(88.4% 0.045 286.8)
-
Step 300
300 (this color)
#AFACE4
oklch(76.7% 0.08 286.8)
-
Step 400
400
#9B93EC
oklch(70.6% 0.128 286.7)
-
Step 500
500
#8576E5
oklch(63.1% 0.162 287)
-
Step 600
600
#705CD3
oklch(55.6% 0.176 286.9)
-
Step 700
700
#5E4BB7
oklch(49.2% 0.164 286.8)
-
Step 800
800
#4C3E94
oklch(42.7% 0.136 286.6)
-
Step 900
900
#3F3676
oklch(37.7% 0.106 286.6)
-
Step 950
950
#252045
oklch(27% 0.067 287.2)
#AFACE4 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) | #9EB3E6 | 0.027 |
| Deuteranopia (no green cones) | #9DB0E2 | 0.026 |
| Tritanopia (no blue cones) | #A3B5BF | 0.069 |
| Achromatopsia (no color) | #B1B1B1 | 0.080 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFACE4
#AFACE4
oklch(76.7% 0.08 286.8)
- #B9B77B
#B9B77B
oklch(76.7% 0.08 106.5)
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 #AFACE4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pastel Blue #A2BFFE ΔE 0.054
- Pale Violet #CEAEFA ΔE 0.056
- Carolina Blue #8AB8FE ΔE 0.057
- Light Grey Blue #9DBCD4 ΔE 0.059
- Cloudy Blue #ACC2D9 ΔE 0.066
- Lilac #CEA2FD ΔE 0.067
- Pastel Purple #CAA0FF ΔE 0.067
- Baby Purple #CA9BF7 ΔE 0.068
Use #AFACE4 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.