#A5AFFD
Closest named color: Carolina Blue (#8AB8FE). oklch(77.6% 0.112 277.8), rgb(165, 175, 253).
Aa
Black text reads best on this color (10.15:1).
About this color
#A5AFFD is a medium-light, moderately saturated blue. In OKLCH its lightness is 78%, its chroma 0.112 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Carolina Blue (#8AB8FE), ΔE 0.038 away. Black text reads best on it, at 10.15:1.
| Hue family | Blues |
| Lightness | medium-light (78%) |
| Chroma | moderately saturated (0.112) |
| Temperature | cool |
| Nearest name | Carolina Blue (#8AB8FE) |
| Black text | 10.15:1 |
| White text | 2.06:1 |
Values
| HEX | #A5AFFD |
| RGB | rgb(165, 175, 253) |
| HSL | hsl(233, 96%, 82%) |
| OKLCH | oklch(77.6% 0.112 277.8) |
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 #A5AFFD | 2.06:1 | Fails | Lc -44.9 | Non-text elements, placeholder text |
| Black text on #A5AFFD | 10.15:1 | AAA | Lc 63.6 | Content text, not long reading |
| #A5AFFD text on white | 2.06:1 | Fails | Lc 40.3 | Non-text elements, placeholder text |
| #A5AFFD text on black | 10.15:1 | AAA | Lc -62.0 | 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
#E4E8FF
oklch(93.5% 0.031 277.9)
-
Step 200
200
#D0D6FF
oklch(88.5% 0.057 278.6)
-
Step 300
300 (this color)
#A5AFFD
oklch(77.6% 0.112 277.8)
-
Step 400
400
#8B94FF
oklch(70.6% 0.155 278)
-
Step 500
500
#7175FF
oklch(63.1% 0.201 277.7)
-
Step 600
600
#5C4FFF
oklch(55.6% 0.249 277.8)
-
Step 700
700
#4D3EDE
oklch(49.1% 0.23 277.9)
-
Step 800
800
#3E35B4
oklch(42.8% 0.192 277.7)
-
Step 900
900
#34318E
oklch(37.8% 0.149 278)
-
Step 950
950
#1E1E53
oklch(27.1% 0.094 278.1)
#A5AFFD 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.027 |
| Deuteranopia (no green cones) | #91B1FB | 0.026 |
| Tritanopia (no blue cones) | #8CBECB | 0.099 |
| Achromatopsia (no color) | #B4B4B4 | 0.112 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A5AFFD
#A5AFFD
oklch(77.6% 0.112 277.8)
- #C9B75E
#C9B75E
oklch(77.6% 0.112 98.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 #A5AFFD, closest first.
No curated palette has a color within ΔE 0.04 of #A5AFFD.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Carolina Blue #8AB8FE ΔE 0.038
- Pastel Blue #A2BFFE ΔE 0.041
- Pale Violet #CEAEFA ΔE 0.057
- Pastel Purple #CAA0FF ΔE 0.062
- Lilac #CEA2FD ΔE 0.064
- Periwinkle Blue #8F99FB ΔE 0.067
- Baby Purple #CA9BF7 ΔE 0.067
- Light Violet #D6B4FC ΔE 0.072
Use #A5AFFD 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.