#AFA3F5

Closest named color: Baby Purple (#CA9BF7). oklch(75.7% 0.117 290), rgb(175, 163, 245).

Aa

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

About this color

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

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

Values

HEX#AFA3F5
RGBrgb(175, 163, 245)
HSLhsl(249, 80%, 80%)
OKLCHoklch(75.7% 0.117 290)

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 #AFA3F5 2.23:1 Fails Lc -48.9 Large or bold text, headings
Black text on #AFA3F5 9.38:1 AAA Lc 59.9 Large or bold text, headings
#AFA3F5 text on white 2.23:1 Fails Lc 44.1 Non-text elements, placeholder text
#AFA3F5 text on black 9.38: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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F7

    oklch(93.6% 0.02 289.1)

  3. Step 200

    200

    #D8D5F3

    oklch(88.5% 0.041 290.1)

  4. Step 300

    300

    #BFB9ED

    oklch(80.8% 0.073 289.9)

  5. Step 400

    400 (this color)

    #AFA3F5

    oklch(75.7% 0.117 290)

  6. Step 500

    500

    #8A77DC

    oklch(63.2% 0.148 290.1)

  7. Step 600

    600

    #755DCA

    oklch(55.6% 0.162 290.2)

  8. Step 700

    700

    #624CAF

    oklch(49.1% 0.151 289.9)

  9. Step 800

    800

    #503F8D

    oklch(42.7% 0.124 290.2)

  10. Step 900

    900

    #423671

    oklch(37.7% 0.098 290.3)

  11. Step 950

    950

    #262042

    oklch(26.9% 0.062 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA3F5 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)#8CAFF80.051
Deuteranopia (no green cones)#8DABF30.048
Tritanopia (no blue cones)#9FB1C10.098
Achromatopsia (no color)#ADADAD0.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA3F5

    #AFA3F5

    oklch(75.7% 0.117 290)

  • #B4B75A

    #B4B75A

    oklch(75.7% 0.117 110.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA3F5

    #AFA3F5

    oklch(75.7% 0.117 290)

  • #84B1FA

    #84B1FA

    oklch(75.7% 0.116 259.8)

  • #D197DE

    #D197DE

    oklch(75.6% 0.117 320.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFA3F5

    #AFA3F5

    oklch(75.7% 0.117 290)

  • #D7A753

    #D7A753

    oklch(75.6% 0.116 79.4)

  • #87C27B

    #87C27B

    oklch(75.6% 0.116 140.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA3F5

    #AFA3F5

    oklch(75.7% 0.117 290)

  • #EB996B

    #EB996B

    oklch(75.6% 0.116 49.6)

  • #55C8A5

    #55C8A5

    oklch(75.7% 0.117 170.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA3F5

    #AFA3F5

    oklch(75.7% 0.117 290)

  • #F19191

    #F19191

    oklch(75.7% 0.117 20.2)

  • #B4B75A

    #B4B75A

    oklch(75.7% 0.117 110.5)

  • #37C6CD

    #37C6CD

    oklch(75.7% 0.117 199.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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