#AFB1FB

Closest named color: Pastel Blue (#A2BFFE). oklch(78.6% 0.105 282.5), rgb(175, 177, 251).

Aa

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

About this color

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

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

Values

HEX#AFB1FB
RGBrgb(175, 177, 251)
HSLhsl(238, 90%, 84%)
OKLCHoklch(78.6% 0.105 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 #AFB1FB 1.99:1 Fails Lc -43.1 Non-text elements, placeholder text
Black text on #AFB1FB 10.50:1 AAA Lc 65.2 Content text, not long reading
#AFB1FB text on white 1.99:1 Fails Lc 38.7 Non-text elements, placeholder text
#AFB1FB text on black 10.50:1 AAA Lc -63.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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E6E8FE

    oklch(93.6% 0.03 281.7)

  3. Step 200

    200

    #D3D5FF

    oklch(88.5% 0.058 283)

  4. Step 300

    300 (this color)

    #AFB1FB

    oklch(78.6% 0.105 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

    #6850F4

    oklch(55.7% 0.233 282.4)

  8. Step 700

    700

    #573ED4

    oklch(49% 0.217 282.5)

  9. Step 800

    800

    #4735AC

    oklch(42.7% 0.18 282.5)

  10. Step 900

    900

    #3A3188

    oklch(37.8% 0.139 282.1)

  11. Step 950

    950

    #221E4F

    oklch(27.1% 0.087 282.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFB1FB 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)#9CBAFE0.031
Deuteranopia (no green cones)#98B5F90.031
Tritanopia (no blue cones)#9CBFCB0.093
Achromatopsia (no color)#B7B7B70.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB1FB

    #AFB1FB

    oklch(78.6% 0.105 282.5)

  • #C6BC6A

    #C6BC6A

    oklch(78.6% 0.104 102.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB1FB

    #AFB1FB

    oklch(78.6% 0.105 282.5)

  • #88BEFB

    #88BEFB

    oklch(78.7% 0.104 252.1)

  • #D0A6EA

    #D0A6EA

    oklch(78.6% 0.104 312.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFB1FB

    #AFB1FB

    oklch(78.6% 0.105 282.5)

  • #E3AF6B

    #E3AF6B

    oklch(78.7% 0.105 72.7)

  • #A0C881

    #A0C881

    oklch(78.7% 0.105 132.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB1FB

    #AFB1FB

    oklch(78.6% 0.105 282.5)

  • #F3A383

    #F3A383

    oklch(78.7% 0.105 42.6)

  • #76CFA5

    #76CFA5

    oklch(78.7% 0.106 162.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB1FB

    #AFB1FB

    oklch(78.6% 0.105 282.5)

  • #F49DA7

    #F49DA7

    oklch(78.6% 0.104 12.3)

  • #C6BC6A

    #C6BC6A

    oklch(78.6% 0.104 102.3)

  • #5ACFCB

    #5ACFCB

    oklch(78.7% 0.105 192.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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