#A8AFF4
Closest named color: Pastel Blue (#A2BFFE). oklch(77.4% 0.099 279.3), rgb(168, 175, 244).
Aa
Black text reads best on this color (10.10:1).
About this color
#A8AFF4 is a medium-light, moderately saturated blue. In OKLCH its lightness is 77%, its chroma 0.099 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.040 away. Black text reads best on it, at 10.10:1.
| Hue family | Blues |
| Lightness | medium-light (77%) |
| Chroma | moderately saturated (0.099) |
| Temperature | cool |
| Nearest name | Pastel Blue (#A2BFFE) |
| Black text | 10.10:1 |
| White text | 2.07:1 |
Values
| HEX | #A8AFF4 |
| RGB | rgb(168, 175, 244) |
| HSL | hsl(234, 78%, 81%) |
| OKLCH | oklch(77.4% 0.099 279.3) |
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 #A8AFF4 | 2.07:1 | Fails | Lc -45.2 | Large or bold text, headings |
| Black text on #A8AFF4 | 10.10:1 | AAA | Lc 63.4 | Content text, not long reading |
| #A8AFF4 text on white | 2.07:1 | Fails | Lc 40.6 | Non-text elements, placeholder text |
| #A8AFF4 text on black | 10.10:1 | AAA | Lc -61.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
#F3F5FF
oklch(97.2% 0.013 277.1)
-
Step 100
100
#E5E8FD
oklch(93.5% 0.029 279.4)
-
Step 200
200
#D1D6FE
oklch(88.5% 0.055 279.6)
-
Step 300
300 (this color)
#A8AFF4
oklch(77.4% 0.099 279.3)
-
Step 400
400
#8E93FF
oklch(70.6% 0.156 279.6)
-
Step 500
500
#7573FF
oklch(63% 0.202 279.5)
-
Step 600
600
#6057EE
oklch(55.6% 0.219 279.2)
-
Step 700
700
#5045CF
oklch(49% 0.204 279.3)
-
Step 800
800
#413AA8
oklch(42.7% 0.17 279.2)
-
Step 900
900
#363485
oklch(37.7% 0.132 279.1)
-
Step 950
950
#1F1F4E
oklch(26.9% 0.084 279.1)
#A8AFF4 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) | #9BB7F7 | 0.024 |
| Deuteranopia (no green cones) | #96B1F2 | 0.024 |
| Tritanopia (no blue cones) | #94BCC7 | 0.088 |
| Achromatopsia (no color) | #B4B4B4 | 0.099 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A8AFF4
#A8AFF4
oklch(77.4% 0.099 279.3)
- #C5B76A
#C5B76A
oklch(77.4% 0.099 99.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 #A8AFF4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pastel Blue #A2BFFE ΔE 0.040
- Carolina Blue #8AB8FE ΔE 0.040
- Pale Violet #CEAEFA ΔE 0.055
- Pastel Purple #CAA0FF ΔE 0.063
- Lilac #CEA2FD ΔE 0.064
- Baby Purple #CA9BF7 ΔE 0.067
- Light Grey Blue #9DBCD4 ΔE 0.068
- Light Violet #D6B4FC ΔE 0.069
Use #A8AFF4 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.