#AFB2E6

Closest named color: Pastel Blue (#A2BFFE). oklch(77.9% 0.074 282), rgb(175, 178, 230).

Aa

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

About this color

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

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

Values

HEX#AFB2E6
RGBrgb(175, 178, 230)
HSLhsl(237, 52%, 79%)
OKLCHoklch(77.9% 0.074 282)

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 #AFB2E6 2.03:1 Fails Lc -44.0 Non-text elements, placeholder text
Black text on #AFB2E6 10.33:1 AAA Lc 64.4 Content text, not long reading
#AFB2E6 text on white 2.03:1 Fails Lc 39.5 Non-text elements, placeholder text
#AFB2E6 text on black 10.33:1 AAA Lc -62.8 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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E7E8F8

    oklch(93.5% 0.022 283.1)

  3. Step 200

    200

    #D4D6F4

    oklch(88.4% 0.041 282.5)

  4. Step 300

    300 (this color)

    #AFB2E6

    oklch(77.9% 0.074 282)

  5. Step 400

    400

    #9597E8

    oklch(70.7% 0.118 281.9)

  6. Step 500

    500

    #7D7BE1

    oklch(63.1% 0.15 282.1)

  7. Step 600

    600

    #6761CF

    oklch(55.5% 0.165 282.1)

  8. Step 700

    700

    #5650B3

    oklch(49.1% 0.152 281.9)

  9. Step 800

    800

    #464291

    oklch(42.7% 0.126 281.9)

  10. Step 900

    900

    #3A3974

    oklch(37.7% 0.098 281.4)

  11. Step 950

    950

    #222244

    oklch(27.1% 0.062 281.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFB2E6 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)#A4B8E80.020
Deuteranopia (no green cones)#A2B4E50.018
Tritanopia (no blue cones)#A2BBC40.065
Achromatopsia (no color)#B6B6B60.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB2E6

    #AFB2E6

    oklch(77.9% 0.074 282)

  • #C0B982

    #C0B982

    oklch(77.8% 0.073 101.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB2E6

    #AFB2E6

    oklch(77.9% 0.074 282)

  • #95BBE6

    #95BBE6

    oklch(78% 0.074 251.9)

  • #C7AADA

    #C7AADA

    oklch(77.9% 0.074 311.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFB2E6

    #AFB2E6

    oklch(77.9% 0.074 282)

  • #D5B083

    #D5B083

    oklch(77.9% 0.074 71.9)

  • #A6C291

    #A6C291

    oklch(78% 0.074 132.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB2E6

    #AFB2E6

    oklch(77.9% 0.074 282)

  • #E1A892

    #E1A892

    oklch(77.9% 0.074 42)

  • #8CC6A9

    #8CC6A9

    oklch(77.8% 0.073 162.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB2E6

    #AFB2E6

    oklch(77.9% 0.074 282)

  • #E2A4AB

    #E2A4AB

    oklch(77.9% 0.074 11.4)

  • #C0B982

    #C0B982

    oklch(77.8% 0.073 101.8)

  • #7DC7C3

    #7DC7C3

    oklch(78% 0.074 191.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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