#A5A2FF

Closest named color: Periwinkle Blue (#8F99FB). oklch(75.2% 0.132 284.2), rgb(165, 162, 255).

Aa

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

About this color

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

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

Values

HEX#A5A2FF
RGBrgb(165, 162, 255)
HSLhsl(242, 100%, 82%)
OKLCHoklch(75.2% 0.132 284.2)

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 #A5A2FF 2.27:1 Fails Lc -49.7 Large or bold text, headings
Black text on #A5A2FF 9.21:1 AAA Lc 59.1 Large or bold text, headings
#A5A2FF text on white 2.27:1 Fails Lc 44.9 Non-text elements, placeholder text
#A5A2FF text on black 9.21:1 AAA Lc -57.2 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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E7E8FA

    oklch(93.6% 0.024 283.4)

  3. Step 200

    200

    #D5D6F7

    oklch(88.6% 0.045 284.1)

  4. Step 300

    300

    #BABAF5

    oklch(81% 0.083 284.4)

  5. Step 400

    400 (this color)

    #A5A2FF

    oklch(75.2% 0.132 284.2)

  6. Step 500

    500

    #8076EA

    oklch(63% 0.169 284.3)

  7. Step 600

    600

    #6B5CD9

    oklch(55.6% 0.184 284.1)

  8. Step 700

    700

    #5A4BBC

    oklch(49.2% 0.171 284.2)

  9. Step 800

    800

    #493E98

    oklch(42.7% 0.142 284.2)

  10. Step 900

    900

    #3C3679

    oklch(37.7% 0.11 283.8)

  11. Step 950

    950

    #232047

    oklch(27% 0.07 284.1)

Export this scale for Tailwind in the Tailwind colors tool

#A5A2FF 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)#85AFFF0.049
Deuteranopia (no green cones)#81A9FD0.047
Tritanopia (no blue cones)#8DB4C50.114
Achromatopsia (no color)#ACACAC0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #A5A2FF

    #A5A2FF

    oklch(75.2% 0.132 284.2)

  • #BCB242

    #BCB242

    oklch(75.1% 0.132 104.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A5A2FF

    #A5A2FF

    oklch(75.2% 0.132 284.2)

  • #72B2FF

    #72B2FF

    oklch(75.2% 0.13 253.9)

  • #CD94E9

    #CD94E9

    oklch(75.2% 0.133 314.1)

Open the analogous palette in the generator

Split complementary

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

  • #A5A2FF

    #A5A2FF

    oklch(75.2% 0.132 284.2)

  • #E0A141

    #E0A141

    oklch(75.3% 0.133 74.4)

  • #8BC168

    #8BC168

    oklch(75.3% 0.132 134.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A5A2FF

    #A5A2FF

    oklch(75.2% 0.132 284.2)

  • #F39166

    #F39166

    oklch(75.1% 0.132 44)

  • #4BC998

    #4BC998

    oklch(75.3% 0.133 163.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A5A2FF

    #A5A2FF

    oklch(75.2% 0.132 284.2)

  • #F68995

    #F68995

    oklch(75.1% 0.133 13.8)

  • #BCB242

    #BCB242

    oklch(75.1% 0.132 104.2)

  • #00C7C6

    #00C7C6

    oklch(75.1% 0.128 194.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #A5A2FF.

Similar named colors

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

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