#AFA8DE

Closest named color: Pale Purple (#B790D4). oklch(75.6% 0.077 290.4), rgb(175, 168, 222).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.077)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text9.47:1
White text2.21:1

Values

HEX#AFA8DE
RGBrgb(175, 168, 222)
HSLhsl(248, 45%, 76%)
OKLCHoklch(75.6% 0.077 290.4)

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 #AFA8DE 2.21:1 Fails Lc -48.4 Large or bold text, headings
Black text on #AFA8DE 9.47:1 AAA Lc 60.3 Content text, not long reading
#AFA8DE text on white 2.21:1 Fails Lc 43.6 Non-text elements, placeholder text
#AFA8DE text on black 9.47:1 AAA Lc -58.5 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F3

    oklch(93.5% 0.015 290.3)

  3. Step 200

    200

    #D8D6EA

    oklch(88.4% 0.027 290.4)

  4. Step 300

    300

    #C0BCDE

    oklch(80.9% 0.048 290.7)

  5. Step 400

    400 (this color)

    #AFA8DE

    oklch(75.6% 0.077 290.4)

  6. Step 500

    500

    #897FC1

    oklch(63.2% 0.098 290.2)

  7. Step 600

    600

    #7367AD

    oklch(55.5% 0.107 290.3)

  8. Step 700

    700

    #615695

    oklch(49.2% 0.099 290.3)

  9. Step 800

    800

    #4F4679

    oklch(42.7% 0.083 290.5)

  10. Step 900

    900

    #413B61

    oklch(37.6% 0.064 290.2)

  11. Step 950

    950

    #262339

    oklch(27% 0.04 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA8DE 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)#9BAFE00.030
Deuteranopia (no green cones)#9BADDD0.029
Tritanopia (no blue cones)#A5B1BB0.065
Achromatopsia (no color)#AEAEAE0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA8DE

    #AFA8DE

    oklch(75.6% 0.077 290.4)

  • #B2B57B

    #B2B57B

    oklch(75.7% 0.078 110.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA8DE

    #AFA8DE

    oklch(75.6% 0.077 290.4)

  • #94B1E1

    #94B1E1

    oklch(75.6% 0.077 260.4)

  • #C6A0CE

    #C6A0CE

    oklch(75.5% 0.077 320.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFA8DE

    #AFA8DE

    oklch(75.6% 0.077 290.4)

  • #CAAB77

    #CAAB77

    oklch(75.6% 0.078 80.1)

  • #96BD8E

    #96BD8E

    oklch(75.7% 0.078 140.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA8DE

    #AFA8DE

    oklch(75.6% 0.077 290.4)

  • #D8A284

    #D8A284

    oklch(75.6% 0.077 50.2)

  • #7CC0A9

    #7CC0A9

    oklch(75.6% 0.077 170.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA8DE

    #AFA8DE

    oklch(75.6% 0.077 290.4)

  • #DD9D9B

    #DD9D9B

    oklch(75.7% 0.077 21)

  • #B2B57B

    #B2B57B

    oklch(75.7% 0.078 110.6)

  • #71BFC3

    #71BFC3

    oklch(75.6% 0.077 199.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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