#A8A5EC

Closest named color: Periwinkle Blue (#8F99FB). oklch(75.1% 0.101 285.6), rgb(168, 165, 236).

Aa

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

About this color

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

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

Values

HEX#A8A5EC
RGBrgb(168, 165, 236)
HSLhsl(243, 65%, 79%)
OKLCHoklch(75.1% 0.101 285.6)

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 #A8A5EC 2.26:1 Fails Lc -49.5 Large or bold text, headings
Black text on #A8A5EC 9.25:1 AAA Lc 59.3 Large or bold text, headings
#A8A5EC text on white 2.26:1 Fails Lc 44.7 Non-text elements, placeholder text
#A8A5EC text on black 9.25:1 AAA Lc -57.4 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

    #E8E8F6

    oklch(93.5% 0.019 286)

  3. Step 200

    200

    #D6D6F0

    oklch(88.4% 0.036 285.7)

  4. Step 300

    300

    #BCBBE9

    oklch(80.8% 0.065 285.9)

  5. Step 400

    400 (this color)

    #A8A5EC

    oklch(75.1% 0.101 285.6)

  6. Step 500

    500

    #837CD4

    oklch(63.1% 0.13 285.7)

  7. Step 600

    600

    #6D64C1

    oklch(55.6% 0.14 285.3)

  8. Step 700

    700

    #5C52A7

    oklch(49.1% 0.132 285.8)

  9. Step 800

    800

    #4B4487

    oklch(42.8% 0.108 285.6)

  10. Step 900

    900

    #3E3A6C

    oklch(37.8% 0.084 285.3)

  11. Step 950

    950

    #24223F

    oklch(27% 0.053 285.4)

Export this scale for Tailwind in the Tailwind colors tool

#A8A5EC 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)#91AEEF0.035
Deuteranopia (no green cones)#8FAAEA0.034
Tritanopia (no blue cones)#98B2BE0.089
Achromatopsia (no color)#ACACAC0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #A8A5EC

    #A8A5EC

    oklch(75.1% 0.101 285.6)

  • #B7B263

    #B7B263

    oklch(75% 0.101 105.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A8A5EC

    #A8A5EC

    oklch(75.1% 0.101 285.6)

  • #83B1EE

    #83B1EE

    oklch(75.1% 0.101 255.7)

  • #C79BDA

    #C79BDA

    oklch(75.2% 0.1 315.5)

Open the analogous palette in the generator

Split complementary

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

  • #A8A5EC

    #A8A5EC

    oklch(75.1% 0.101 285.6)

  • #D3A562

    #D3A562

    oklch(75% 0.101 75.6)

  • #92BD7C

    #92BD7C

    oklch(75.1% 0.101 135.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A8A5EC

    #A8A5EC

    oklch(75.1% 0.101 285.6)

  • #E49A77

    #E49A77

    oklch(75.1% 0.101 46.1)

  • #6AC39F

    #6AC39F

    oklch(75.1% 0.102 165.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A8A5EC

    #A8A5EC

    oklch(75.1% 0.101 285.6)

  • #E79399

    #E79399

    oklch(75% 0.102 15.2)

  • #B7B263

    #B7B263

    oklch(75% 0.101 105.4)

  • #52C2C3

    #52C2C3

    oklch(75.1% 0.101 196)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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