#AFB4ED

Closest named color: Pastel Blue (#A2BFFE). oklch(78.6% 0.081 280.5), rgb(175, 180, 237).

Aa

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

About this color

#AFB4ED is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.081 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.034 away. Black text reads best on it, at 10.57:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text10.57:1
White text1.98:1

Values

HEX#AFB4ED
RGBrgb(175, 180, 237)
HSLhsl(235, 63%, 81%)
OKLCHoklch(78.6% 0.081 280.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 #AFB4ED 1.98:1 Fails Lc -42.8 Non-text elements, placeholder text
Black text on #AFB4ED 10.57:1 AAA Lc 65.5 Content text, not long reading
#AFB4ED text on white 1.98:1 Fails Lc 38.4 Non-text elements, placeholder text
#AFB4ED text on black 10.57:1 AAA Lc -64.0 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

    #E6E8FA

    oklch(93.5% 0.024 280.9)

  3. Step 200

    200

    #D3D6F7

    oklch(88.4% 0.045 281.3)

  4. Step 300

    300 (this color)

    #AFB4ED

    oklch(78.6% 0.081 280.5)

  5. Step 400

    400

    #9296F0

    oklch(70.7% 0.131 280.6)

  6. Step 500

    500

    #7979EA

    oklch(63% 0.166 280.5)

  7. Step 600

    600

    #645FD8

    oklch(55.5% 0.18 280.6)

  8. Step 700

    700

    #534EBC

    oklch(49.2% 0.168 280.3)

  9. Step 800

    800

    #444098

    oklch(42.6% 0.14 280.7)

  10. Step 900

    900

    #393879

    oklch(37.8% 0.108 280.6)

  11. Step 950

    950

    #212147

    oklch(27% 0.069 280.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFB4ED 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)#A4BAF00.019
Deuteranopia (no green cones)#A1B6EC0.019
Tritanopia (no blue cones)#A0BEC80.071
Achromatopsia (no color)#B8B8B80.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB4ED

    #AFB4ED

    oklch(78.6% 0.081 280.5)

  • #C5BB7E

    #C5BB7E

    oklch(78.6% 0.081 100)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB4ED

    #AFB4ED

    oklch(78.6% 0.081 280.5)

  • #92BEEC

    #92BEEC

    oklch(78.7% 0.081 250)

  • #CAABE0

    #CAABE0

    oklch(78.6% 0.081 311)

Open the analogous palette in the generator

Split complementary

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

  • #AFB4ED

    #AFB4ED

    oklch(78.6% 0.081 280.5)

  • #DBB180

    #DBB180

    oklch(78.7% 0.081 70.5)

  • #A8C48D

    #A8C48D

    oklch(78.5% 0.081 130)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB4ED

    #AFB4ED

    oklch(78.6% 0.081 280.5)

  • #E7A892

    #E7A892

    oklch(78.6% 0.081 40.1)

  • #8ACAA8

    #8ACAA8

    oklch(78.6% 0.082 160.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB4ED

    #AFB4ED

    oklch(78.6% 0.081 280.5)

  • #E8A4AD

    #E8A4AD

    oklch(78.6% 0.081 10.3)

  • #C5BB7E

    #C5BB7E

    oklch(78.6% 0.081 100)

  • #78CAC5

    #78CAC5

    oklch(78.5% 0.081 190.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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