#A7AFE7

Closest named color: Pastel Blue (#A2BFFE). oklch(76.8% 0.081 278), rgb(167, 175, 231).

Aa

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

About this color

#A7AFE7 is a medium-light, moderately saturated blue. In OKLCH its lightness is 77%, its chroma 0.081 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.046 away. Black text reads best on it, at 9.92:1.

Hue familyBlues
Lightnessmedium-light (77%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text9.92:1
White text2.11:1

Values

HEX#A7AFE7
RGBrgb(167, 175, 231)
HSLhsl(233, 57%, 78%)
OKLCHoklch(76.8% 0.081 278)

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 #A7AFE7 2.11:1 Fails Lc -46.1 Large or bold text, headings
Black text on #A7AFE7 9.92:1 AAA Lc 62.5 Content text, not long reading
#A7AFE7 text on white 2.11:1 Fails Lc 41.4 Non-text elements, placeholder text
#A7AFE7 text on black 9.92:1 AAA Lc -60.8 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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E6E9FA

    oklch(93.7% 0.023 277.9)

  3. Step 200

    200

    #D2D7F7

    oklch(88.5% 0.044 278.4)

  4. Step 300

    300 (this color)

    #A7AFE7

    oklch(76.8% 0.081 278)

  5. Step 400

    400

    #8E97F0

    oklch(70.6% 0.13 278.1)

  6. Step 500

    500

    #747BEB

    oklch(63.1% 0.166 277.8)

  7. Step 600

    600

    #5F61D9

    oklch(55.6% 0.18 278.1)

  8. Step 700

    700

    #4F4FBC

    oklch(49% 0.167 278.3)

  9. Step 800

    800

    #404298

    oklch(42.7% 0.138 277.8)

  10. Step 900

    900

    #363979

    oklch(37.8% 0.107 277.9)

  11. Step 950

    950

    #1F2247

    oklch(27.1% 0.068 277.3)

Export this scale for Tailwind in the Tailwind colors tool

#A7AFE7 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)#9FB5E90.017
Deuteranopia (no green cones)#9BB0E60.016
Tritanopia (no blue cones)#97B9C20.072
Achromatopsia (no color)#B2B2B20.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #A7AFE7

    #A7AFE7

    oklch(76.8% 0.081 278)

  • #C1B578

    #C1B578

    oklch(76.9% 0.081 98.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A7AFE7

    #A7AFE7

    oklch(76.8% 0.081 278)

  • #8BB9E5

    #8BB9E5

    oklch(76.9% 0.08 247.8)

  • #C2A6DC

    #C2A6DC

    oklch(76.8% 0.081 308.1)

Open the analogous palette in the generator

Split complementary

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

  • #A7AFE7

    #A7AFE7

    oklch(76.8% 0.081 278)

  • #D6AA7B

    #D6AA7B

    oklch(76.7% 0.081 68)

  • #A5BE86

    #A5BE86

    oklch(76.8% 0.081 127.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A7AFE7

    #A7AFE7

    oklch(76.8% 0.081 278)

  • #E1A28E

    #E1A28E

    oklch(76.7% 0.081 38.3)

  • #87C4A0

    #87C4A0

    oklch(76.9% 0.082 157.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A7AFE7

    #A7AFE7

    oklch(76.8% 0.081 278)

  • #E19EAA

    #E19EAA

    oklch(76.7% 0.081 7.3)

  • #C1B578

    #C1B578

    oklch(76.9% 0.081 98.4)

  • #73C4BD

    #73C4BD

    oklch(76.7% 0.08 188.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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