#AFA1EA

Closest named color: Pale Purple (#B790D4). oklch(74.8% 0.105 292.5), rgb(175, 161, 234).

Aa

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

About this color

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

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

Values

HEX#AFA1EA
RGBrgb(175, 161, 234)
HSLhsl(252, 63%, 77%)
OKLCHoklch(74.8% 0.105 292.5)

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 #AFA1EA 2.30:1 Fails Lc -50.3 Large or bold text, headings
Black text on #AFA1EA 9.10:1 AAA Lc 58.6 Large or bold text, headings
#AFA1EA text on white 2.30:1 Fails Lc 45.4 Large or bold text, headings
#AFA1EA text on black 9.10:1 AAA Lc -56.7 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

    #EAE8F6

    oklch(93.7% 0.019 292.6)

  3. Step 200

    200

    #D9D5F0

    oklch(88.4% 0.037 292.4)

  4. Step 300

    300

    #C1B9E8

    oklch(80.8% 0.066 292.7)

  5. Step 400

    400 (this color)

    #AFA1EA

    oklch(74.8% 0.105 292.5)

  6. Step 500

    500

    #8D78D3

    oklch(63.1% 0.135 292.7)

  7. Step 600

    600

    #775FC0

    oklch(55.5% 0.146 292.4)

  8. Step 700

    700

    #654EA5

    oklch(49.1% 0.135 292.9)

  9. Step 800

    800

    #524186

    oklch(42.8% 0.111 292.4)

  10. Step 900

    900

    #44376B

    oklch(37.7% 0.087 293.3)

  11. Step 950

    950

    #27213F

    oklch(27% 0.055 291.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFA1EA 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)#8EACED0.049
Deuteranopia (no green cones)#8FA9E80.046
Tritanopia (no blue cones)#A3ADBB0.087
Achromatopsia (no color)#ABABAB0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA1EA

    #AFA1EA

    oklch(74.8% 0.105 292.5)

  • #AEB464

    #AEB464

    oklch(74.7% 0.104 112.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA1EA

    #AFA1EA

    oklch(74.8% 0.105 292.5)

  • #8AADF0

    #8AADF0

    oklch(74.8% 0.105 262.9)

  • #CD97D4

    #CD97D4

    oklch(74.8% 0.104 322.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFA1EA

    #AFA1EA

    oklch(74.8% 0.105 292.5)

  • #CEA75C

    #CEA75C

    oklch(74.8% 0.104 82.3)

  • #86BE81

    #86BE81

    oklch(74.7% 0.104 142.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA1EA

    #AFA1EA

    oklch(74.8% 0.105 292.5)

  • #E29A6E

    #E29A6E

    oklch(74.8% 0.105 51.9)

  • #5EC3A6

    #5EC3A6

    oklch(74.8% 0.105 172.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA1EA

    #AFA1EA

    oklch(74.8% 0.105 292.5)

  • #E8928F

    #E8928F

    oklch(74.7% 0.105 22)

  • #AEB464

    #AEB464

    oklch(74.7% 0.104 112.4)

  • #4BC1CA

    #4BC1CA

    oklch(74.9% 0.105 202.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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