#AFB3FE

Closest named color: Pastel Blue (#A2BFFE). oklch(79.1% 0.106 281.3), rgb(175, 179, 254).

Aa

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

About this color

#AFB3FE is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.106 and its hue 281°. 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.70:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.106)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text10.70:1
White text1.96:1

Values

HEX#AFB3FE
RGBrgb(175, 179, 254)
HSLhsl(237, 98%, 84%)
OKLCHoklch(79.1% 0.106 281.3)

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 #AFB3FE 1.96:1 Fails Lc -42.1 Non-text elements, placeholder text
Black text on #AFB3FE 10.70:1 AAA Lc 66.2 Content text, not long reading
#AFB3FE text on white 1.96:1 Fails Lc 37.8 Non-text elements, placeholder text
#AFB3FE text on black 10.70:1 AAA Lc -64.7 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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E6E8FF

    oklch(93.6% 0.031 281.8)

  3. Step 200

    200

    #D2D5FF

    oklch(88.4% 0.058 281.9)

  4. Step 300

    300 (this color)

    #AFB3FE

    oklch(79.1% 0.106 281.3)

  5. Step 400

    400

    #9192FF

    oklch(70.7% 0.157 281.2)

  6. Step 500

    500

    #7971FF

    oklch(63% 0.204 281.3)

  7. Step 600

    600

    #6550F6

    oklch(55.6% 0.236 281.2)

  8. Step 700

    700

    #553ED7

    oklch(49.1% 0.221 281.4)

  9. Step 800

    800

    #4535AD

    oklch(42.6% 0.182 281.5)

  10. Step 900

    900

    #393189

    oklch(37.8% 0.141 281.3)

  11. Step 950

    950

    #211E50

    oklch(27.1% 0.089 281.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFB3FE 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)#9DBCFF0.030
Deuteranopia (no green cones)#99B6FC0.029
Tritanopia (no blue cones)#9BC1CE0.093
Achromatopsia (no color)#B9B9B90.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB3FE

    #AFB3FE

    oklch(79.1% 0.106 281.3)

  • #C9BD6A

    #C9BD6A

    oklch(79% 0.105 101.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB3FE

    #AFB3FE

    oklch(79.1% 0.106 281.3)

  • #87C0FD

    #87C0FD

    oklch(79.2% 0.106 250.9)

  • #D1A7ED

    #D1A7ED

    oklch(79% 0.107 311.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFB3FE

    #AFB3FE

    oklch(79.1% 0.106 281.3)

  • #E6AF6C

    #E6AF6C

    oklch(79.1% 0.106 70.8)

  • #A3C981

    #A3C981

    oklch(79.1% 0.105 131.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB3FE

    #AFB3FE

    oklch(79.1% 0.106 281.3)

  • #F5A485

    #F5A485

    oklch(79.1% 0.106 41.7)

  • #78D0A5

    #78D0A5

    oklch(79% 0.106 161.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB3FE

    #AFB3FE

    oklch(79.1% 0.106 281.3)

  • #F79EAA

    #F79EAA

    oklch(79.2% 0.107 11)

  • #C9BD6A

    #C9BD6A

    oklch(79% 0.105 101.2)

  • #5BD1CC

    #5BD1CC

    oklch(79.2% 0.106 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 #AFB3FE, closest first.

Similar named colors

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

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