#AFAEF5

Closest named color: Pastel Blue (#A2BFFE). oklch(77.8% 0.101 284.5), rgb(175, 174, 245).

Aa

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

About this color

#AFAEF5 is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.101 and its hue 284°. 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.19:1.

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

Values

HEX#AFAEF5
RGBrgb(175, 174, 245)
HSLhsl(241, 78%, 82%)
OKLCHoklch(77.8% 0.101 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 #AFAEF5 2.05:1 Fails Lc -44.7 Non-text elements, placeholder text
Black text on #AFAEF5 10.19:1 AAA Lc 63.8 Content text, not long reading
#AFAEF5 text on white 2.05:1 Fails Lc 40.1 Non-text elements, placeholder text
#AFAEF5 text on black 10.19:1 AAA Lc -62.2 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

    #D4D5FE

    oklch(88.5% 0.056 284.1)

  4. Step 300

    300 (this color)

    #AFAEF5

    oklch(77.8% 0.101 284.5)

  5. Step 400

    400

    #9790FF

    oklch(70.8% 0.159 284.4)

  6. Step 500

    500

    #806FFE

    oklch(63.1% 0.205 284.3)

  7. Step 600

    600

    #6C51EE

    oklch(55.6% 0.224 284.3)

  8. Step 700

    700

    #5B40CF

    oklch(49.1% 0.208 284.4)

  9. Step 800

    800

    #4A36A7

    oklch(42.7% 0.172 284.5)

  10. Step 900

    900

    #3D3184

    oklch(37.7% 0.133 284.6)

  11. Step 950

    950

    #231E4E

    oklch(27.1% 0.085 283.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFAEF5 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)#9AB7F80.033
Deuteranopia (no green cones)#98B3F30.032
Tritanopia (no blue cones)#9EBBC70.088
Achromatopsia (no color)#B5B5B50.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAEF5

    #AFAEF5

    oklch(77.8% 0.101 284.5)

  • #C1BA6C

    #C1BA6C

    oklch(77.7% 0.1 104)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAEF5

    #AFAEF5

    oklch(77.8% 0.101 284.5)

  • #8ABAF6

    #8ABAF6

    oklch(77.8% 0.1 254.4)

  • #CFA3E4

    #CFA3E4

    oklch(77.8% 0.102 314.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFAEF5

    #AFAEF5

    oklch(77.8% 0.101 284.5)

  • #DDAD6B

    #DDAD6B

    oklch(77.7% 0.101 74.2)

  • #9CC583

    #9CC583

    oklch(77.7% 0.1 134.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAEF5

    #AFAEF5

    oklch(77.8% 0.101 284.5)

  • #EDA281

    #EDA281

    oklch(77.8% 0.101 44.6)

  • #75CBA6

    #75CBA6

    oklch(77.7% 0.1 164.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAEF5

    #AFAEF5

    oklch(77.8% 0.101 284.5)

  • #F09CA3

    #F09CA3

    oklch(77.8% 0.101 14.2)

  • #C1BA6C

    #C1BA6C

    oklch(77.7% 0.1 104)

  • #5DCBCA

    #5DCBCA

    oklch(77.8% 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 #AFAEF5, closest first.

Similar named colors

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

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