#AFB2E8

Closest named color: Pastel Blue (#A2BFFE). oklch(78% 0.077 282), rgb(175, 178, 232).

Aa

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

About this color

#AFB2E8 is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.077 and its hue 282°. 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.35:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text10.35:1
White text2.02:1

Values

HEX#AFB2E8
RGBrgb(175, 178, 232)
HSLhsl(237, 55%, 80%)
OKLCHoklch(78% 0.077 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 #AFB2E8 2.02:1 Fails Lc -43.9 Non-text elements, placeholder text
Black text on #AFB2E8 10.35:1 AAA Lc 64.5 Content text, not long reading
#AFB2E8 text on white 2.02:1 Fails Lc 39.4 Non-text elements, placeholder text
#AFB2E8 text on black 10.35:1 AAA Lc -62.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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E7E8F9

    oklch(93.5% 0.023 283.3)

  3. Step 200

    200

    #D4D6F5

    oklch(88.4% 0.043 282.6)

  4. Step 300

    300 (this color)

    #AFB2E8

    oklch(78% 0.077 282)

  5. Step 400

    400

    #9596EB

    oklch(70.7% 0.123 282.3)

  6. Step 500

    500

    #7C7AE5

    oklch(63.1% 0.157 281.7)

  7. Step 600

    600

    #6760D3

    oklch(55.6% 0.171 282)

  8. Step 700

    700

    #564FB6

    oklch(49.1% 0.158 282)

  9. Step 800

    800

    #464194

    oklch(42.7% 0.132 281.9)

  10. Step 900

    900

    #3A3876

    oklch(37.7% 0.103 281.7)

  11. Step 950

    950

    #222145

    oklch(26.9% 0.066 282.3)

Export this scale for Tailwind in the Tailwind colors tool

#AFB2E8 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)#A3B8EA0.020
Deuteranopia (no green cones)#A1B4E70.019
Tritanopia (no blue cones)#A2BBC40.067
Achromatopsia (no color)#B6B6B60.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB2E8

    #AFB2E8

    oklch(78% 0.077 282)

  • #C1BA80

    #C1BA80

    oklch(78.1% 0.077 102.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB2E8

    #AFB2E8

    oklch(78% 0.077 282)

  • #94BBE8

    #94BBE8

    oklch(78% 0.077 252.4)

  • #C8AADC

    #C8AADC

    oklch(78.1% 0.077 311.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFB2E8

    #AFB2E8

    oklch(78% 0.077 282)

  • #D6B081

    #D6B081

    oklch(78% 0.076 72.3)

  • #A5C28F

    #A5C28F

    oklch(77.9% 0.077 132.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB2E8

    #AFB2E8

    oklch(78% 0.077 282)

  • #E3A891

    #E3A891

    oklch(78.1% 0.077 42.2)

  • #8AC7A8

    #8AC7A8

    oklch(77.9% 0.077 161.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB2E8

    #AFB2E8

    oklch(78% 0.077 282)

  • #E4A4AA

    #E4A4AA

    oklch(78.1% 0.076 12.8)

  • #C1BA80

    #C1BA80

    oklch(78.1% 0.077 102.1)

  • #7AC7C4

    #7AC7C4

    oklch(77.9% 0.077 192.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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