#A6A2EF

Closest named color: Periwinkle Blue (#8F99FB). oklch(74.5% 0.11 285.8), rgb(166, 162, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromamoderately saturated (0.110)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text9.03:1
White text2.32:1

Values

HEX#A6A2EF
RGBrgb(166, 162, 239)
HSLhsl(243, 71%, 79%)
OKLCHoklch(74.5% 0.11 285.8)

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 #A6A2EF 2.32:1 Fails Lc -50.7 Large or bold text, headings
Black text on #A6A2EF 9.03:1 AAA Lc 58.2 Large or bold text, headings
#A6A2EF text on white 2.32:1 Fails Lc 45.8 Large or bold text, headings
#A6A2EF text on black 9.03:1 AAA Lc -56.3 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

    #F5F5FC

    oklch(97.2% 0.009 286.2)

  2. Step 100

    100

    #E8E8F7

    oklch(93.5% 0.02 286)

  3. Step 200

    200

    #D6D6F2

    oklch(88.5% 0.038 285.6)

  4. Step 300

    300

    #BCBBEC

    oklch(80.9% 0.069 285.7)

  5. Step 400

    400 (this color)

    #A6A2EF

    oklch(74.5% 0.11 285.8)

  6. Step 500

    500

    #837ADA

    oklch(63% 0.141 285.9)

  7. Step 600

    600

    #6E61C7

    oklch(55.5% 0.153 286.1)

  8. Step 700

    700

    #5C50AC

    oklch(49.1% 0.142 285.9)

  9. Step 800

    800

    #4B428C

    oklch(42.7% 0.118 285.8)

  10. Step 900

    900

    #3E3970

    oklch(37.8% 0.092 285.3)

  11. Step 950

    950

    #242141

    oklch(26.9% 0.058 286)

Export this scale for Tailwind in the Tailwind colors tool

#A6A2EF 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)#8CACF20.039
Deuteranopia (no green cones)#8AA8ED0.039
Tritanopia (no blue cones)#94B0BE0.095
Achromatopsia (no color)#AAAAAA0.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #A6A2EF

    #A6A2EF

    oklch(74.5% 0.11 285.8)

  • #B6B159

    #B6B159

    oklch(74.6% 0.111 105.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A6A2EF

    #A6A2EF

    oklch(74.5% 0.11 285.8)

  • #7DAFF1

    #7DAFF1

    oklch(74.5% 0.11 255.7)

  • #C797DC

    #C797DC

    oklch(74.5% 0.11 315.3)

Open the analogous palette in the generator

Split complementary

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

  • #A6A2EF

    #A6A2EF

    oklch(74.5% 0.11 285.8)

  • #D4A257

    #D4A257

    oklch(74.4% 0.11 75.8)

  • #8DBC75

    #8DBC75

    oklch(74.4% 0.11 135.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A6A2EF

    #A6A2EF

    oklch(74.5% 0.11 285.8)

  • #E69670

    #E69670

    oklch(74.5% 0.11 46)

  • #5FC29C

    #5FC29C

    oklch(74.4% 0.11 166)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A6A2EF

    #A6A2EF

    oklch(74.5% 0.11 285.8)

  • #E98F95

    #E98F95

    oklch(74.5% 0.109 15.7)

  • #B6B159

    #B6B159

    oklch(74.6% 0.111 105.9)

  • #40C2C3

    #40C2C3

    oklch(74.6% 0.11 195.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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