#AFA9E7
Closest named color: Pale Violet (#CEAEFA). oklch(76.2% 0.088 288.6), rgb(175, 169, 231).
Aa
Black text reads best on this color (9.65:1).
About this color
#AFA9E7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.088 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.055 away. Black text reads best on it, at 9.65:1.
| Hue family | Purples |
| Lightness | medium-light (76%) |
| Chroma | moderately saturated (0.088) |
| Temperature | cool |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 9.65:1 |
| White text | 2.17:1 |
Values
| HEX | #AFA9E7 |
| RGB | rgb(175, 169, 231) |
| HSL | hsl(246, 56%, 78%) |
| OKLCH | oklch(76.2% 0.088 288.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 #AFA9E7 | 2.17:1 | Fails | Lc -47.5 | Large or bold text, headings |
| Black text on #AFA9E7 | 9.65:1 | AAA | Lc 61.2 | Content text, not long reading |
| #AFA9E7 text on white | 2.17:1 | Fails | Lc 42.8 | Non-text elements, placeholder text |
| #AFA9E7 text on black | 9.65:1 | AAA | Lc -59.4 | Large or bold text, headings |
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
#E9E8FA
oklch(93.7% 0.024 288.5)
-
Step 200
200
#D7D5F8
oklch(88.6% 0.048 288)
-
Step 300
300 (this color)
#AFA9E7
oklch(76.2% 0.088 288.6)
-
Step 400
400
#9E90F3
oklch(70.7% 0.142 288.7)
-
Step 500
500
#8871EE
oklch(63% 0.181 288.6)
-
Step 600
600
#7456DC
oklch(55.7% 0.195 288.7)
-
Step 700
700
#6145BF
oklch(49.1% 0.182 288.4)
-
Step 800
800
#4F3A9B
oklch(42.8% 0.151 288.3)
-
Step 900
900
#41337B
oklch(37.7% 0.117 288.4)
-
Step 950
950
#261E48
oklch(26.9% 0.075 289.1)
#AFA9E7 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) | #99B1EA | 0.033 |
| Deuteranopia (no green cones) | #99AEE5 | 0.031 |
| Tritanopia (no blue cones) | #A3B4BF | 0.076 |
| Achromatopsia (no color) | #B0B0B0 | 0.088 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFA9E7
#AFA9E7
oklch(76.2% 0.088 288.6)
- #B6B773
#B6B773
oklch(76.3% 0.089 109.1)
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 #AFA9E7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.055
- Pastel Blue #A2BFFE ΔE 0.058
- Carolina Blue #8AB8FE ΔE 0.059
- Baby Purple #CA9BF7 ΔE 0.060
- Pastel Purple #CAA0FF ΔE 0.060
- Lilac #CEA2FD ΔE 0.061
- Pale Purple #B790D4 ΔE 0.062
- Light Grey Blue #9DBCD4 ΔE 0.068
Use #AFA9E7 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.