#AFA9F4

Closest named color: Pastel Purple (#CAA0FF). oklch(76.8% 0.106 287.3), rgb(175, 169, 244).

Aa

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

About this color

#AFA9F4 is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.106 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Purple (#CAA0FF), ΔE 0.048 away. Black text reads best on it, at 9.80:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.106)
Temperaturecool
Nearest namePastel Purple (#CAA0FF)
Black text9.80:1
White text2.14:1

Values

HEX#AFA9F4
RGBrgb(175, 169, 244)
HSLhsl(245, 77%, 81%)
OKLCHoklch(76.8% 0.106 287.3)

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 #AFA9F4 2.14:1 Fails Lc -46.7 Large or bold text, headings
Black text on #AFA9F4 9.80:1 AAA Lc 61.9 Content text, not long reading
#AFA9F4 text on white 2.14:1 Fails Lc 42.0 Non-text elements, placeholder text
#AFA9F4 text on black 9.80:1 AAA Lc -60.2 Content text, not long reading

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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E8E7FE

    oklch(93.6% 0.031 287.8)

  3. Step 200

    200

    #D6D4FF

    oklch(88.5% 0.059 287.3)

  4. Step 300

    300 (this color)

    #AFA9F4

    oklch(76.8% 0.106 287.3)

  5. Step 400

    400

    #9C8EFF

    oklch(70.8% 0.161 287.2)

  6. Step 500

    500

    #876BFF

    oklch(63.1% 0.211 287.5)

  7. Step 600

    600

    #734AF2

    oklch(55.6% 0.236 287.2)

  8. Step 700

    700

    #6139D3

    oklch(49.1% 0.22 287.2)

  9. Step 800

    800

    #4F31AB

    oklch(42.8% 0.183 287.2)

  10. Step 900

    900

    #412E87

    oklch(37.8% 0.141 287.4)

  11. Step 950

    950

    #251C4F

    oklch(27% 0.09 286.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFA9F4 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)#94B3F70.040
Deuteranopia (no green cones)#93AFF20.039
Tritanopia (no blue cones)#9FB6C40.091
Achromatopsia (no color)#B1B1B10.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA9F4

    #AFA9F4

    oklch(76.8% 0.106 287.3)

  • #BBB865

    #BBB865

    oklch(76.7% 0.106 106.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA9F4

    #AFA9F4

    oklch(76.8% 0.106 287.3)

  • #88B6F7

    #88B6F7

    oklch(76.9% 0.106 257.1)

  • #CF9EE0

    #CF9EE0

    oklch(76.7% 0.106 317.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFA9F4

    #AFA9F4

    oklch(76.8% 0.106 287.3)

  • #D9AB62

    #D9AB62

    oklch(76.8% 0.106 77.7)

  • #93C480

    #93C480

    oklch(76.9% 0.107 137.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA9F4

    #AFA9F4

    oklch(76.8% 0.106 287.3)

  • #EB9E78

    #EB9E78

    oklch(76.7% 0.106 47)

  • #69C9A6

    #69C9A6

    oklch(76.7% 0.105 167.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA9F4

    #AFA9F4

    oklch(76.8% 0.106 287.3)

  • #F0979B

    #F0979B

    oklch(76.8% 0.107 17)

  • #BBB865

    #BBB865

    oklch(76.7% 0.106 106.8)

  • #50C8CB

    #50C8CB

    oklch(76.7% 0.106 197.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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