#AFA8DD

Closest named color: Pale Purple (#B790D4). oklch(75.6% 0.076 290.5), rgb(175, 168, 221).

Aa

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

About this color

#AFA8DD is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.076 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.060 away. Black text reads best on it, at 9.46:1.

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

Values

HEX#AFA8DD
RGBrgb(175, 168, 221)
HSLhsl(248, 44%, 76%)
OKLCHoklch(75.6% 0.076 290.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 #AFA8DD 2.21:1 Fails Lc -48.5 Large or bold text, headings
Black text on #AFA8DD 9.46:1 AAA Lc 60.3 Content text, not long reading
#AFA8DD text on white 2.21:1 Fails Lc 43.7 Non-text elements, placeholder text
#AFA8DD text on black 9.46: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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E8F3

    oklch(93.5% 0.015 290.3)

  3. Step 200

    200

    #D8D7EA

    oklch(88.6% 0.026 288.3)

  4. Step 300

    300

    #C0BCDE

    oklch(80.9% 0.048 290.7)

  5. Step 400

    400 (this color)

    #AFA8DD

    oklch(75.6% 0.076 290.5)

  6. Step 500

    500

    #897FC0

    oklch(63.1% 0.097 290.4)

  7. Step 600

    600

    #7367AC

    oklch(55.5% 0.106 290.5)

  8. Step 700

    700

    #615694

    oklch(49.2% 0.098 290.5)

  9. Step 800

    800

    #4F4678

    oklch(42.6% 0.082 290.8)

  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

#AFA8DD 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)#9BAFDF0.030
Deuteranopia (no green cones)#9BADDC0.029
Tritanopia (no blue cones)#A6B1BA0.065
Achromatopsia (no color)#AEAEAE0.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA8DD

    #AFA8DD

    oklch(75.6% 0.076 290.5)

  • #B2B57C

    #B2B57C

    oklch(75.7% 0.076 110.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA8DD

    #AFA8DD

    oklch(75.6% 0.076 290.5)

  • #94B1E0

    #94B1E0

    oklch(75.6% 0.075 259.9)

  • #C6A1CE

    #C6A1CE

    oklch(75.7% 0.075 320.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFA8DD

    #AFA8DD

    oklch(75.6% 0.076 290.5)

  • #C9AB78

    #C9AB78

    oklch(75.6% 0.076 80.4)

  • #96BC8F

    #96BC8F

    oklch(75.5% 0.075 140.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA8DD

    #AFA8DD

    oklch(75.6% 0.076 290.5)

  • #D8A284

    #D8A284

    oklch(75.6% 0.077 50.2)

  • #7DC0A9

    #7DC0A9

    oklch(75.6% 0.076 170.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA8DD

    #AFA8DD

    oklch(75.6% 0.076 290.5)

  • #DC9D9C

    #DC9D9C

    oklch(75.6% 0.076 20)

  • #B2B57C

    #B2B57C

    oklch(75.7% 0.076 110.6)

  • #73BFC3

    #73BFC3

    oklch(75.7% 0.076 200)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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