#AFAAE2

Closest named color: Pale Violet (#CEAEFA). oklch(76.2% 0.08 288.4), rgb(175, 170, 226).

Aa

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

About this color

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

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

Values

HEX#AFAAE2
RGBrgb(175, 170, 226)
HSLhsl(245, 49%, 78%)
OKLCHoklch(76.2% 0.08 288.4)

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 #AFAAE2 2.17:1 Fails Lc -47.4 Large or bold text, headings
Black text on #AFAAE2 9.67:1 AAA Lc 61.3 Content text, not long reading
#AFAAE2 text on white 2.17:1 Fails Lc 42.7 Non-text elements, placeholder text
#AFAAE2 text on black 9.67:1 AAA Lc -59.5 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D7D5F5

    oklch(88.5% 0.044 288.3)

  4. Step 300

    300 (this color)

    #AFAAE2

    oklch(76.2% 0.08 288.4)

  5. Step 400

    400

    #9E93EB

    oklch(70.8% 0.127 288.5)

  6. Step 500

    500

    #8775E5

    oklch(63.1% 0.163 288.2)

  7. Step 600

    600

    #735BD3

    oklch(55.7% 0.177 288.5)

  8. Step 700

    700

    #604AB6

    oklch(49.1% 0.164 288.2)

  9. Step 800

    800

    #4E3D94

    oklch(42.7% 0.137 288.2)

  10. Step 900

    900

    #413576

    oklch(37.7% 0.107 288.7)

  11. Step 950

    950

    #262045

    oklch(27.1% 0.067 288.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFAAE2 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)#9CB1E40.029
Deuteranopia (no green cones)#9BAFE00.029
Tritanopia (no blue cones)#A4B3BD0.068
Achromatopsia (no color)#B0B0B00.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAAE2

    #AFAAE2

    oklch(76.2% 0.08 288.4)

  • #B6B67A

    #B6B67A

    oklch(76.2% 0.08 108.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAAE2

    #AFAAE2

    oklch(76.2% 0.08 288.4)

  • #93B3E5

    #93B3E5

    oklch(76.1% 0.08 259.2)

  • #C8A2D3

    #C8A2D3

    oklch(76.3% 0.08 318.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFAAE2

    #AFAAE2

    oklch(76.2% 0.08 288.4)

  • #CEAC77

    #CEAC77

    oklch(76.2% 0.08 78.2)

  • #99BE8D

    #99BE8D

    oklch(76.2% 0.079 138.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAAE2

    #AFAAE2

    oklch(76.2% 0.08 288.4)

  • #DCA385

    #DCA385

    oklch(76.2% 0.08 48.9)

  • #7DC2A8

    #7DC2A8

    oklch(76.1% 0.08 168.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAAE2

    #AFAAE2

    oklch(76.2% 0.08 288.4)

  • #E09E9E

    #E09E9E

    oklch(76.3% 0.079 19.1)

  • #B6B67A

    #B6B67A

    oklch(76.2% 0.08 108.2)

  • #70C2C4

    #70C2C4

    oklch(76.3% 0.08 197.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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