#AFA9EF

Closest named color: Pale Violet (#CEAEFA). oklch(76.6% 0.099 287.7), rgb(175, 169, 239).

Aa

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

About this color

#AFA9EF is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.099 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.050 away. Black text reads best on it, at 9.74:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.099)
Temperaturecool
Nearest namePale Violet (#CEAEFA)
Black text9.74:1
White text2.15:1

Values

HEX#AFA9EF
RGBrgb(175, 169, 239)
HSLhsl(245, 69%, 80%)
OKLCHoklch(76.6% 0.099 287.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 #AFA9EF 2.15:1 Fails Lc -47.0 Large or bold text, headings
Black text on #AFA9EF 9.74:1 AAA Lc 61.6 Content text, not long reading
#AFA9EF text on white 2.15:1 Fails Lc 42.3 Non-text elements, placeholder text
#AFA9EF text on black 9.74:1 AAA Lc -59.9 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 300.

  1. Step 50

    50

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E8E7FD

    oklch(93.5% 0.03 287.9)

  3. Step 200

    200

    #D6D4FC

    oklch(88.4% 0.055 287.5)

  4. Step 300

    300 (this color)

    #AFA9EF

    oklch(76.6% 0.099 287.7)

  5. Step 400

    400

    #9D8EFD

    oklch(70.8% 0.159 287.8)

  6. Step 500

    500

    #876DFB

    oklch(63.2% 0.203 287.5)

  7. Step 600

    600

    #734FEA

    oklch(55.6% 0.221 287.6)

  8. Step 700

    700

    #613ECB

    oklch(49% 0.205 287.7)

  9. Step 800

    800

    #4F35A4

    oklch(42.7% 0.169 287.8)

  10. Step 900

    900

    #413082

    oklch(37.7% 0.132 287.9)

  11. Step 950

    950

    #261D4C

    oklch(27% 0.083 288.3)

Export this scale for Tailwind in the Tailwind colors tool

#AFA9EF 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)#96B2F20.037
Deuteranopia (no green cones)#95AFED0.037
Tritanopia (no blue cones)#A0B5C20.085
Achromatopsia (no color)#B1B1B10.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA9EF

    #AFA9EF

    oklch(76.6% 0.099 287.7)

  • #B9B86B

    #B9B86B

    oklch(76.6% 0.099 107.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA9EF

    #AFA9EF

    oklch(76.6% 0.099 287.7)

  • #8BB5F2

    #8BB5F2

    oklch(76.6% 0.099 257.6)

  • #CD9FDC

    #CD9FDC

    oklch(76.5% 0.099 317.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFA9EF

    #AFA9EF

    oklch(76.6% 0.099 287.7)

  • #D6AB67

    #D6AB67

    oklch(76.6% 0.1 77.9)

  • #94C284

    #94C284

    oklch(76.6% 0.099 137.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA9EF

    #AFA9EF

    oklch(76.6% 0.099 287.7)

  • #E79F7B

    #E79F7B

    oklch(76.5% 0.099 47.4)

  • #6EC7A6

    #6EC7A6

    oklch(76.5% 0.099 167.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA9EF

    #AFA9EF

    oklch(76.6% 0.099 287.7)

  • #EB999B

    #EB999B

    oklch(76.6% 0.099 18)

  • #B9B86B

    #B9B86B

    oklch(76.6% 0.099 107.9)

  • #59C6C9

    #59C6C9

    oklch(76.5% 0.099 197.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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