#AFA7E1
Closest named color: Pale Purple (#B790D4). oklch(75.6% 0.083 290.6), rgb(175, 167, 225).
Aa
Black text reads best on this color (9.43:1).
About this color
#AFA7E1 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.083 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.057 away. Black text reads best on it, at 9.43:1.
| Hue family | Purples |
| Lightness | medium-light (76%) |
| Chroma | moderately saturated (0.083) |
| Temperature | in between |
| Nearest name | Pale Purple (#B790D4) |
| Black text | 9.43:1 |
| White text | 2.22:1 |
Values
| HEX | #AFA7E1 |
| RGB | rgb(175, 167, 225) |
| HSL | hsl(248, 49%, 77%) |
| OKLCH | oklch(75.6% 0.083 290.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 #AFA7E1 | 2.22:1 | Fails | Lc -48.6 | Large or bold text, headings |
| Black text on #AFA7E1 | 9.43:1 | AAA | Lc 60.1 | Content text, not long reading |
| #AFA7E1 text on white | 2.22:1 | Fails | Lc 43.8 | Non-text elements, placeholder text |
| #AFA7E1 text on black | 9.43:1 | AAA | Lc -58.3 | 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 400.
-
Step 50
50
#F5F5FA
oklch(97.2% 0.007 286.3)
-
Step 100
100
#E9E8F3
oklch(93.5% 0.015 290.3)
-
Step 200
200
#D8D6EB
oklch(88.4% 0.029 290.2)
-
Step 300
300
#C0BBE0
oklch(80.8% 0.052 291.4)
-
Step 400
400 (this color)
#AFA7E1
oklch(75.6% 0.083 290.6)
-
Step 500
500
#897EC5
oklch(63.2% 0.106 290.1)
-
Step 600
600
#7466B1
oklch(55.6% 0.114 290.8)
-
Step 700
700
#615498
oklch(49% 0.107 290.7)
-
Step 800
800
#4F457C
oklch(42.7% 0.09 290.4)
-
Step 900
900
#423B63
oklch(37.8% 0.067 290.8)
-
Step 950
950
#26223A
oklch(26.8% 0.044 290.8)
#AFA7E1 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) | #99AFE3 | 0.034 |
| Deuteranopia (no green cones) | #99ADDF | 0.033 |
| Tritanopia (no blue cones) | #A5B1BB | 0.071 |
| Achromatopsia (no color) | #AEAEAE | 0.083 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFA7E1
#AFA7E1
oklch(75.6% 0.083 290.6)
- #B2B577
#B2B577
oklch(75.6% 0.083 110.6)
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 #AFA7E1, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Purple #B790D4 ΔE 0.057
- Pale Violet #CEAEFA ΔE 0.061
- Baby Purple #CA9BF7 ΔE 0.063
- Carolina Blue #8AB8FE ΔE 0.064
- Pastel Purple #CAA0FF ΔE 0.065
- Pastel Blue #A2BFFE ΔE 0.065
- Lilac #CEA2FD ΔE 0.065
- Light Grey Blue #9DBCD4 ΔE 0.068
Use #AFA7E1 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.