#AFB1FF

Closest named color: Pastel Blue (#A2BFFE). oklch(78.8% 0.11 282.4), rgb(175, 177, 255).

Aa

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

About this color

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

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

Values

HEX#AFB1FF
RGBrgb(175, 177, 255)
HSLhsl(239, 100%, 84%)
OKLCHoklch(78.8% 0.11 282.4)

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 #AFB1FF 1.98:1 Fails Lc -42.9 Non-text elements, placeholder text
Black text on #AFB1FF 10.55:1 AAA Lc 65.5 Content text, not long reading
#AFB1FF text on white 1.98:1 Fails Lc 38.4 Non-text elements, placeholder text
#AFB1FF text on black 10.55:1 AAA Lc -64.0 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)

    #AFB1FF

    oklch(78.8% 0.11 282.4)

  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

    #684BFB

    oklch(55.6% 0.246 282.4)

  8. Step 700

    700

    #583ADA

    oklch(49.1% 0.228 282.6)

  9. Step 800

    800

    #4732B0

    oklch(42.6% 0.188 282.5)

  10. Step 900

    900

    #3A2F8B

    oklch(37.7% 0.146 282.2)

  11. Step 950

    950

    #221D52

    oklch(27.1% 0.093 282.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFB1FF 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)#9ABBFF0.035
Deuteranopia (no green cones)#97B5FD0.032
Tritanopia (no blue cones)#9BBFCD0.096
Achromatopsia (no color)#B8B8B80.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB1FF

    #AFB1FF

    oklch(78.8% 0.11 282.4)

  • #C7BD65

    #C7BD65

    oklch(78.8% 0.111 102.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB1FF

    #AFB1FF

    oklch(78.8% 0.11 282.4)

  • #85BEFF

    #85BEFF

    oklch(78.7% 0.111 252.4)

  • #D2A5ED

    #D2A5ED

    oklch(78.8% 0.111 312.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFB1FF

    #AFB1FF

    oklch(78.8% 0.11 282.4)

  • #E5AE66

    #E5AE66

    oklch(78.7% 0.11 72.5)

  • #9FC97E

    #9FC97E

    oklch(78.8% 0.11 132.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB1FF

    #AFB1FF

    oklch(78.8% 0.11 282.4)

  • #F6A281

    #F6A281

    oklch(78.8% 0.11 42.2)

  • #72D0A5

    #72D0A5

    oklch(78.8% 0.11 162.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB1FF

    #AFB1FF

    oklch(78.8% 0.11 282.4)

  • #F89CA6

    #F89CA6

    oklch(78.8% 0.11 12.8)

  • #C7BD65

    #C7BD65

    oklch(78.8% 0.111 102.8)

  • #52D0CD

    #52D0CD

    oklch(78.7% 0.11 192.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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