#AFACEF
Closest named color: Pale Violet (#CEAEFA). oklch(77.1% 0.095 286), rgb(175, 172, 239).
Aa
Black text reads best on this color (9.97:1).
About this color
#AFACEF is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.095 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.048 away. Black text reads best on it, at 9.97:1.
| Hue family | Purples |
| Lightness | medium-light (77%) |
| Chroma | moderately saturated (0.095) |
| Temperature | cool |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 9.97:1 |
| White text | 2.10:1 |
Values
| HEX | #AFACEF |
| RGB | rgb(175, 172, 239) |
| HSL | hsl(243, 68%, 81%) |
| OKLCH | oklch(77.1% 0.095 286) |
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 #AFACEF | 2.10:1 | Fails | Lc -45.8 | Large or bold text, headings |
| Black text on #AFACEF | 9.97:1 | AAA | Lc 62.7 | Content text, not long reading |
| #AFACEF text on white | 2.10:1 | Fails | Lc 41.2 | Non-text elements, placeholder text |
| #AFACEF text on black | 9.97:1 | AAA | Lc -61.0 | 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
#F4F4FE
oklch(97% 0.013 286.1)
-
Step 100
100
#E8E8FC
oklch(93.7% 0.027 285.9)
-
Step 200
200
#D5D5FB
oklch(88.5% 0.052 285.3)
-
Step 300
300 (this color)
#AFACEF
oklch(77.1% 0.095 286)
-
Step 400
400
#9A90FA
oklch(70.7% 0.152 286.1)
-
Step 500
500
#8370F7
oklch(63.1% 0.194 285.8)
-
Step 600
600
#6F53E6
oklch(55.5% 0.212 286)
-
Step 700
700
#5E42C8
oklch(49.1% 0.197 286.2)
-
Step 800
800
#4C38A2
oklch(42.7% 0.163 285.9)
-
Step 900
900
#3F3280
oklch(37.7% 0.126 286.3)
-
Step 950
950
#241E4B
oklch(26.9% 0.08 285.8)
#AFACEF 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) | #9AB4F2 | 0.032 |
| Deuteranopia (no green cones) | #98B1ED | 0.032 |
| Tritanopia (no blue cones) | #A0B8C4 | 0.082 |
| Achromatopsia (no color) | #B3B3B3 | 0.095 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFACEF
#AFACEF
oklch(77.1% 0.095 286)
- #BCB96F
#BCB96F
oklch(77.2% 0.096 106.4)
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 #AFACEF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.048
- Pastel Blue #A2BFFE ΔE 0.049
- Carolina Blue #8AB8FE ΔE 0.052
- Pastel Purple #CAA0FF ΔE 0.056
- Lilac #CEA2FD ΔE 0.056
- Baby Purple #CA9BF7 ΔE 0.059
- Light Violet #D6B4FC ΔE 0.064
- Light Grey Blue #9DBCD4 ΔE 0.070
Use #AFACEF 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.