#AFA9ED
Closest named color: Pale Violet (#CEAEFA). oklch(76.5% 0.097 287.9), rgb(175, 169, 237).
Aa
Black text reads best on this color (9.72:1).
About this color
#AFA9ED is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.097 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.051 away. Black text reads best on it, at 9.72:1.
| Hue family | Purples |
| Lightness | medium-light (76%) |
| Chroma | moderately saturated (0.097) |
| Temperature | cool |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 9.72:1 |
| White text | 2.16:1 |
Values
| HEX | #AFA9ED |
| RGB | rgb(175, 169, 237) |
| HSL | hsl(245, 65%, 80%) |
| OKLCH | oklch(76.5% 0.097 287.9) |
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 #AFA9ED | 2.16:1 | Fails | Lc -47.1 | Large or bold text, headings |
| Black text on #AFA9ED | 9.72:1 | AAA | Lc 61.5 | Content text, not long reading |
| #AFA9ED text on white | 2.16:1 | Fails | Lc 42.4 | Non-text elements, placeholder text |
| #AFA9ED text on black | 9.72:1 | AAA | Lc -59.8 | 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
#F5F4FE
oklch(97.1% 0.013 290.8)
-
Step 100
100
#E8E7FC
oklch(93.5% 0.028 288)
-
Step 200
200
#D7D4FB
oklch(88.5% 0.053 288.8)
-
Step 300
300 (this color)
#AFA9ED
oklch(76.5% 0.097 287.9)
-
Step 400
400
#9D8EFA
oklch(70.6% 0.155 288.1)
-
Step 500
500
#876EF8
oklch(63.1% 0.198 287.7)
-
Step 600
600
#7351E7
oklch(55.7% 0.215 287.7)
-
Step 700
700
#6140C8
oklch(49.1% 0.199 287.9)
-
Step 800
800
#4F36A2
oklch(42.7% 0.165 287.9)
-
Step 900
900
#413181
oklch(37.8% 0.129 287.8)
-
Step 950
950
#261D4B
oklch(26.9% 0.082 288.7)
#AFA9ED 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) | #97B2F0 | 0.036 |
| Deuteranopia (no green cones) | #96AFEB | 0.036 |
| Tritanopia (no blue cones) | #A1B5C1 | 0.083 |
| Achromatopsia (no color) | #B0B0B0 | 0.097 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFA9ED
#AFA9ED
oklch(76.5% 0.097 287.9)
- #B8B76D
#B8B76D
oklch(76.4% 0.096 107.8)
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 #AFA9ED, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.051
- Pastel Purple #CAA0FF ΔE 0.054
- Baby Purple #CA9BF7 ΔE 0.055
- Lilac #CEA2FD ΔE 0.055
- Pastel Blue #A2BFFE ΔE 0.056
- Carolina Blue #8AB8FE ΔE 0.056
- Pale Purple #B790D4 ΔE 0.064
- Light Violet #D6B4FC ΔE 0.068
Use #AFA9ED 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.