#AFB3FB

Closest named color: Pastel Blue (#A2BFFE). oklch(79% 0.102 281.3), rgb(175, 179, 251).

Aa

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

About this color

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

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

Values

HEX#AFB3FB
RGBrgb(175, 179, 251)
HSLhsl(237, 90%, 84%)
OKLCHoklch(79% 0.102 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 #AFB3FB 1.96:1 Fails Lc -42.3 Non-text elements, placeholder text
Black text on #AFB3FB 10.66:1 AAA Lc 66.0 Content text, not long reading
#AFB3FB text on white 1.96:1 Fails Lc 37.9 Non-text elements, placeholder text
#AFB3FB text on black 10.66:1 AAA Lc -64.5 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

    #F4F5FF

    oklch(97.2% 0.013 281.6)

  2. Step 100

    100

    #E6E8FE

    oklch(93.6% 0.03 281.7)

  3. Step 200

    200

    #D2D5FF

    oklch(88.4% 0.058 281.9)

  4. Step 300

    300 (this color)

    #AFB3FB

    oklch(79% 0.102 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

    #6553F1

    oklch(55.6% 0.226 281.3)

  8. Step 700

    700

    #5541D2

    oklch(49% 0.211 281.5)

  9. Step 800

    800

    #4537AA

    oklch(42.7% 0.175 281.5)

  10. Step 900

    900

    #393286

    oklch(37.7% 0.135 281.5)

  11. Step 950

    950

    #211E4F

    oklch(27% 0.087 281.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFB3FB 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)#9EBBFE0.027
Deuteranopia (no green cones)#9BB6F90.027
Tritanopia (no blue cones)#9CC0CC0.090
Achromatopsia (no color)#B9B9B90.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB3FB

    #AFB3FB

    oklch(79% 0.102 281.3)

  • #C8BD6D

    #C8BD6D

    oklch(79% 0.102 101.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB3FB

    #AFB3FB

    oklch(79% 0.102 281.3)

  • #89BFFA

    #89BFFA

    oklch(79% 0.102 251.3)

  • #D0A8EB

    #D0A8EB

    oklch(79% 0.102 311.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFB3FB

    #AFB3FB

    oklch(79% 0.102 281.3)

  • #E4B06F

    #E4B06F

    oklch(79.1% 0.102 71.6)

  • #A3C883

    #A3C883

    oklch(78.9% 0.101 131.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB3FB

    #AFB3FB

    oklch(79% 0.102 281.3)

  • #F3A587

    #F3A587

    oklch(79.1% 0.102 41.8)

  • #7BCFA6

    #7BCFA6

    oklch(79% 0.102 161.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB3FB

    #AFB3FB

    oklch(79% 0.102 281.3)

  • #F49FAA

    #F49FAA

    oklch(79% 0.102 11.2)

  • #C8BD6D

    #C8BD6D

    oklch(79% 0.102 101.5)

  • #60D0CB

    #60D0CB

    oklch(79.1% 0.102 191.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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