#A8A5EF

Closest named color: Periwinkle Blue (#8F99FB). oklch(75.2% 0.106 285.4), rgb(168, 165, 239).

Aa

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

About this color

#A8A5EF is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.106 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.054 away. Black text reads best on it, at 9.29:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromamoderately saturated (0.106)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text9.29:1
White text2.25:1

Values

HEX#A8A5EF
RGBrgb(168, 165, 239)
HSLhsl(242, 70%, 79%)
OKLCHoklch(75.2% 0.106 285.4)

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 #A8A5EF 2.25:1 Fails Lc -49.3 Large or bold text, headings
Black text on #A8A5EF 9.29:1 AAA Lc 59.5 Large or bold text, headings
#A8A5EF text on white 2.25:1 Fails Lc 44.5 Non-text elements, placeholder text
#A8A5EF text on black 9.29:1 AAA Lc -57.6 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E8E8F7

    oklch(93.5% 0.02 286)

  3. Step 200

    200

    #D6D6F1

    oklch(88.4% 0.037 285.6)

  4. Step 300

    300

    #BCBBEA

    oklch(80.9% 0.066 285.8)

  5. Step 400

    400 (this color)

    #A8A5EF

    oklch(75.2% 0.106 285.4)

  6. Step 500

    500

    #837BD7

    oklch(63% 0.136 285.8)

  7. Step 600

    600

    #6D63C4

    oklch(55.6% 0.146 285.3)

  8. Step 700

    700

    #5B51AA

    oklch(49% 0.138 285.2)

  9. Step 800

    800

    #4B4389

    oklch(42.7% 0.112 285.8)

  10. Step 900

    900

    #3E396E

    oklch(37.7% 0.089 285.6)

  11. Step 950

    950

    #242240

    oklch(27% 0.055 285.1)

Export this scale for Tailwind in the Tailwind colors tool

#A8A5EF 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)#90AFF20.037
Deuteranopia (no green cones)#8EAAED0.036
Tritanopia (no blue cones)#97B2C00.090
Achromatopsia (no color)#ACACAC0.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #A8A5EF

    #A8A5EF

    oklch(75.2% 0.106 285.4)

  • #B8B360

    #B8B360

    oklch(75.3% 0.106 105.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A8A5EF

    #A8A5EF

    oklch(75.2% 0.106 285.4)

  • #81B1F1

    #81B1F1

    oklch(75.1% 0.106 255.9)

  • #C89ADC

    #C89ADC

    oklch(75.2% 0.105 315.4)

Open the analogous palette in the generator

Split complementary

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

  • #A8A5EF

    #A8A5EF

    oklch(75.2% 0.106 285.4)

  • #D6A55E

    #D6A55E

    oklch(75.3% 0.106 75.2)

  • #91BE7A

    #91BE7A

    oklch(75.2% 0.105 135.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A8A5EF

    #A8A5EF

    oklch(75.2% 0.106 285.4)

  • #E79975

    #E79975

    oklch(75.3% 0.106 45.5)

  • #67C49F

    #67C49F

    oklch(75.3% 0.105 165.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A8A5EF

    #A8A5EF

    oklch(75.2% 0.106 285.4)

  • #EA9399

    #EA9399

    oklch(75.4% 0.105 15.4)

  • #B8B360

    #B8B360

    oklch(75.3% 0.106 105.6)

  • #4CC3C4

    #4CC3C4

    oklch(75.2% 0.105 195.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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