#AFAAE5

Closest named color: Pale Violet (#CEAEFA). oklch(76.3% 0.084 288.1), rgb(175, 170, 229).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest namePale Violet (#CEAEFA)
Black text9.70:1
White text2.16:1

Values

HEX#AFAAE5
RGBrgb(175, 170, 229)
HSLhsl(245, 53%, 78%)
OKLCHoklch(76.3% 0.084 288.1)

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 #AFAAE5 2.16:1 Fails Lc -47.2 Large or bold text, headings
Black text on #AFAAE5 9.70:1 AAA Lc 61.4 Content text, not long reading
#AFAAE5 text on white 2.16:1 Fails Lc 42.5 Non-text elements, placeholder text
#AFAAE5 text on black 9.70:1 AAA Lc -59.7 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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E8FA

    oklch(93.7% 0.024 288.5)

  3. Step 200

    200

    #D7D5F7

    oklch(88.5% 0.047 288.1)

  4. Step 300

    300 (this color)

    #AFAAE5

    oklch(76.3% 0.084 288.1)

  5. Step 400

    400

    #9D92EF

    oklch(70.7% 0.134 287.9)

  6. Step 500

    500

    #8773EA

    oklch(63% 0.173 288.1)

  7. Step 600

    600

    #7259D8

    oklch(55.7% 0.186 287.8)

  8. Step 700

    700

    #6048BB

    oklch(49.1% 0.173 287.9)

  9. Step 800

    800

    #4E3C97

    oklch(42.7% 0.143 287.9)

  10. Step 900

    900

    #413478

    oklch(37.7% 0.112 288.7)

  11. Step 950

    950

    #261F47

    oklch(27% 0.072 288.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFAAE5 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)#9BB2E80.031
Deuteranopia (no green cones)#9AAFE30.030
Tritanopia (no blue cones)#A3B4BF0.072
Achromatopsia (no color)#B0B0B00.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAAE5

    #AFAAE5

    oklch(76.3% 0.084 288.1)

  • #B7B777

    #B7B777

    oklch(76.4% 0.085 108.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAAE5

    #AFAAE5

    oklch(76.3% 0.084 288.1)

  • #91B4E8

    #91B4E8

    oklch(76.3% 0.084 258.1)

  • #C9A1D5

    #C9A1D5

    oklch(76.2% 0.085 318.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFAAE5

    #AFAAE5

    oklch(76.3% 0.084 288.1)

  • #D0AC74

    #D0AC74

    oklch(76.4% 0.084 78)

  • #98BF8B

    #98BF8B

    oklch(76.3% 0.084 138)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAAE5

    #AFAAE5

    oklch(76.3% 0.084 288.1)

  • #DFA283

    #DFA283

    oklch(76.3% 0.084 48)

  • #7BC4A8

    #7BC4A8

    oklch(76.4% 0.084 167.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAAE5

    #AFAAE5

    oklch(76.3% 0.084 288.1)

  • #E39D9E

    #E39D9E

    oklch(76.4% 0.084 18.3)

  • #B7B777

    #B7B777

    oklch(76.4% 0.085 108.2)

  • #6CC3C5

    #6CC3C5

    oklch(76.4% 0.084 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 #AFAAE5, closest first.

Similar named colors

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

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