#AFA1E5

Closest named color: Pale Purple (#B790D4). oklch(74.6% 0.098 293.3), rgb(175, 161, 229).

Aa

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

About this color

#AFA1E5 is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.098 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.044 away. Black text reads best on it, at 9.05:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text9.05:1
White text2.31:1

Values

HEX#AFA1E5
RGBrgb(175, 161, 229)
HSLhsl(252, 57%, 76%)
OKLCHoklch(74.6% 0.098 293.3)

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 #AFA1E5 2.31:1 Fails Lc -50.6 Large or bold text, headings
Black text on #AFA1E5 9.05:1 AAA Lc 58.3 Large or bold text, headings
#AFA1E5 text on white 2.31:1 Fails Lc 45.7 Large or bold text, headings
#AFA1E5 text on black 9.05:1 AAA Lc -56.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

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #D9D5EE

    oklch(88.4% 0.034 293)

  4. Step 300

    300

    #C2BAE5

    oklch(81% 0.061 293.5)

  5. Step 400

    400 (this color)

    #AFA1E5

    oklch(74.6% 0.098 293.3)

  6. Step 500

    500

    #8D79CD

    oklch(63% 0.125 293.4)

  7. Step 600

    600

    #7861BA

    oklch(55.6% 0.135 293.4)

  8. Step 700

    700

    #6550A1

    oklch(49.2% 0.126 293.1)

  9. Step 800

    800

    #524282

    oklch(42.7% 0.104 293)

  10. Step 900

    900

    #443868

    oklch(37.7% 0.081 293.7)

  11. Step 950

    950

    #28213D

    oklch(27% 0.052 294.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFA1E5 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)#90ABE80.046
Deuteranopia (no green cones)#92A9E30.043
Tritanopia (no blue cones)#A4ACB90.081
Achromatopsia (no color)#AAAAAA0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA1E5

    #AFA1E5

    oklch(74.6% 0.098 293.3)

  • #ACB469

    #ACB469

    oklch(74.6% 0.099 113.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA1E5

    #AFA1E5

    oklch(74.6% 0.098 293.3)

  • #8CACEB

    #8CACEB

    oklch(74.5% 0.098 263.4)

  • #CB98D0

    #CB98D0

    oklch(74.6% 0.097 323.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFA1E5

    #AFA1E5

    oklch(74.6% 0.098 293.3)

  • #CAA762

    #CAA762

    oklch(74.5% 0.097 83.2)

  • #87BD84

    #87BD84

    oklch(74.6% 0.098 143.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA1E5

    #AFA1E5

    oklch(74.6% 0.098 293.3)

  • #DE9B71

    #DE9B71

    oklch(74.5% 0.098 52.7)

  • #64C1A7

    #64C1A7

    oklch(74.6% 0.097 173.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA1E5

    #AFA1E5

    oklch(74.6% 0.098 293.3)

  • #E4948F

    #E4948F

    oklch(74.6% 0.098 23.6)

  • #ACB469

    #ACB469

    oklch(74.6% 0.099 113.8)

  • #55BFC8

    #55BFC8

    oklch(74.6% 0.098 202.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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