#AFB3F2

Closest named color: Pastel Blue (#A2BFFE). oklch(78.6% 0.089 281.3), rgb(175, 179, 242).

Aa

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

About this color

#AFB3F2 is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.089 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.55:1.

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

Values

HEX#AFB3F2
RGBrgb(175, 179, 242)
HSLhsl(236, 72%, 82%)
OKLCHoklch(78.6% 0.089 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 #AFB3F2 1.98:1 Fails Lc -42.9 Non-text elements, placeholder text
Black text on #AFB3F2 10.55:1 AAA Lc 65.5 Content text, not long reading
#AFB3F2 text on white 1.98:1 Fails Lc 38.5 Non-text elements, placeholder text
#AFB3F2 text on black 10.55:1 AAA Lc -63.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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E6E8FB

    oklch(93.5% 0.026 281.1)

  3. Step 200

    200

    #D3D6FA

    oklch(88.5% 0.05 281.6)

  4. Step 300

    300 (this color)

    #AFB3F2

    oklch(78.6% 0.089 281.3)

  5. Step 400

    400

    #9294F7

    oklch(70.7% 0.143 281.2)

  6. Step 500

    500

    #7A76F3

    oklch(63.1% 0.182 281.3)

  7. Step 600

    600

    #655AE2

    oklch(55.5% 0.199 281.4)

  8. Step 700

    700

    #5449C4

    oklch(49% 0.185 281.2)

  9. Step 800

    800

    #453D9F

    oklch(42.7% 0.153 281.4)

  10. Step 900

    900

    #39357E

    oklch(37.6% 0.12 281.4)

  11. Step 950

    950

    #21204A

    oklch(27% 0.076 281.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFB3F2 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)#A1BAF50.023
Deuteranopia (no green cones)#9EB6F00.023
Tritanopia (no blue cones)#9FBEC90.078
Achromatopsia (no color)#B8B8B80.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB3F2

    #AFB3F2

    oklch(78.6% 0.089 281.3)

  • #C5BC77

    #C5BC77

    oklch(78.7% 0.09 101.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB3F2

    #AFB3F2

    oklch(78.6% 0.089 281.3)

  • #8FBEF1

    #8FBEF1

    oklch(78.7% 0.089 251)

  • #CCA9E4

    #CCA9E4

    oklch(78.6% 0.09 311.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFB3F2

    #AFB3F2

    oklch(78.6% 0.089 281.3)

  • #DEB079

    #DEB079

    oklch(78.6% 0.089 70.9)

  • #A5C689

    #A5C689

    oklch(78.7% 0.09 131.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB3F2

    #AFB3F2

    oklch(78.6% 0.089 281.3)

  • #EBA68D

    #EBA68D

    oklch(78.5% 0.089 40.7)

  • #84CCA7

    #84CCA7

    oklch(78.7% 0.09 161)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB3F2

    #AFB3F2

    oklch(78.6% 0.089 281.3)

  • #ECA2AB

    #ECA2AB

    oklch(78.6% 0.089 11.3)

  • #C5BC77

    #C5BC77

    oklch(78.7% 0.09 101.8)

  • #6FCCC7

    #6FCCC7

    oklch(78.7% 0.089 191)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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