#AFA2DC
Closest named color: Pale Purple (#B790D4). oklch(74.4% 0.084 294.6), rgb(175, 162, 220).
Aa
Black text reads best on this color (9.02:1).
About this color
#AFA2DC is a medium-light, moderately saturated purple. In OKLCH its lightness is 74%, its chroma 0.084 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.045 away. Black text reads best on it, at 9.02:1.
| Hue family | Purples |
| Lightness | medium-light (74%) |
| Chroma | moderately saturated (0.084) |
| Temperature | in between |
| Nearest name | Pale Purple (#B790D4) |
| Black text | 9.02:1 |
| White text | 2.32:1 |
Values
| HEX | #AFA2DC |
| RGB | rgb(175, 162, 220) |
| HSL | hsl(253, 45%, 75%) |
| OKLCH | oklch(74.4% 0.084 294.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 #AFA2DC | 2.32:1 | Fails | Lc -50.8 | Large or bold text, headings |
| Black text on #AFA2DC | 9.02:1 | AAA | Lc 58.1 | Large or bold text, headings |
| #AFA2DC text on white | 2.32:1 | Fails | Lc 45.9 | Large or bold text, headings |
| #AFA2DC text on black | 9.02:1 | AAA | Lc -56.2 | 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
#EAE8F3
oklch(93.6% 0.015 294.5)
-
Step 200
200
#DAD6EB
oklch(88.6% 0.029 294.5)
-
Step 300
300
#C2BBE0
oklch(81% 0.052 293.9)
-
Step 400
400 (this color)
#AFA2DC
oklch(74.4% 0.084 294.6)
-
Step 500
500
#8E7CC3
oklch(63.1% 0.106 294.8)
-
Step 600
600
#7864B0
oklch(55.6% 0.116 294.4)
-
Step 700
700
#655397
oklch(49.1% 0.107 294.3)
-
Step 800
800
#53447B
oklch(42.8% 0.09 294.9)
-
Step 900
900
#443A63
oklch(37.8% 0.069 294)
-
Step 950
950
#28223A
oklch(27.1% 0.044 294.7)
#AFA2DC 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) | #95AADE | 0.039 |
| Deuteranopia (no green cones) | #96A9DA | 0.038 |
| Tritanopia (no blue cones) | #A6ABB6 | 0.069 |
| Achromatopsia (no color) | #AAAAAA | 0.084 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFA2DC
#AFA2DC
oklch(74.4% 0.084 294.6)
- #AAB375
#AAB375
oklch(74.5% 0.084 115.2)
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 #AFA2DC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Purple #B790D4 ΔE 0.045
- Baby Purple #CA9BF7 ΔE 0.062
- Pastel Purple #CAA0FF ΔE 0.067
- Lilac #CEA2FD ΔE 0.068
- Pale Violet #CEAEFA ΔE 0.069
- Plum #DDA0DD ΔE 0.070
- Periwinkle Blue #8F99FB ΔE 0.072
- Carolina Blue #8AB8FE ΔE 0.074
Use #AFA2DC 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.