#B1AFF2

Closest named color: Pastel Blue (#A2BFFE). oklch(78% 0.095 285.3), rgb(177, 175, 242).

Aa

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

About this color

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

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

Values

HEX#B1AFF2
RGBrgb(177, 175, 242)
HSLhsl(242, 72%, 82%)
OKLCHoklch(78% 0.095 285.3)

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 #B1AFF2 2.04:1 Fails Lc -44.3 Non-text elements, placeholder text
Black text on #B1AFF2 10.28:1 AAA Lc 64.2 Content text, not long reading
#B1AFF2 text on white 2.04:1 Fails Lc 39.7 Non-text elements, placeholder text
#B1AFF2 text on black 10.28:1 AAA Lc -62.6 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

    #E7E8FC

    oklch(93.6% 0.027 283.6)

  3. Step 200

    200

    #D5D5FB

    oklch(88.5% 0.052 285.3)

  4. Step 300

    300 (this color)

    #B1AFF2

    oklch(78% 0.095 285.3)

  5. Step 400

    400

    #9990FA

    oklch(70.6% 0.152 285.7)

  6. Step 500

    500

    #8271F7

    oklch(63.1% 0.193 285.2)

  7. Step 600

    600

    #6E54E6

    oklch(55.6% 0.211 285.4)

  8. Step 700

    700

    #5C43C8

    oklch(49.1% 0.196 285.2)

  9. Step 800

    800

    #4B38A2

    oklch(42.7% 0.163 285.4)

  10. Step 900

    900

    #3E3280

    oklch(37.6% 0.126 285.6)

  11. Step 950

    950

    #241E4B

    oklch(26.9% 0.08 285.8)

Export this scale for Tailwind in the Tailwind colors tool

#B1AFF2 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)#9DB7F50.031
Deuteranopia (no green cones)#9BB3F00.030
Tritanopia (no blue cones)#A2BBC70.082
Achromatopsia (no color)#B5B5B50.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #B1AFF2

    #B1AFF2

    oklch(78% 0.095 285.3)

  • #C0BB72

    #C0BB72

    oklch(78% 0.095 105)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B1AFF2

    #B1AFF2

    oklch(78% 0.095 285.3)

  • #8EBAF4

    #8EBAF4

    oklch(77.9% 0.096 255.6)

  • #CFA5E1

    #CFA5E1

    oklch(78% 0.095 315.6)

Open the analogous palette in the generator

Split complementary

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

  • #B1AFF2

    #B1AFF2

    oklch(78% 0.095 285.3)

  • #DBAF71

    #DBAF71

    oklch(78% 0.095 75.2)

  • #9DC588

    #9DC588

    oklch(77.9% 0.094 135.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B1AFF2

    #B1AFF2

    oklch(78% 0.095 285.3)

  • #EBA484

    #EBA484

    oklch(78% 0.095 45.1)

  • #79CBA9

    #79CBA9

    oklch(78% 0.095 165.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B1AFF2

    #B1AFF2

    oklch(78% 0.095 285.3)

  • #EE9EA3

    #EE9EA3

    oklch(78% 0.096 15.4)

  • #C0BB72

    #C0BB72

    oklch(78% 0.095 105)

  • #65CACA

    #65CACA

    oklch(77.9% 0.094 195.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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