#AFB3F7

Closest named color: Pastel Blue (#A2BFFE). oklch(78.8% 0.097 281.3), rgb(175, 179, 247).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.097)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text10.61:1
White text1.97:1

Values

HEX#AFB3F7
RGBrgb(175, 179, 247)
HSLhsl(237, 82%, 83%)
OKLCHoklch(78.8% 0.097 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 #AFB3F7 1.97:1 Fails Lc -42.6 Non-text elements, placeholder text
Black text on #AFB3F7 10.61:1 AAA Lc 65.7 Content text, not long reading
#AFB3F7 text on white 1.97:1 Fails Lc 38.2 Non-text elements, placeholder text
#AFB3F7 text on black 10.61:1 AAA Lc -64.2 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

    #E6E8FD

    oklch(93.6% 0.028 281.5)

  3. Step 200

    200

    #D2D6FD

    oklch(88.5% 0.054 280.6)

  4. Step 300

    300 (this color)

    #AFB3F7

    oklch(78.8% 0.097 281.3)

  5. Step 400

    400

    #9192FE

    oklch(70.6% 0.156 281.2)

  6. Step 500

    500

    #7A73FB

    oklch(63.1% 0.196 281.5)

  7. Step 600

    600

    #6556EB

    oklch(55.6% 0.215 281.3)

  8. Step 700

    700

    #5545CC

    oklch(49.1% 0.199 281.5)

  9. Step 800

    800

    #453AA5

    oklch(42.7% 0.165 281.5)

  10. Step 900

    900

    #393483

    oklch(37.8% 0.128 281.2)

  11. Step 950

    950

    #211F4D

    oklch(27% 0.082 281.3)

Export this scale for Tailwind in the Tailwind colors tool

#AFB3F7 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)#A0BBFA0.026
Deuteranopia (no green cones)#9CB6F50.025
Tritanopia (no blue cones)#9DBFCB0.084
Achromatopsia (no color)#B8B8B80.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB3F7

    #AFB3F7

    oklch(78.8% 0.097 281.3)

  • #C7BC72

    #C7BC72

    oklch(78.8% 0.096 100.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB3F7

    #AFB3F7

    oklch(78.8% 0.097 281.3)

  • #8CBFF6

    #8CBFF6

    oklch(78.9% 0.095 250.9)

  • #CEA9E8

    #CEA9E8

    oklch(78.9% 0.096 310.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFB3F7

    #AFB3F7

    oklch(78.8% 0.097 281.3)

  • #E1B073

    #E1B073

    oklch(78.8% 0.097 71.8)

  • #A4C786

    #A4C786

    oklch(78.8% 0.096 131.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB3F7

    #AFB3F7

    oklch(78.8% 0.097 281.3)

  • #F0A58A

    #F0A58A

    oklch(78.8% 0.097 40.6)

  • #7FCEA6

    #7FCEA6

    oklch(78.9% 0.097 161)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB3F7

    #AFB3F7

    oklch(78.8% 0.097 281.3)

  • #F1A0AA

    #F1A0AA

    oklch(78.8% 0.097 11.4)

  • #C7BC72

    #C7BC72

    oklch(78.8% 0.096 100.9)

  • #67CEC9

    #67CEC9

    oklch(78.9% 0.096 191.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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