#A8AFFF
Closest named color: Carolina Blue (#8AB8FE). oklch(77.9% 0.114 279.5), rgb(168, 175, 255).
Aa
Black text reads best on this color (10.24:1).
About this color
#A8AFFF is a medium-light, moderately saturated blue. In OKLCH its lightness is 78%, its chroma 0.114 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Carolina Blue (#8AB8FE), ΔE 0.041 away. Black text reads best on it, at 10.24:1.
| Hue family | Blues |
| Lightness | medium-light (78%) |
| Chroma | moderately saturated (0.114) |
| Temperature | cool |
| Nearest name | Carolina Blue (#8AB8FE) |
| Black text | 10.24:1 |
| White text | 2.05:1 |
Values
| HEX | #A8AFFF |
| RGB | rgb(168, 175, 255) |
| HSL | hsl(235, 100%, 83%) |
| OKLCH | oklch(77.9% 0.114 279.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 #A8AFFF | 2.05:1 | Fails | Lc -44.4 | Non-text elements, placeholder text |
| Black text on #A8AFFF | 10.24:1 | AAA | Lc 64.0 | Content text, not long reading |
| #A8AFFF text on white | 2.05:1 | Fails | Lc 39.9 | Non-text elements, placeholder text |
| #A8AFFF text on black | 10.24:1 | AAA | Lc -62.4 | 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
#E5E8FF
oklch(93.6% 0.031 279.9)
-
Step 200
200
#D1D6FF
oklch(88.5% 0.057 279.7)
-
Step 300
300 (this color)
#A8AFFF
oklch(77.9% 0.114 279.5)
-
Step 400
400
#8E93FF
oklch(70.6% 0.156 279.6)
-
Step 500
500
#7573FF
oklch(63% 0.202 279.5)
-
Step 600
600
#614DFF
oklch(55.7% 0.25 279.6)
-
Step 700
700
#513AE0
oklch(49.1% 0.236 279.5)
-
Step 800
800
#4232B5
oklch(42.7% 0.195 279.7)
-
Step 900
900
#362F8F
oklch(37.7% 0.152 279.4)
-
Step 950
950
#1F1D54
oklch(27.1% 0.097 279.3)
#A8AFFF 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) | #96B8FF | 0.030 |
| Deuteranopia (no green cones) | #91B2FD | 0.030 |
| Tritanopia (no blue cones) | #90BECC | 0.100 |
| Achromatopsia (no color) | #B5B5B5 | 0.114 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A8AFFF
#A8AFFF
oklch(77.9% 0.114 279.5)
- #C9B95D
#C9B95D
oklch(78% 0.115 99.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 #A8AFFF, closest first.
No curated palette has a color within ΔE 0.04 of #A8AFFF.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Carolina Blue #8AB8FE ΔE 0.041
- Pastel Blue #A2BFFE ΔE 0.042
- Pale Violet #CEAEFA ΔE 0.053
- Pastel Purple #CAA0FF ΔE 0.058
- Lilac #CEA2FD ΔE 0.060
- Baby Purple #CA9BF7 ΔE 0.064
- Light Violet #D6B4FC ΔE 0.068
- Periwinkle Blue #8F99FB ΔE 0.069
Use #A8AFFF 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.