#A2A7EC

Closest named color: Carolina Blue (#8AB8FE). oklch(75% 0.099 280.5), rgb(162, 167, 236).

Aa

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

About this color

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

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

Values

HEX#A2A7EC
RGBrgb(162, 167, 236)
HSLhsl(236, 66%, 78%)
OKLCHoklch(75% 0.099 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 #A2A7EC 2.26:1 Fails Lc -49.4 Large or bold text, headings
Black text on #A2A7EC 9.27:1 AAA Lc 59.4 Large or bold text, headings
#A2A7EC text on white 2.26:1 Fails Lc 44.6 Non-text elements, placeholder text
#A2A7EC text on black 9.27:1 AAA Lc -57.5 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

    #E7E9F6

    oklch(93.6% 0.018 279.1)

  3. Step 200

    200

    #D4D7F0

    oklch(88.5% 0.034 280.2)

  4. Step 300

    300

    #B8BDE9

    oklch(80.9% 0.062 279.8)

  5. Step 400

    400 (this color)

    #A2A7EC

    oklch(75% 0.099 280.5)

  6. Step 500

    500

    #7C7FD4

    oklch(63.1% 0.127 280.6)

  7. Step 600

    600

    #6667C1

    oklch(55.6% 0.137 280.5)

  8. Step 700

    700

    #5555A7

    oklch(49.1% 0.128 280.6)

  9. Step 800

    800

    #454687

    oklch(42.7% 0.106 280.3)

  10. Step 900

    900

    #3A3B6C

    oklch(37.6% 0.083 280.8)

  11. Step 950

    950

    #22233F

    oklch(27% 0.052 280.8)

Export this scale for Tailwind in the Tailwind colors tool

#A2A7EC 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)#93AFEF0.026
Deuteranopia (no green cones)#8FAAEA0.026
Tritanopia (no blue cones)#8FB4BF0.088
Achromatopsia (no color)#ACACAC0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #A2A7EC

    #A2A7EC

    oklch(75% 0.099 280.5)

  • #BCB063

    #BCB063

    oklch(75.1% 0.099 100.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A2A7EC

    #A2A7EC

    oklch(75% 0.099 280.5)

  • #7DB3EB

    #7DB3EB

    oklch(75.1% 0.099 250.1)

  • #C29CDD

    #C29CDD

    oklch(75% 0.1 310.7)

Open the analogous palette in the generator

Split complementary

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

  • #A2A7EC

    #A2A7EC

    oklch(75% 0.099 280.5)

  • #D6A366

    #D6A366

    oklch(75% 0.099 70.3)

  • #99BB78

    #99BB78

    oklch(75% 0.099 130.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A2A7EC

    #A2A7EC

    oklch(75% 0.099 280.5)

  • #E4997D

    #E4997D

    oklch(75.1% 0.099 41.3)

  • #72C299

    #72C299

    oklch(75.1% 0.1 160.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A2A7EC

    #A2A7EC

    oklch(75% 0.099 280.5)

  • #E5939F

    #E5939F

    oklch(74.9% 0.1 10.2)

  • #BCB063

    #BCB063

    oklch(75.1% 0.099 100.6)

  • #56C2BC

    #56C2BC

    oklch(75% 0.099 190.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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