#AFACE8

Closest named color: Pastel Blue (#A2BFFE). oklch(76.8% 0.085 286.5), rgb(175, 172, 232).

Aa

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

About this color

#AFACE8 is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.085 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.051 away. Black text reads best on it, at 9.88:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.085)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text9.88:1
White text2.12:1

Values

HEX#AFACE8
RGBrgb(175, 172, 232)
HSLhsl(243, 57%, 79%)
OKLCHoklch(76.8% 0.085 286.5)

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 #AFACE8 2.12:1 Fails Lc -46.3 Large or bold text, headings
Black text on #AFACE8 9.88:1 AAA Lc 62.3 Content text, not long reading
#AFACE8 text on white 2.12:1 Fails Lc 41.6 Non-text elements, placeholder text
#AFACE8 text on black 9.88:1 AAA Lc -60.6 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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E8E8FA

    oklch(93.6% 0.024 285.9)

  3. Step 200

    200

    #D6D5F8

    oklch(88.5% 0.048 286.7)

  4. Step 300

    300 (this color)

    #AFACE8

    oklch(76.8% 0.085 286.5)

  5. Step 400

    400

    #9B92F1

    oklch(70.7% 0.137 286.7)

  6. Step 500

    500

    #8474EC

    oklch(63.1% 0.174 286.4)

  7. Step 600

    600

    #6F59DA

    oklch(55.5% 0.189 286.3)

  8. Step 700

    700

    #5E48BD

    oklch(49.1% 0.176 286.7)

  9. Step 800

    800

    #4C3C99

    oklch(42.7% 0.146 286.4)

  10. Step 900

    900

    #3F347A

    oklch(37.6% 0.115 286.7)

  11. Step 950

    950

    #251F47

    oklch(26.9% 0.072 287.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFACE8 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)#9CB3EB0.029
Deuteranopia (no green cones)#9BB0E60.028
Tritanopia (no blue cones)#A2B6C10.073
Achromatopsia (no color)#B2B2B20.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFACE8

    #AFACE8

    oklch(76.8% 0.085 286.5)

  • #BAB877

    #BAB877

    oklch(76.9% 0.086 106.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFACE8

    #AFACE8

    oklch(76.8% 0.085 286.5)

  • #91B6EA

    #91B6EA

    oklch(76.8% 0.085 256.9)

  • #CAA3D8

    #CAA3D8

    oklch(76.8% 0.085 317)

Open the analogous palette in the generator

Split complementary

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

  • #AFACE8

    #AFACE8

    oklch(76.8% 0.085 286.5)

  • #D3AD75

    #D3AD75

    oklch(76.9% 0.085 76.6)

  • #9BC18B

    #9BC18B

    oklch(76.9% 0.085 136.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFACE8

    #AFACE8

    oklch(76.8% 0.085 286.5)

  • #E2A385

    #E2A385

    oklch(76.8% 0.086 46.4)

  • #7DC5A8

    #7DC5A8

    oklch(76.8% 0.084 166.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFACE8

    #AFACE8

    oklch(76.8% 0.085 286.5)

  • #E59EA1

    #E59EA1

    oklch(76.9% 0.085 16.4)

  • #BAB877

    #BAB877

    oklch(76.9% 0.086 106.7)

  • #6CC5C6

    #6CC5C6

    oklch(76.9% 0.086 196.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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