#AFAAE8

Closest named color: Pale Violet (#CEAEFA). oklch(76.4% 0.088 287.8), rgb(175, 170, 232).

Aa

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

About this color

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

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

Values

HEX#AFAAE8
RGBrgb(175, 170, 232)
HSLhsl(245, 57%, 79%)
OKLCHoklch(76.4% 0.088 287.8)

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 #AFAAE8 2.15:1 Fails Lc -47.0 Large or bold text, headings
Black text on #AFAAE8 9.73:1 AAA Lc 61.6 Content text, not long reading
#AFAAE8 text on white 2.15:1 Fails Lc 42.3 Non-text elements, placeholder text
#AFAAE8 text on black 9.73: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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E8E8FB

    oklch(93.7% 0.026 285.9)

  3. Step 200

    200

    #D7D5F9

    oklch(88.6% 0.049 287.9)

  4. Step 300

    300 (this color)

    #AFAAE8

    oklch(76.4% 0.088 287.8)

  5. Step 400

    400

    #9D91F3

    oklch(70.8% 0.141 287.9)

  6. Step 500

    500

    #8772EE

    oklch(63.1% 0.179 287.9)

  7. Step 600

    600

    #7256DD

    oklch(55.5% 0.197 287.8)

  8. Step 700

    700

    #6045C0

    oklch(49.1% 0.183 287.8)

  9. Step 800

    800

    #4E3A9B

    oklch(42.7% 0.151 287.7)

  10. Step 900

    900

    #40337B

    oklch(37.6% 0.118 287.7)

  11. Step 950

    950

    #251F48

    oklch(27% 0.074 287.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFAAE8 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)#9AB2EB0.032
Deuteranopia (no green cones)#99AFE60.031
Tritanopia (no blue cones)#A2B5C00.076
Achromatopsia (no color)#B0B0B00.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAAE8

    #AFAAE8

    oklch(76.4% 0.088 287.8)

  • #B8B774

    #B8B774

    oklch(76.5% 0.088 107.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAAE8

    #AFAAE8

    oklch(76.4% 0.088 287.8)

  • #8FB4EB

    #8FB4EB

    oklch(76.3% 0.089 258.1)

  • #CAA1D7

    #CAA1D7

    oklch(76.4% 0.088 317.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFAAE8

    #AFAAE8

    oklch(76.4% 0.088 287.8)

  • #D2AC71

    #D2AC71

    oklch(76.5% 0.088 77.8)

  • #97C089

    #97C089

    oklch(76.4% 0.088 137.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAAE8

    #AFAAE8

    oklch(76.4% 0.088 287.8)

  • #E1A281

    #E1A281

    oklch(76.5% 0.088 48.6)

  • #78C5A8

    #78C5A8

    oklch(76.5% 0.088 168)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAAE8

    #AFAAE8

    oklch(76.4% 0.088 287.8)

  • #E59C9D

    #E59C9D

    oklch(76.4% 0.088 18.4)

  • #B8B774

    #B8B774

    oklch(76.5% 0.088 107.6)

  • #68C4C6

    #68C4C6

    oklch(76.5% 0.088 197.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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