#AFAEF4

Closest named color: Pastel Blue (#A2BFFE). oklch(77.7% 0.099 284.5), rgb(175, 174, 244).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.099)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text10.18:1
White text2.06:1

Values

HEX#AFAEF4
RGBrgb(175, 174, 244)
HSLhsl(241, 76%, 82%)
OKLCHoklch(77.7% 0.099 284.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 #AFAEF4 2.06:1 Fails Lc -44.8 Non-text elements, placeholder text
Black text on #AFAEF4 10.18:1 AAA Lc 63.7 Content text, not long reading
#AFAEF4 text on white 2.06:1 Fails Lc 40.2 Non-text elements, placeholder text
#AFAEF4 text on black 10.18:1 AAA Lc -62.1 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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E7E8FD

    oklch(93.7% 0.028 283.7)

  3. Step 200

    200

    #D4D5FD

    oklch(88.5% 0.055 284.1)

  4. Step 300

    300 (this color)

    #AFAEF4

    oklch(77.7% 0.099 284.5)

  5. Step 400

    400

    #9790FF

    oklch(70.8% 0.159 284.4)

  6. Step 500

    500

    #806FFD

    oklch(63.1% 0.203 284.4)

  7. Step 600

    600

    #6C52EC

    oklch(55.6% 0.22 284.4)

  8. Step 700

    700

    #5B41CD

    oklch(49.1% 0.204 284.5)

  9. Step 800

    800

    #4A37A6

    oklch(42.7% 0.17 284.5)

  10. Step 900

    900

    #3D3183

    oklch(37.6% 0.132 284.8)

  11. Step 950

    950

    #231E4D

    oklch(27% 0.084 284.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFAEF4 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)#9BB7F70.032
Deuteranopia (no green cones)#98B2F20.031
Tritanopia (no blue cones)#9EBAC70.085
Achromatopsia (no color)#B4B4B40.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAEF4

    #AFAEF4

    oklch(77.7% 0.099 284.5)

  • #C0BA6D

    #C0BA6D

    oklch(77.7% 0.099 104.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAEF4

    #AFAEF4

    oklch(77.7% 0.099 284.5)

  • #8BBAF5

    #8BBAF5

    oklch(77.8% 0.099 254.5)

  • #CEA4E3

    #CEA4E3

    oklch(77.8% 0.099 314.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFAEF4

    #AFAEF4

    oklch(77.7% 0.099 284.5)

  • #DCAD6C

    #DCAD6C

    oklch(77.6% 0.099 74.4)

  • #9CC584

    #9CC584

    oklch(77.8% 0.099 134.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAEF4

    #AFAEF4

    oklch(77.7% 0.099 284.5)

  • #ECA282

    #ECA282

    oklch(77.7% 0.099 44.2)

  • #76CBA6

    #76CBA6

    oklch(77.8% 0.099 164.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAEF4

    #AFAEF4

    oklch(77.7% 0.099 284.5)

  • #EF9CA3

    #EF9CA3

    oklch(77.7% 0.1 14.1)

  • #C0BA6D

    #C0BA6D

    oklch(77.7% 0.099 104.6)

  • #5ECBCA

    #5ECBCA

    oklch(77.9% 0.1 194.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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