#AFA4D9

Closest named color: Pale Purple (#B790D4). oklch(74.7% 0.076 294), rgb(175, 164, 217).

Aa

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

About this color

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

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

Values

HEX#AFA4D9
RGBrgb(175, 164, 217)
HSLhsl(252, 41%, 75%)
OKLCHoklch(74.7% 0.076 294)

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 #AFA4D9 2.29:1 Fails Lc -50.2 Large or bold text, headings
Black text on #AFA4D9 9.13:1 AAA Lc 58.7 Large or bold text, headings
#AFA4D9 text on white 2.29:1 Fails Lc 45.3 Large or bold text, headings
#AFA4D9 text on black 9.13:1 AAA Lc -56.8 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

    #EAE8F2

    oklch(93.5% 0.014 295.3)

  3. Step 200

    200

    #DAD6E9

    oklch(88.5% 0.026 295.5)

  4. Step 300

    300

    #C2BBDD

    oklch(80.9% 0.048 294.7)

  5. Step 400

    400 (this color)

    #AFA4D9

    oklch(74.7% 0.076 294)

  6. Step 500

    500

    #8D7EBF

    oklch(63.2% 0.097 294)

  7. Step 600

    600

    #7766AB

    oklch(55.6% 0.106 294)

  8. Step 700

    700

    #645593

    oklch(49.2% 0.098 293.6)

  9. Step 800

    800

    #524577

    oklch(42.6% 0.082 294.6)

  10. Step 900

    900

    #433B60

    oklch(37.7% 0.063 293.1)

  11. Step 950

    950

    #272238

    oklch(26.8% 0.041 293.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFA4D9 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)#98ABDB0.034
Deuteranopia (no green cones)#99AAD80.033
Tritanopia (no blue cones)#A7ACB60.063
Achromatopsia (no color)#ABABAB0.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA4D9

    #AFA4D9

    oklch(74.7% 0.076 294)

  • #ACB37B

    #ACB37B

    oklch(74.7% 0.076 114.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA4D9

    #AFA4D9

    oklch(74.7% 0.076 294)

  • #94ADDE

    #94ADDE

    oklch(74.6% 0.076 263.6)

  • #C59DC8

    #C59DC8

    oklch(74.6% 0.075 324)

Open the analogous palette in the generator

Split complementary

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

  • #AFA4D9

    #AFA4D9

    oklch(74.7% 0.076 294)

  • #C4A975

    #C4A975

    oklch(74.6% 0.076 83.3)

  • #90BA8F

    #90BA8F

    oklch(74.7% 0.076 144.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA4D9

    #AFA4D9

    oklch(74.7% 0.076 294)

  • #D4A07F

    #D4A07F

    oklch(74.7% 0.077 53.6)

  • #78BDA9

    #78BDA9

    oklch(74.7% 0.076 173.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA4D9

    #AFA4D9

    oklch(74.7% 0.076 294)

  • #D99A95

    #D99A95

    oklch(74.6% 0.076 24.1)

  • #ACB37B

    #ACB37B

    oklch(74.7% 0.076 114.1)

  • #6FBBC3

    #6FBBC3

    oklch(74.6% 0.076 204.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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