#B1AFEF

Closest named color: Pastel Blue (#A2BFFE). oklch(77.9% 0.091 285.5), rgb(177, 175, 239).

Aa

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

About this color

#B1AFEF is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.091 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.043 away. Black text reads best on it, at 10.24:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.091)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text10.24:1
White text2.04:1

Values

HEX#B1AFEF
RGBrgb(177, 175, 239)
HSLhsl(242, 67%, 81%)
OKLCHoklch(77.9% 0.091 285.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 #B1AFEF 2.04:1 Fails Lc -44.4 Non-text elements, placeholder text
Black text on #B1AFEF 10.24:1 AAA Lc 64.0 Content text, not long reading
#B1AFEF text on white 2.04:1 Fails Lc 39.9 Non-text elements, placeholder text
#B1AFEF text on black 10.24:1 AAA Lc -62.4 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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E8E8FB

    oklch(93.7% 0.026 285.9)

  3. Step 200

    200

    #D5D5FA

    oklch(88.5% 0.051 285.3)

  4. Step 300

    300 (this color)

    #B1AFEF

    oklch(77.9% 0.091 285.5)

  5. Step 400

    400

    #9991F6

    oklch(70.6% 0.145 285.7)

  6. Step 500

    500

    #8272F3

    oklch(63% 0.186 285.4)

  7. Step 600

    600

    #6E57E1

    oklch(55.7% 0.201 285.5)

  8. Step 700

    700

    #5C45C4

    oklch(49% 0.188 285.4)

  9. Step 800

    800

    #4B3A9E

    oklch(42.7% 0.155 285.5)

  10. Step 900

    900

    #3E337E

    oklch(37.7% 0.122 285.6)

  11. Step 950

    950

    #241F4A

    oklch(27.1% 0.077 285.3)

Export this scale for Tailwind in the Tailwind colors tool

#B1AFEF 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)#9EB7F20.030
Deuteranopia (no green cones)#9CB3ED0.029
Tritanopia (no blue cones)#A3BAC50.079
Achromatopsia (no color)#B5B5B50.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #B1AFEF

    #B1AFEF

    oklch(77.9% 0.091 285.5)

  • #BFBB75

    #BFBB75

    oklch(77.9% 0.091 105.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B1AFEF

    #B1AFEF

    oklch(77.9% 0.091 285.5)

  • #90BAF1

    #90BAF1

    oklch(77.9% 0.091 255.4)

  • #CEA6DF

    #CEA6DF

    oklch(78% 0.09 315.7)

Open the analogous palette in the generator

Split complementary

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

  • #B1AFEF

    #B1AFEF

    oklch(77.9% 0.091 285.5)

  • #D9AF74

    #D9AF74

    oklch(77.9% 0.091 75.2)

  • #9DC58A

    #9DC58A

    oklch(77.9% 0.092 135.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B1AFEF

    #B1AFEF

    oklch(77.9% 0.091 285.5)

  • #E8A586

    #E8A586

    oklch(77.9% 0.091 45.8)

  • #7CCAA9

    #7CCAA9

    oklch(77.9% 0.091 165.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B1AFEF

    #B1AFEF

    oklch(77.9% 0.091 285.5)

  • #EB9FA4

    #EB9FA4

    oklch(77.8% 0.091 15.1)

  • #BFBB75

    #BFBB75

    oklch(77.9% 0.091 105.5)

  • #6AC9C9

    #6AC9C9

    oklch(77.8% 0.09 195.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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