#AFA4DF

Closest named color: Pale Purple (#B790D4). oklch(74.9% 0.085 292.8), rgb(175, 164, 223).

Aa

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

About this color

#AFA4DF is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.085 and its hue 293°. 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.19:1.

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

Values

HEX#AFA4DF
RGBrgb(175, 164, 223)
HSLhsl(251, 48%, 76%)
OKLCHoklch(74.9% 0.085 292.8)

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 #AFA4DF 2.28:1 Fails Lc -49.9 Large or bold text, headings
Black text on #AFA4DF 9.19:1 AAA Lc 59.0 Large or bold text, headings
#AFA4DF text on white 2.28:1 Fails Lc 45.0 Non-text elements, placeholder text
#AFA4DF text on black 9.19:1 AAA Lc -57.1 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

    #EAE8F3

    oklch(93.6% 0.015 294.5)

  3. Step 200

    200

    #D9D6EB

    oklch(88.5% 0.029 292.4)

  4. Step 300

    300

    #C1BBE0

    oklch(80.9% 0.052 292.6)

  5. Step 400

    400 (this color)

    #AFA4DF

    oklch(74.9% 0.085 292.8)

  6. Step 500

    500

    #8C7CC5

    oklch(63% 0.109 293.1)

  7. Step 600

    600

    #7665B2

    oklch(55.7% 0.117 292.3)

  8. Step 700

    700

    #645399

    oklch(49.1% 0.11 293.1)

  9. Step 800

    800

    #51447C

    oklch(42.6% 0.091 292.8)

  10. Step 900

    900

    #433A64

    oklch(37.8% 0.071 292.5)

  11. Step 950

    950

    #27223A

    oklch(26.9% 0.044 292.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA4DF 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)#96ACE20.037
Deuteranopia (no green cones)#97ABDD0.036
Tritanopia (no blue cones)#A5AEB90.071
Achromatopsia (no color)#ACACAC0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA4DF

    #AFA4DF

    oklch(74.9% 0.085 292.8)

  • #AEB474

    #AEB474

    oklch(75% 0.086 112.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA4DF

    #AFA4DF

    oklch(74.9% 0.085 292.8)

  • #91AEE4

    #91AEE4

    oklch(74.9% 0.085 262.6)

  • #C89CCD

    #C89CCD

    oklch(74.9% 0.084 323)

Open the analogous palette in the generator

Split complementary

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

  • #AFA4DF

    #AFA4DF

    oklch(74.9% 0.085 292.8)

  • #C8A96E

    #C8A96E

    oklch(74.9% 0.085 82.8)

  • #8EBC8B

    #8EBC8B

    oklch(74.9% 0.085 143.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA4DF

    #AFA4DF

    oklch(74.9% 0.085 292.8)

  • #D99F7B

    #D99F7B

    oklch(74.9% 0.085 52.8)

  • #72BFA8

    #72BFA8

    oklch(74.8% 0.084 172.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA4DF

    #AFA4DF

    oklch(74.9% 0.085 292.8)

  • #DE9995

    #DE9995

    oklch(74.9% 0.084 22.9)

  • #AEB474

    #AEB474

    oklch(75% 0.086 112.8)

  • #67BEC5

    #67BEC5

    oklch(75% 0.085 202.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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