#AFAFFE
Closest named color: Pastel Blue (#A2BFFE). oklch(78.4% 0.112 283.5), rgb(175, 175, 254).
Aa
Black text reads best on this color (10.38:1).
About this color
#AFAFFE 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 Pastel Blue (#A2BFFE), ΔE 0.043 away. Black text reads best on it, at 10.38:1.
| Hue family | Purples |
| Lightness | light (78%) |
| Chroma | moderately saturated (0.112) |
| Temperature | cool |
| Nearest name | Pastel Blue (#A2BFFE) |
| Black text | 10.38:1 |
| White text | 2.02:1 |
Values
| HEX | #AFAFFE |
| RGB | rgb(175, 175, 254) |
| HSL | hsl(240, 98%, 84%) |
| OKLCH | oklch(78.4% 0.112 283.5) |
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 #AFAFFE | 2.02:1 | Fails | Lc -43.7 | Non-text elements, placeholder text |
| Black text on #AFAFFE | 10.38:1 | AAA | Lc 64.7 | Content text, not long reading |
| #AFAFFE text on white | 2.02:1 | Fails | Lc 39.2 | Non-text elements, placeholder text |
| #AFAFFE text on black | 10.38:1 | AAA | Lc -63.1 | 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
#E6E8FF
oklch(93.6% 0.031 281.8)
-
Step 200
200
#D3D5FF
oklch(88.5% 0.058 283)
-
Step 300
300 (this color)
#AFAFFE
oklch(78.4% 0.112 283.5)
-
Step 400
400
#9590FF
oklch(70.6% 0.159 283.6)
-
Step 500
500
#7E6FFF
oklch(63% 0.206 283.5)
-
Step 600
600
#6B49FB
oklch(55.5% 0.248 283.6)
-
Step 700
700
#5A38DB
oklch(49.1% 0.23 283.5)
-
Step 800
800
#4930B1
oklch(42.6% 0.192 283.6)
-
Step 900
900
#3C2E8C
oklch(37.8% 0.149 283.5)
-
Step 950
950
#231C52
oklch(27% 0.095 284)
#AFAFFE 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) | #98B9FF | 0.036 |
| Deuteranopia (no green cones) | #95B4FC | 0.035 |
| Tritanopia (no blue cones) | #9BBDCB | 0.097 |
| Achromatopsia (no color) | #B6B6B6 | 0.112 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFAFFE
#AFAFFE
oklch(78.4% 0.112 283.5)
- #C5BC63
#C5BC63
oklch(78.4% 0.112 103.5)
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 #AFAFFE, closest first.
No curated palette has a color within ΔE 0.04 of #AFAFFE.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pastel Blue #A2BFFE ΔE 0.043
- Pale Violet #CEAEFA ΔE 0.044
- Carolina Blue #8AB8FE ΔE 0.049
- Pastel Purple #CAA0FF ΔE 0.051
- Lilac #CEA2FD ΔE 0.052
- Baby Purple #CA9BF7 ΔE 0.058
- Light Violet #D6B4FC ΔE 0.059
- Light Periwinkle #C1C6FC ΔE 0.068
Use #AFAFFE 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.