#AFB1E9

Closest named color: Pastel Blue (#A2BFFE). oklch(77.9% 0.08 282.8), rgb(175, 177, 233).

Aa

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

About this color

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

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

Values

HEX#AFB1E9
RGBrgb(175, 177, 233)
HSLhsl(238, 57%, 80%)
OKLCHoklch(77.9% 0.08 282.8)

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 #AFB1E9 2.04:1 Fails Lc -44.2 Non-text elements, placeholder text
Black text on #AFB1E9 10.28:1 AAA Lc 64.2 Content text, not long reading
#AFB1E9 text on white 2.04:1 Fails Lc 39.7 Non-text elements, placeholder text
#AFB1E9 text on black 10.28:1 AAA Lc -62.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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E7E8F9

    oklch(93.5% 0.023 283.3)

  3. Step 200

    200

    #D4D6F6

    oklch(88.5% 0.044 282.6)

  4. Step 300

    300 (this color)

    #AFB1E9

    oklch(77.9% 0.08 282.8)

  5. Step 400

    400

    #9695ED

    oklch(70.7% 0.127 283.2)

  6. Step 500

    500

    #7E78E7

    oklch(63% 0.163 283.1)

  7. Step 600

    600

    #685ED6

    oklch(55.5% 0.178 282.7)

  8. Step 700

    700

    #574DB9

    oklch(49.1% 0.164 282.7)

  9. Step 800

    800

    #474096

    oklch(42.7% 0.136 282.6)

  10. Step 900

    900

    #3B3777

    oklch(37.6% 0.106 282.9)

  11. Step 950

    950

    #222146

    oklch(27% 0.067 282.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFB1E9 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)#A2B7EB0.021
Deuteranopia (no green cones)#A0B4E80.021
Tritanopia (no blue cones)#A1BBC40.071
Achromatopsia (no color)#B5B5B50.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB1E9

    #AFB1E9

    oklch(77.9% 0.08 282.8)

  • #C0BA7D

    #C0BA7D

    oklch(77.9% 0.081 103.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB1E9

    #AFB1E9

    oklch(77.9% 0.08 282.8)

  • #93BAE9

    #93BAE9

    oklch(77.8% 0.08 253.4)

  • #C9A8DC

    #C9A8DC

    oklch(77.8% 0.081 313)

Open the analogous palette in the generator

Split complementary

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

  • #AFB1E9

    #AFB1E9

    oklch(77.9% 0.08 282.8)

  • #D6AF7E

    #D6AF7E

    oklch(77.7% 0.079 72.6)

  • #A3C28E

    #A3C28E

    oklch(77.8% 0.079 133.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB1E9

    #AFB1E9

    oklch(77.9% 0.08 282.8)

  • #E3A78E

    #E3A78E

    oklch(77.9% 0.079 43.6)

  • #87C7A8

    #87C7A8

    oklch(77.8% 0.079 162.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB1E9

    #AFB1E9

    oklch(77.9% 0.08 282.8)

  • #E5A2A9

    #E5A2A9

    oklch(77.8% 0.08 12.2)

  • #C0BA7D

    #C0BA7D

    oklch(77.9% 0.081 103.3)

  • #77C7C5

    #77C7C5

    oklch(77.8% 0.079 193.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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