#AFB1FC

Closest named color: Pastel Blue (#A2BFFE). oklch(78.7% 0.106 282.5), rgb(175, 177, 252).

Aa

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

About this color

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

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

Values

HEX#AFB1FC
RGBrgb(175, 177, 252)
HSLhsl(238, 93%, 84%)
OKLCHoklch(78.7% 0.106 282.5)

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 #AFB1FC 1.99:1 Fails Lc -43.1 Non-text elements, placeholder text
Black text on #AFB1FC 10.51:1 AAA Lc 65.3 Content text, not long reading
#AFB1FC text on white 1.99:1 Fails Lc 38.6 Non-text elements, placeholder text
#AFB1FC text on black 10.51:1 AAA Lc -63.8 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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E6E8FF

    oklch(93.6% 0.031 281.8)

  3. Step 200

    200

    #D3D5FF

    oklch(88.5% 0.058 283)

  4. Step 300

    300 (this color)

    #AFB1FC

    oklch(78.7% 0.106 282.5)

  5. Step 400

    400

    #9391FF

    oklch(70.6% 0.158 282.4)

  6. Step 500

    500

    #7C70FF

    oklch(63.1% 0.205 282.6)

  7. Step 600

    600

    #684FF6

    oklch(55.7% 0.236 282.4)

  8. Step 700

    700

    #573DD6

    oklch(49% 0.22 282.4)

  9. Step 800

    800

    #4734AD

    oklch(42.7% 0.182 282.6)

  10. Step 900

    900

    #3A3089

    oklch(37.7% 0.142 282.2)

  11. Step 950

    950

    #221D50

    oklch(27% 0.09 283)

Export this scale for Tailwind in the Tailwind colors tool

#AFB1FC 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)#9BBAFF0.032
Deuteranopia (no green cones)#98B5FA0.031
Tritanopia (no blue cones)#9CBFCC0.093
Achromatopsia (no color)#B7B7B70.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB1FC

    #AFB1FC

    oklch(78.7% 0.106 282.5)

  • #C6BC69

    #C6BC69

    oklch(78.6% 0.105 102.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB1FC

    #AFB1FC

    oklch(78.7% 0.106 282.5)

  • #87BEFC

    #87BEFC

    oklch(78.7% 0.106 252.1)

  • #D1A6EB

    #D1A6EB

    oklch(78.8% 0.106 312.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFB1FC

    #AFB1FC

    oklch(78.7% 0.106 282.5)

  • #E3AE6A

    #E3AE6A

    oklch(78.5% 0.106 72.2)

  • #9FC881

    #9FC881

    oklch(78.6% 0.106 132.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB1FC

    #AFB1FC

    oklch(78.7% 0.106 282.5)

  • #F3A383

    #F3A383

    oklch(78.7% 0.105 42.6)

  • #75CFA5

    #75CFA5

    oklch(78.7% 0.107 162.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB1FC

    #AFB1FC

    oklch(78.7% 0.106 282.5)

  • #F59DA7

    #F59DA7

    oklch(78.7% 0.106 12.4)

  • #C6BC69

    #C6BC69

    oklch(78.6% 0.105 102.4)

  • #58CFCB

    #58CFCB

    oklch(78.6% 0.106 192.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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