#AFACE2

Closest named color: Pastel Blue (#A2BFFE). oklch(76.6% 0.077 287), rgb(175, 172, 226).

Aa

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

About this color

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

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

Values

HEX#AFACE2
RGBrgb(175, 172, 226)
HSLhsl(243, 48%, 78%)
OKLCHoklch(76.6% 0.077 287)

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 #AFACE2 2.13:1 Fails Lc -46.6 Large or bold text, headings
Black text on #AFACE2 9.82:1 AAA Lc 62.0 Content text, not long reading
#AFACE2 text on white 2.13:1 Fails Lc 41.9 Non-text elements, placeholder text
#AFACE2 text on black 9.82:1 AAA Lc -60.3 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

    #F5F5FC

    oklch(97.2% 0.009 286.2)

  2. Step 100

    100

    #E8E8F8

    oklch(93.6% 0.022 286)

  3. Step 200

    200

    #D6D5F5

    oklch(88.4% 0.044 286.9)

  4. Step 300

    300 (this color)

    #AFACE2

    oklch(76.6% 0.077 287)

  5. Step 400

    400

    #9C94E9

    oklch(70.7% 0.123 287.1)

  6. Step 500

    500

    #8577E2

    oklch(63.1% 0.157 287)

  7. Step 600

    600

    #705DD0

    oklch(55.6% 0.171 287.1)

  8. Step 700

    700

    #5E4CB4

    oklch(49.1% 0.158 287)

  9. Step 800

    800

    #4C3F92

    oklch(42.7% 0.132 286.6)

  10. Step 900

    900

    #3F3674

    oklch(37.6% 0.103 287)

  11. Step 950

    950

    #252044

    oklch(26.9% 0.065 287.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFACE2 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)#9EB3E40.027
Deuteranopia (no green cones)#9DB0E10.025
Tritanopia (no blue cones)#A4B5BF0.066
Achromatopsia (no color)#B1B1B10.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFACE2

    #AFACE2

    oklch(76.6% 0.077 287)

  • #B8B77D

    #B8B77D

    oklch(76.6% 0.077 107.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFACE2

    #AFACE2

    oklch(76.6% 0.077 287)

  • #94B5E4

    #94B5E4

    oklch(76.6% 0.077 257.2)

  • #C7A4D4

    #C7A4D4

    oklch(76.6% 0.077 316.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFACE2

    #AFACE2

    oklch(76.6% 0.077 287)

  • #CFAD7B

    #CFAD7B

    oklch(76.6% 0.077 76.8)

  • #9CBF8F

    #9CBF8F

    oklch(76.6% 0.077 137.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFACE2

    #AFACE2

    oklch(76.6% 0.077 287)

  • #DDA489

    #DDA489

    oklch(76.6% 0.078 46.4)

  • #82C3A9

    #82C3A9

    oklch(76.6% 0.077 167.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFACE2

    #AFACE2

    oklch(76.6% 0.077 287)

  • #E09FA1

    #E09FA1

    oklch(76.5% 0.078 17)

  • #B8B77D

    #B8B77D

    oklch(76.6% 0.077 107.3)

  • #75C2C4

    #75C2C4

    oklch(76.5% 0.076 197.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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