#B1AFE2

Closest named color: Pastel Blue (#A2BFFE). oklch(77.3% 0.072 286.4), rgb(177, 175, 226).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text10.09:1
White text2.07:1

Values

HEX#B1AFE2
RGBrgb(177, 175, 226)
HSLhsl(242, 47%, 79%)
OKLCHoklch(77.3% 0.072 286.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 #B1AFE2 2.07:1 Fails Lc -45.2 Large or bold text, headings
Black text on #B1AFE2 10.09:1 AAA Lc 63.3 Content text, not long reading
#B1AFE2 text on white 2.07:1 Fails Lc 40.6 Non-text elements, placeholder text
#B1AFE2 text on black 10.09:1 AAA Lc -61.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

    #F5F5FC

    oklch(97.2% 0.009 286.2)

  2. Step 100

    100

    #E8E8F8

    oklch(93.6% 0.022 286)

  3. Step 200

    200

    #D6D6F3

    oklch(88.5% 0.04 285.6)

  4. Step 300

    300 (this color)

    #B1AFE2

    oklch(77.3% 0.072 286.4)

  5. Step 400

    400

    #9B95E5

    oklch(70.7% 0.116 286.5)

  6. Step 500

    500

    #8479DE

    oklch(63.2% 0.148 286.3)

  7. Step 600

    600

    #6F60CB

    oklch(55.7% 0.16 286.4)

  8. Step 700

    700

    #5D4EB0

    oklch(49.1% 0.15 286.5)

  9. Step 800

    800

    #4C418E

    oklch(42.8% 0.123 286.5)

  10. Step 900

    900

    #3F3872

    oklch(37.8% 0.096 286.4)

  11. Step 950

    950

    #242143

    oklch(27% 0.062 285.5)

Export this scale for Tailwind in the Tailwind colors tool

#B1AFE2 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)#A2B5E40.023
Deuteranopia (no green cones)#A1B2E10.022
Tritanopia (no blue cones)#A6B8C00.064
Achromatopsia (no color)#B4B4B40.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #B1AFE2

    #B1AFE2

    oklch(77.3% 0.072 286.4)

  • #BBB983

    #BBB983

    oklch(77.4% 0.072 106.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B1AFE2

    #B1AFE2

    oklch(77.3% 0.072 286.4)

  • #98B8E4

    #98B8E4

    oklch(77.5% 0.072 256.4)

  • #C8A8D5

    #C8A8D5

    oklch(77.4% 0.072 316.1)

Open the analogous palette in the generator

Split complementary

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

  • #B1AFE2

    #B1AFE2

    oklch(77.3% 0.072 286.4)

  • #D0B081

    #D0B081

    oklch(77.4% 0.073 76.9)

  • #A0C093

    #A0C093

    oklch(77.2% 0.071 136.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B1AFE2

    #B1AFE2

    oklch(77.3% 0.072 286.4)

  • #DDA88E

    #DDA88E

    oklch(77.4% 0.072 47.3)

  • #88C5AB

    #88C5AB

    oklch(77.4% 0.073 166.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B1AFE2

    #B1AFE2

    oklch(77.3% 0.072 286.4)

  • #E0A3A5

    #E0A3A5

    oklch(77.4% 0.073 16.7)

  • #BBB983

    #BBB983

    oklch(77.4% 0.072 106.2)

  • #7CC4C5

    #7CC4C5

    oklch(77.3% 0.072 196.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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