#A6AFFF
Closest named color: Carolina Blue (#8AB8FE). oklch(77.8% 0.114 278.5), rgb(166, 175, 255).
Aa
Black text reads best on this color (10.19:1).
About this color
#A6AFFF is a medium-light, moderately saturated blue. In OKLCH its lightness is 78%, its chroma 0.114 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Carolina Blue (#8AB8FE), ΔE 0.039 away. Black text reads best on it, at 10.19:1.
| Hue family | Blues |
| Lightness | medium-light (78%) |
| Chroma | moderately saturated (0.114) |
| Temperature | cool |
| Nearest name | Carolina Blue (#8AB8FE) |
| Black text | 10.19:1 |
| White text | 2.05:1 |
Values
| HEX | #A6AFFF |
| RGB | rgb(166, 175, 255) |
| HSL | hsl(234, 100%, 83%) |
| OKLCH | oklch(77.8% 0.114 278.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 #A6AFFF | 2.05:1 | Fails | Lc -44.7 | Non-text elements, placeholder text |
| Black text on #A6AFFF | 10.19:1 | AAA | Lc 63.8 | Content text, not long reading |
| #A6AFFF text on white | 2.05:1 | Fails | Lc 40.1 | Non-text elements, placeholder text |
| #A6AFFF text on black | 10.19:1 | AAA | Lc -62.2 | 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
#D0D6FF
oklch(88.5% 0.057 278.6)
-
Step 300
300 (this color)
#A6AFFF
oklch(77.8% 0.114 278.5)
-
Step 400
400
#8C94FF
oklch(70.7% 0.155 278.4)
-
Step 500
500
#7374FF
oklch(63.1% 0.202 278.6)
-
Step 600
600
#5E4EFF
oklch(55.6% 0.25 278.5)
-
Step 700
700
#4E3BE1
oklch(49.1% 0.236 278.3)
-
Step 800
800
#3F33B6
oklch(42.7% 0.196 278.2)
-
Step 900
900
#342F8F
oklch(37.6% 0.153 278.4)
-
Step 950
950
#1E1D54
oklch(27% 0.097 278.5)
#A6AFFF 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.029 |
| Deuteranopia (no green cones) | #91B2FD | 0.027 |
| Tritanopia (no blue cones) | #8DBECC | 0.100 |
| Achromatopsia (no color) | #B5B5B5 | 0.115 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A6AFFF
#A6AFFF
oklch(77.8% 0.114 278.5)
- #C9B85C
#C9B85C
oklch(77.8% 0.115 99)
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 #A6AFFF, closest first.
No curated palette has a color within ΔE 0.04 of #A6AFFF.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Carolina Blue #8AB8FE ΔE 0.039
- Pastel Blue #A2BFFE ΔE 0.042
- Pale Violet #CEAEFA ΔE 0.056
- Pastel Purple #CAA0FF ΔE 0.060
- Lilac #CEA2FD ΔE 0.062
- Baby Purple #CA9BF7 ΔE 0.066
- Periwinkle Blue #8F99FB ΔE 0.067
- Light Violet #D6B4FC ΔE 0.070
Use #A6AFFF 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.