#A5AFFF

Closest named color: Carolina Blue (#8AB8FE). oklch(77.7% 0.115 277.9), rgb(165, 175, 255).

Aa

Black text reads best on this color (10.17:1).

About this color

#A5AFFF is a medium-light, moderately saturated blue. In OKLCH its lightness is 78%, its chroma 0.115 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.17:1.

Hue familyBlues
Lightnessmedium-light (78%)
Chromamoderately saturated (0.115)
Temperaturecool
Nearest nameCarolina Blue (#8AB8FE)
Black text10.17:1
White text2.06:1

Values

HEX#A5AFFF
RGBrgb(165, 175, 255)
HSLhsl(233, 100%, 82%)
OKLCHoklch(77.7% 0.115 277.9)

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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #A5AFFF 2.06:1 Fails Lc -44.8 Non-text elements, placeholder text
Black text on #A5AFFF 10.17:1 AAA Lc 63.7 Content text, not long reading
#A5AFFF text on white 2.06:1 Fails Lc 40.2 Non-text elements, placeholder text
#A5AFFF text on black 10.17:1 AAA Lc -62.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.

  1. Step 50

    50

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E4E8FF

    oklch(93.5% 0.031 277.9)

  3. Step 200

    200

    #D0D6FF

    oklch(88.5% 0.057 278.6)

  4. Step 300

    300 (this color)

    #A5AFFF

    oklch(77.7% 0.115 277.9)

  5. Step 400

    400

    #8B94FF

    oklch(70.6% 0.155 278)

  6. Step 500

    500

    #7175FF

    oklch(63.1% 0.201 277.7)

  7. Step 600

    600

    #5C4FFF

    oklch(55.6% 0.249 277.8)

  8. Step 700

    700

    #4D3BE1

    oklch(49% 0.237 278)

  9. Step 800

    800

    #3E33B6

    oklch(42.7% 0.196 277.8)

  10. Step 900

    900

    #343090

    oklch(37.8% 0.153 278)

  11. Step 950

    950

    #1E1D54

    oklch(27% 0.097 278.5)

Export this scale for Tailwind in the Tailwind colors tool

#A5AFFF 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#96B8FF0.028
Deuteranopia (no green cones)#90B1FD0.027
Tritanopia (no blue cones)#8CBECC0.100
Achromatopsia (no color)#B4B4B40.115

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #A5AFFF

    #A5AFFF

    oklch(77.7% 0.115 277.9)

  • #CAB75B

    #CAB75B

    oklch(77.7% 0.115 97.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A5AFFF

    #A5AFFF

    oklch(77.7% 0.115 277.9)

  • #79BDFC

    #79BDFC

    oklch(77.8% 0.114 247.7)

  • #CBA2EF

    #CBA2EF

    oklch(77.7% 0.115 308.2)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #A5AFFF

    #A5AFFF

    oklch(77.7% 0.115 277.9)

  • #E7A862

    #E7A862

    oklch(77.7% 0.114 67.7)

  • #A1C473

    #A1C473

    oklch(77.6% 0.114 127.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A5AFFF

    #A5AFFF

    oklch(77.7% 0.115 277.9)

  • #F59C80

    #F59C80

    oklch(77.6% 0.114 38.2)

  • #72CD9A

    #72CD9A

    oklch(77.8% 0.115 157.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A5AFFF

    #A5AFFF

    oklch(77.7% 0.115 277.9)

  • #F597A8

    #F597A8

    oklch(77.7% 0.114 8.4)

  • #CAB75B

    #CAB75B

    oklch(77.7% 0.115 97.9)

  • #49CEC4

    #49CEC4

    oklch(77.7% 0.115 188)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #A5AFFF, closest first.

No curated palette has a color within ΔE 0.04 of #A5AFFF.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #A5AFFF 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.