#AFA4E8

Closest named color: Pale Purple (#B790D4). oklch(75.3% 0.097 291.3), rgb(175, 164, 232).

Aa

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

About this color

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

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

Values

HEX#AFA4E8
RGBrgb(175, 164, 232)
HSLhsl(250, 60%, 78%)
OKLCHoklch(75.3% 0.097 291.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 #AFA4E8 2.25:1 Fails Lc -49.3 Large or bold text, headings
Black text on #AFA4E8 9.29:1 AAA Lc 59.5 Large or bold text, headings
#AFA4E8 text on white 2.25:1 Fails Lc 44.5 Non-text elements, placeholder text
#AFA4E8 text on black 9.29:1 AAA Lc -57.6 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

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #D9D6EE

    oklch(88.6% 0.033 291.5)

  4. Step 300

    300

    #C0BAE6

    oklch(80.8% 0.062 291.2)

  5. Step 400

    400 (this color)

    #AFA4E8

    oklch(75.3% 0.097 291.3)

  6. Step 500

    500

    #8B7ACE

    oklch(63% 0.124 291.7)

  7. Step 600

    600

    #7562BB

    oklch(55.6% 0.135 291.2)

  8. Step 700

    700

    #6351A1

    oklch(49.2% 0.125 291.5)

  9. Step 800

    800

    #504283

    oklch(42.6% 0.105 291.2)

  10. Step 900

    900

    #423969

    oklch(37.7% 0.081 290.6)

  11. Step 950

    950

    #27213D

    oklch(26.9% 0.051 292.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFA4E8 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)#93AEEB0.042
Deuteranopia (no green cones)#93ABE60.041
Tritanopia (no blue cones)#A3AFBC0.081
Achromatopsia (no color)#ACACAC0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA4E8

    #AFA4E8

    oklch(75.3% 0.097 291.3)

  • #B1B56B

    #B1B56B

    oklch(75.3% 0.097 111.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA4E8

    #AFA4E8

    oklch(75.3% 0.097 291.3)

  • #8CAFED

    #8CAFED

    oklch(75.2% 0.098 261.5)

  • #CC9BD4

    #CC9BD4

    oklch(75.4% 0.096 321.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFA4E8

    #AFA4E8

    oklch(75.3% 0.097 291.3)

  • #CEA965

    #CEA965

    oklch(75.3% 0.097 81.6)

  • #8CBF85

    #8CBF85

    oklch(75.4% 0.097 141.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA4E8

    #AFA4E8

    oklch(75.3% 0.097 291.3)

  • #E19D75

    #E19D75

    oklch(75.3% 0.098 51.2)

  • #68C3A7

    #68C3A7

    oklch(75.3% 0.097 171.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA4E8

    #AFA4E8

    oklch(75.3% 0.097 291.3)

  • #E69694

    #E69694

    oklch(75.3% 0.097 21.2)

  • #B1B56B

    #B1B56B

    oklch(75.3% 0.097 111.2)

  • #58C1C8

    #58C1C8

    oklch(75.2% 0.097 201.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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