#A2A7EF

Closest named color: Carolina Blue (#8AB8FE). oklch(75.2% 0.103 280.5), rgb(162, 167, 239).

Aa

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

About this color

#A2A7EF is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.103 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Carolina Blue (#8AB8FE), ΔE 0.049 away. Black text reads best on it, at 9.31:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromamoderately saturated (0.103)
Temperaturecool
Nearest nameCarolina Blue (#8AB8FE)
Black text9.31:1
White text2.25:1

Values

HEX#A2A7EF
RGBrgb(162, 167, 239)
HSLhsl(236, 71%, 79%)
OKLCHoklch(75.2% 0.103 280.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #A2A7EF 2.25:1 Fails Lc -49.2 Large or bold text, headings
Black text on #A2A7EF 9.31:1 AAA Lc 59.5 Large or bold text, headings
#A2A7EF text on white 2.25:1 Fails Lc 44.4 Non-text elements, placeholder text
#A2A7EF text on black 9.31:1 AAA Lc -57.7 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E7E9F7

    oklch(93.7% 0.019 279.5)

  3. Step 200

    200

    #D4D7F1

    oklch(88.5% 0.036 280.4)

  4. Step 300

    300

    #B8BDEA

    oklch(81% 0.064 279.9)

  5. Step 400

    400 (this color)

    #A2A7EF

    oklch(75.2% 0.103 280.5)

  6. Step 500

    500

    #7B7ED7

    oklch(63% 0.132 280.4)

  7. Step 600

    600

    #6666C5

    oklch(55.7% 0.144 280.7)

  8. Step 700

    700

    #5554AA

    oklch(49.1% 0.134 280.8)

  9. Step 800

    800

    #45458A

    oklch(42.7% 0.112 280.6)

  10. Step 900

    900

    #3A3B6E

    oklch(37.8% 0.086 280.6)

  11. Step 950

    950

    #222340

    oklch(27.1% 0.053 280.7)

Export this scale for Tailwind in the Tailwind colors tool

#A2A7EF 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)#91AFF20.028
Deuteranopia (no green cones)#8EAAED0.027
Tritanopia (no blue cones)#8EB4C10.090
Achromatopsia (no color)#ADADAD0.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #A2A7EF

    #A2A7EF

    oklch(75.2% 0.103 280.5)

  • #BDB05F

    #BDB05F

    oklch(75.1% 0.104 100.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A2A7EF

    #A2A7EF

    oklch(75.2% 0.103 280.5)

  • #7BB3EE

    #7BB3EE

    oklch(75.1% 0.104 250.6)

  • #C39CDF

    #C39CDF

    oklch(75.2% 0.103 310.6)

Open the analogous palette in the generator

Split complementary

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

  • #A2A7EF

    #A2A7EF

    oklch(75.2% 0.103 280.5)

  • #D8A362

    #D8A362

    oklch(75.1% 0.104 70.8)

  • #98BC75

    #98BC75

    oklch(75.2% 0.104 130.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A2A7EF

    #A2A7EF

    oklch(75.2% 0.103 280.5)

  • #E7987C

    #E7987C

    oklch(75.2% 0.103 40.3)

  • #6FC399

    #6FC399

    oklch(75.2% 0.103 160.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A2A7EF

    #A2A7EF

    oklch(75.2% 0.103 280.5)

  • #E8939F

    #E8939F

    oklch(75.3% 0.103 10.7)

  • #BDB05F

    #BDB05F

    oklch(75.1% 0.104 100.3)

  • #51C3BD

    #51C3BD

    oklch(75.1% 0.103 190.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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