#A7AFE8

Closest named color: Pastel Blue (#A2BFFE). oklch(76.8% 0.082 278.1), rgb(167, 175, 232).

Aa

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

About this color

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

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

Values

HEX#A7AFE8
RGBrgb(167, 175, 232)
HSLhsl(233, 59%, 78%)
OKLCHoklch(76.8% 0.082 278.1)

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 #A7AFE8 2.11:1 Fails Lc -46.0 Large or bold text, headings
Black text on #A7AFE8 9.94:1 AAA Lc 62.6 Content text, not long reading
#A7AFE8 text on white 2.11:1 Fails Lc 41.4 Non-text elements, placeholder text
#A7AFE8 text on black 9.94:1 AAA Lc -60.9 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

    #D1D7F8

    oklch(88.5% 0.046 277.3)

  4. Step 300

    300 (this color)

    #A7AFE8

    oklch(76.8% 0.082 278.1)

  5. Step 400

    400

    #8E97F1

    oklch(70.7% 0.131 278.1)

  6. Step 500

    500

    #747AEC

    oklch(63% 0.168 278.1)

  7. Step 600

    600

    #5F60DB

    oklch(55.6% 0.184 278.3)

  8. Step 700

    700

    #4F4FBE

    oklch(49.2% 0.17 278.1)

  9. Step 800

    800

    #404199

    oklch(42.6% 0.14 278.1)

  10. Step 900

    900

    #36387A

    oklch(37.7% 0.11 278.4)

  11. Step 950

    950

    #1F2247

    oklch(27.1% 0.068 277.3)

Export this scale for Tailwind in the Tailwind colors tool

#A7AFE8 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)#9FB5EB0.017
Deuteranopia (no green cones)#9BB0E70.016
Tritanopia (no blue cones)#97B9C30.072
Achromatopsia (no color)#B2B2B20.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #A7AFE8

    #A7AFE8

    oklch(76.8% 0.082 278.1)

  • #C1B577

    #C1B577

    oklch(76.9% 0.082 98.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A7AFE8

    #A7AFE8

    oklch(76.8% 0.082 278.1)

  • #8AB9E6

    #8AB9E6

    oklch(76.9% 0.082 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°).

  • #A7AFE8

    #A7AFE8

    oklch(76.8% 0.082 278.1)

  • #D7AA7A

    #D7AA7A

    oklch(76.8% 0.083 67.9)

  • #A4BE86

    #A4BE86

    oklch(76.8% 0.082 128.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A7AFE8

    #A7AFE8

    oklch(76.8% 0.082 278.1)

  • #E2A28E

    #E2A28E

    oklch(76.8% 0.082 38.1)

  • #86C4A0

    #86C4A0

    oklch(76.8% 0.082 158.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A7AFE8

    #A7AFE8

    oklch(76.8% 0.082 278.1)

  • #E29EAA

    #E29EAA

    oklch(76.8% 0.082 7.5)

  • #C1B577

    #C1B577

    oklch(76.9% 0.082 98.6)

  • #72C5BD

    #72C5BD

    oklch(76.8% 0.082 187.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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