#A5A7EA

Closest named color: Carolina Blue (#8AB8FE). oklch(75.2% 0.096 282.5), rgb(165, 167, 234).

Aa

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

About this color

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

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

Values

HEX#A5A7EA
RGBrgb(165, 167, 234)
HSLhsl(238, 62%, 78%)
OKLCHoklch(75.2% 0.096 282.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 #A5A7EA 2.25:1 Fails Lc -49.2 Large or bold text, headings
Black text on #A5A7EA 9.31:1 AAA Lc 59.6 Large or bold text, headings
#A5A7EA text on white 2.25:1 Fails Lc 44.4 Non-text elements, placeholder text
#A5A7EA 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

    #E8E9F6

    oklch(93.7% 0.018 282.5)

  3. Step 200

    200

    #D5D7EF

    oklch(88.5% 0.033 281.9)

  4. Step 300

    300

    #BABCE7

    oklch(80.8% 0.06 282.9)

  5. Step 400

    400 (this color)

    #A5A7EA

    oklch(75.2% 0.096 282.5)

  6. Step 500

    500

    #7F7FD1

    oklch(63.2% 0.122 282.3)

  7. Step 600

    600

    #6966BE

    oklch(55.5% 0.134 282.7)

  8. Step 700

    700

    #5855A4

    oklch(49.2% 0.123 282.6)

  9. Step 800

    800

    #484685

    oklch(42.8% 0.102 282.6)

  10. Step 900

    900

    #3C3B6B

    oklch(37.7% 0.081 282.8)

  11. Step 950

    950

    #23233E

    oklch(27% 0.05 282.6)

Export this scale for Tailwind in the Tailwind colors tool

#A5A7EA 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)#94AFED0.028
Deuteranopia (no green cones)#91AAE80.027
Tritanopia (no blue cones)#94B3BF0.083
Achromatopsia (no color)#ADADAD0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #A5A7EA

    #A5A7EA

    oklch(75.2% 0.096 282.5)

  • #BAB167

    #BAB167

    oklch(75.1% 0.096 102.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A5A7EA

    #A5A7EA

    oklch(75.2% 0.096 282.5)

  • #82B2EA

    #82B2EA

    oklch(75.1% 0.096 252.8)

  • #C39DDA

    #C39DDA

    oklch(75.1% 0.095 312.4)

Open the analogous palette in the generator

Split complementary

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

  • #A5A7EA

    #A5A7EA

    oklch(75.2% 0.096 282.5)

  • #D4A568

    #D4A568

    oklch(75.2% 0.096 72.7)

  • #97BC7C

    #97BC7C

    oklch(75.2% 0.097 132.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A5A7EA

    #A5A7EA

    oklch(75.2% 0.096 282.5)

  • #E39A7E

    #E39A7E

    oklch(75.2% 0.097 41.8)

  • #73C29C

    #73C29C

    oklch(75.2% 0.096 162)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A5A7EA

    #A5A7EA

    oklch(75.2% 0.096 282.5)

  • #E4959E

    #E4959E

    oklch(75.1% 0.096 12.2)

  • #BAB167

    #BAB167

    oklch(75.1% 0.096 102.3)

  • #5AC2BF

    #5AC2BF

    oklch(75.2% 0.096 192.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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