#AFB3FF

Closest named color: Pastel Blue (#A2BFFE). oklch(79.2% 0.108 281.3), rgb(175, 179, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.108)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text10.71:1
White text1.95:1

Values

HEX#AFB3FF
RGBrgb(175, 179, 255)
HSLhsl(237, 100%, 84%)
OKLCHoklch(79.2% 0.108 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 #AFB3FF 1.95:1 Fails Lc -42.1 Non-text elements, placeholder text
Black text on #AFB3FF 10.71:1 AAA Lc 66.2 Content text, not long reading
#AFB3FF text on white 1.95:1 Fails Lc 37.7 Non-text elements, placeholder text
#AFB3FF text on black 10.71: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)

    #AFB3FF

    oklch(79.2% 0.108 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

    #654FF8

    oklch(55.6% 0.239 281.2)

  8. Step 700

    700

    #553DD8

    oklch(49% 0.223 281.4)

  9. Step 800

    800

    #4535AF

    oklch(42.8% 0.184 281.2)

  10. Step 900

    900

    #39308A

    oklch(37.7% 0.144 281.5)

  11. Step 950

    950

    #211D51

    oklch(27% 0.092 281.8)

Export this scale for Tailwind in the Tailwind colors tool

#AFB3FF 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.031
Deuteranopia (no green cones)#99B6FD0.029
Tritanopia (no blue cones)#9AC1CE0.095
Achromatopsia (no color)#B9B9B90.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB3FF

    #AFB3FF

    oklch(79.2% 0.108 281.3)

  • #CABE68

    #CABE68

    oklch(79.3% 0.109 101.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB3FF

    #AFB3FF

    oklch(79.2% 0.108 281.3)

  • #86C0FE

    #86C0FE

    oklch(79.2% 0.107 250.9)

  • #D2A7EE

    #D2A7EE

    oklch(79.2% 0.108 311.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFB3FF

    #AFB3FF

    oklch(79.2% 0.108 281.3)

  • #E7AF6B

    #E7AF6B

    oklch(79.2% 0.108 70.6)

  • #A2CA80

    #A2CA80

    oklch(79.2% 0.108 131.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB3FF

    #AFB3FF

    oklch(79.2% 0.108 281.3)

  • #F6A485

    #F6A485

    oklch(79.2% 0.107 41.5)

  • #77D1A5

    #77D1A5

    oklch(79.2% 0.108 161.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB3FF

    #AFB3FF

    oklch(79.2% 0.108 281.3)

  • #F89EAA

    #F89EAA

    oklch(79.3% 0.108 11.1)

  • #CABE68

    #CABE68

    oklch(79.3% 0.109 101.4)

  • #59D1CC

    #59D1CC

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

Similar named colors

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

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