#AFAEF1

Closest named color: Pastel Blue (#A2BFFE). oklch(77.6% 0.095 284.6), rgb(175, 174, 241).

Aa

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

About this color

#AFAEF1 is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.095 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.14:1.

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

Values

HEX#AFAEF1
RGBrgb(175, 174, 241)
HSLhsl(241, 71%, 81%)
OKLCHoklch(77.6% 0.095 284.6)

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 #AFAEF1 2.06:1 Fails Lc -44.9 Non-text elements, placeholder text
Black text on #AFAEF1 10.14:1 AAA Lc 63.6 Content text, not long reading
#AFAEF1 text on white 2.06:1 Fails Lc 40.4 Non-text elements, placeholder text
#AFAEF1 text on black 10.14:1 AAA Lc -61.9 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

    #E7E8FC

    oklch(93.6% 0.027 283.6)

  3. Step 200

    200

    #D5D5FC

    oklch(88.5% 0.053 285.3)

  4. Step 300

    300 (this color)

    #AFAEF1

    oklch(77.6% 0.095 284.6)

  5. Step 400

    400

    #9791FB

    oklch(70.7% 0.152 284.4)

  6. Step 500

    500

    #8171F8

    oklch(63.1% 0.194 284.8)

  7. Step 600

    600

    #6C55E7

    oklch(55.7% 0.211 284.4)

  8. Step 700

    700

    #5B43C9

    oklch(49.1% 0.197 284.7)

  9. Step 800

    800

    #4A39A2

    oklch(42.7% 0.162 284.6)

  10. Step 900

    900

    #3D3381

    oklch(37.8% 0.126 284.4)

  11. Step 950

    950

    #231E4B

    oklch(26.8% 0.08 284.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFAEF1 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)#9CB6F40.030
Deuteranopia (no green cones)#9AB2EF0.029
Tritanopia (no blue cones)#9FBAC60.082
Achromatopsia (no color)#B4B4B40.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAEF1

    #AFAEF1

    oklch(77.6% 0.095 284.6)

  • #BFBA70

    #BFBA70

    oklch(77.6% 0.096 105)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAEF1

    #AFAEF1

    oklch(77.6% 0.095 284.6)

  • #8CB9F2

    #8CB9F2

    oklch(77.5% 0.095 254.7)

  • #CDA4E0

    #CDA4E0

    oklch(77.6% 0.095 314.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFAEF1

    #AFAEF1

    oklch(77.6% 0.095 284.6)

  • #DAAD70

    #DAAD70

    oklch(77.5% 0.094 74.1)

  • #9CC486

    #9CC486

    oklch(77.6% 0.095 134.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAEF1

    #AFAEF1

    oklch(77.6% 0.095 284.6)

  • #EAA384

    #EAA384

    oklch(77.7% 0.095 44.5)

  • #79CAA7

    #79CAA7

    oklch(77.7% 0.095 164.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAEF1

    #AFAEF1

    oklch(77.6% 0.095 284.6)

  • #EC9DA3

    #EC9DA3

    oklch(77.6% 0.095 14.5)

  • #BFBA70

    #BFBA70

    oklch(77.6% 0.096 105)

  • #63C9C8

    #63C9C8

    oklch(77.5% 0.095 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 #AFAEF1, closest first.

Similar named colors

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

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