#AFAEFD
Closest named color: Pale Violet (#CEAEFA). oklch(78.1% 0.112 284.1), rgb(175, 174, 253).
Aa
Black text reads best on this color (10.29:1).
About this color
#AFAEFD is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.112 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.044 away. Black text reads best on it, at 10.29:1.
| Hue family | Purples |
| Lightness | light (78%) |
| Chroma | moderately saturated (0.112) |
| Temperature | cool |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 10.29:1 |
| White text | 2.03:1 |
Values
| HEX | #AFAEFD |
| RGB | rgb(175, 174, 253) |
| HSL | hsl(241, 95%, 84%) |
| OKLCH | oklch(78.1% 0.112 284.1) |
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 #AFAEFD | 2.03:1 | Fails | Lc -44.2 | Non-text elements, placeholder text |
| Black text on #AFAEFD | 10.29:1 | AAA | Lc 64.3 | Content text, not long reading |
| #AFAEFD text on white | 2.03:1 | Fails | Lc 39.6 | Non-text elements, placeholder text |
| #AFAEFD text on black | 10.29:1 | AAA | Lc -62.7 | 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
#F4F4FF
oklch(97% 0.015 286.1)
-
Step 100
100
#E7E8FF
oklch(93.7% 0.031 283.8)
-
Step 200
200
#D4D5FF
oklch(88.6% 0.058 284.1)
-
Step 300
300 (this color)
#AFAEFD
oklch(78.1% 0.112 284.1)
-
Step 400
400
#9690FF
oklch(70.7% 0.159 284)
-
Step 500
500
#806FFF
oklch(63.2% 0.206 284.2)
-
Step 600
600
#6C48FB
oklch(55.5% 0.249 284)
-
Step 700
700
#5B37DB
oklch(49.1% 0.231 284)
-
Step 800
800
#4A30B1
oklch(42.7% 0.191 284)
-
Step 900
900
#3D2D8C
oklch(37.7% 0.15 284.3)
-
Step 950
950
#231C52
oklch(27% 0.095 284)
#AFAEFD 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) | #97B8FF | 0.037 |
| Deuteranopia (no green cones) | #94B3FB | 0.036 |
| Tritanopia (no blue cones) | #9CBCCA | 0.097 |
| Achromatopsia (no color) | #B5B5B5 | 0.112 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFAEFD
#AFAEFD
oklch(78.1% 0.112 284.1)
- #C3BB62
#C3BB62
oklch(78% 0.112 104.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 #AFAEFD, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.044
- Pastel Blue #A2BFFE ΔE 0.045
- Carolina Blue #8AB8FE ΔE 0.050
- Pastel Purple #CAA0FF ΔE 0.050
- Lilac #CEA2FD ΔE 0.051
- Baby Purple #CA9BF7 ΔE 0.057
- Light Violet #D6B4FC ΔE 0.060
- Light Periwinkle #C1C6FC ΔE 0.070
Use #AFAEFD 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.