#AFA8DC

Closest named color: Pale Purple (#B790D4). oklch(75.6% 0.074 290.7), rgb(175, 168, 220).

Aa

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

About this color

#AFA8DC is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.074 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.45:1.

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

Values

HEX#AFA8DC
RGBrgb(175, 168, 220)
HSLhsl(248, 43%, 76%)
OKLCHoklch(75.6% 0.074 290.7)

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 #AFA8DC 2.22:1 Fails Lc -48.5 Large or bold text, headings
Black text on #AFA8DC 9.45:1 AAA Lc 60.2 Content text, not long reading
#AFA8DC text on white 2.22:1 Fails Lc 43.7 Non-text elements, placeholder text
#AFA8DC text on black 9.45:1 AAA Lc -58.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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E8F2

    oklch(93.5% 0.013 290.7)

  3. Step 200

    200

    #D9D7E9

    oklch(88.6% 0.025 291)

  4. Step 300

    300

    #C0BCDD

    oklch(80.9% 0.046 290.9)

  5. Step 400

    400 (this color)

    #AFA8DC

    oklch(75.6% 0.074 290.7)

  6. Step 500

    500

    #897FBF

    oklch(63.1% 0.095 290.6)

  7. Step 600

    600

    #7368AB

    oklch(55.6% 0.103 290.2)

  8. Step 700

    700

    #615693

    oklch(49.1% 0.096 290.7)

  9. Step 800

    800

    #4F4777

    oklch(42.8% 0.078 290.3)

  10. Step 900

    900

    #413B60

    oklch(37.5% 0.063 290.5)

  11. Step 950

    950

    #262338

    oklch(27% 0.039 290.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFA8DC 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)#9CAFDE0.029
Deuteranopia (no green cones)#9CADDB0.028
Tritanopia (no blue cones)#A6B0BA0.062
Achromatopsia (no color)#AEAEAE0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA8DC

    #AFA8DC

    oklch(75.6% 0.074 290.7)

  • #B1B57D

    #B1B57D

    oklch(75.6% 0.075 111.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA8DC

    #AFA8DC

    oklch(75.6% 0.074 290.7)

  • #95B1DF

    #95B1DF

    oklch(75.6% 0.073 260.2)

  • #C6A1CD

    #C6A1CD

    oklch(75.7% 0.074 320.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFA8DC

    #AFA8DC

    oklch(75.6% 0.074 290.7)

  • #C8AB79

    #C8AB79

    oklch(75.5% 0.074 80.8)

  • #96BC8F

    #96BC8F

    oklch(75.5% 0.075 140.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA8DC

    #AFA8DC

    oklch(75.6% 0.074 290.7)

  • #D7A385

    #D7A385

    oklch(75.7% 0.074 51.2)

  • #7EBFA9

    #7EBFA9

    oklch(75.4% 0.074 171)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA8DC

    #AFA8DC

    oklch(75.6% 0.074 290.7)

  • #DB9D9C

    #DB9D9C

    oklch(75.5% 0.074 20)

  • #B1B57D

    #B1B57D

    oklch(75.6% 0.075 111.5)

  • #74BEC3

    #74BEC3

    oklch(75.5% 0.074 201.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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