#AFA4F0

Closest named color: Baby Purple (#CA9BF7). oklch(75.6% 0.108 290.2), rgb(175, 164, 240).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.108)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.39:1
White text2.23:1

Values

HEX#AFA4F0
RGBrgb(175, 164, 240)
HSLhsl(249, 72%, 79%)
OKLCHoklch(75.6% 0.108 290.2)

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 #AFA4F0 2.23:1 Fails Lc -48.8 Large or bold text, headings
Black text on #AFA4F0 9.39:1 AAA Lc 59.9 Large or bold text, headings
#AFA4F0 text on white 2.23:1 Fails Lc 44.0 Non-text elements, placeholder text
#AFA4F0 text on black 9.39:1 AAA Lc -58.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

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #E9E8F6

    oklch(93.6% 0.019 289.3)

  3. Step 200

    200

    #D8D5F1

    oklch(88.4% 0.038 290.5)

  4. Step 300

    300

    #BFBAEA

    oklch(80.9% 0.067 289.6)

  5. Step 400

    400 (this color)

    #AFA4F0

    oklch(75.6% 0.108 290.2)

  6. Step 500

    500

    #8A79D6

    oklch(63.2% 0.137 290.3)

  7. Step 600

    600

    #7460C4

    oklch(55.7% 0.15 289.8)

  8. Step 700

    700

    #624EA9

    oklch(49% 0.14 290.4)

  9. Step 800

    800

    #504189

    oklch(42.8% 0.115 290.2)

  10. Step 900

    900

    #42376E

    oklch(37.7% 0.092 290.5)

  11. Step 950

    950

    #262140

    oklch(27% 0.057 289.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFA4F0 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)#90AFF30.046
Deuteranopia (no green cones)#90ACEE0.044
Tritanopia (no blue cones)#A0B1BF0.092
Achromatopsia (no color)#ADADAD0.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA4F0

    #AFA4F0

    oklch(75.6% 0.108 290.2)

  • #B4B661

    #B4B661

    oklch(75.6% 0.109 109.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA4F0

    #AFA4F0

    oklch(75.6% 0.108 290.2)

  • #88B1F5

    #88B1F5

    oklch(75.7% 0.108 260.2)

  • #CF99DB

    #CF99DB

    oklch(75.6% 0.109 320.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFA4F0

    #AFA4F0

    oklch(75.6% 0.108 290.2)

  • #D4A85B

    #D4A85B

    oklch(75.6% 0.108 79.9)

  • #8AC17F

    #8AC17F

    oklch(75.6% 0.108 140.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA4F0

    #AFA4F0

    oklch(75.6% 0.108 290.2)

  • #E79B70

    #E79B70

    oklch(75.5% 0.108 50)

  • #5FC6A6

    #5FC6A6

    oklch(75.6% 0.108 170.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA4F0

    #AFA4F0

    oklch(75.6% 0.108 290.2)

  • #ED9493

    #ED9493

    oklch(75.7% 0.108 20.6)

  • #B4B661

    #B4B661

    oklch(75.6% 0.109 109.9)

  • #48C4CB

    #48C4CB

    oklch(75.5% 0.108 200.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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