#B1AFEB

Closest named color: Pastel Blue (#A2BFFE). oklch(77.7% 0.085 285.8), rgb(177, 175, 235).

Aa

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

About this color

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

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

Values

HEX#B1AFEB
RGBrgb(177, 175, 235)
HSLhsl(242, 60%, 80%)
OKLCHoklch(77.7% 0.085 285.8)

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 #B1AFEB 2.05:1 Fails Lc -44.7 Non-text elements, placeholder text
Black text on #B1AFEB 10.20:1 AAA Lc 63.8 Content text, not long reading
#B1AFEB text on white 2.05:1 Fails Lc 40.1 Non-text elements, placeholder text
#B1AFEB text on black 10.20:1 AAA Lc -62.2 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

    #F4F4FD

    oklch(97% 0.012 286.2)

  2. Step 100

    100

    #E8E8FA

    oklch(93.6% 0.024 285.9)

  3. Step 200

    200

    #D6D5F8

    oklch(88.5% 0.048 286.7)

  4. Step 300

    300 (this color)

    #B1AFEB

    oklch(77.7% 0.085 285.8)

  5. Step 400

    400

    #9A93F1

    oklch(70.8% 0.135 285.8)

  6. Step 500

    500

    #8374EC

    oklch(63% 0.174 286)

  7. Step 600

    600

    #6E5ADA

    oklch(55.6% 0.188 285.7)

  8. Step 700

    700

    #5C48BE

    oklch(49% 0.177 285.6)

  9. Step 800

    800

    #4B3C99

    oklch(42.6% 0.146 285.8)

  10. Step 900

    900

    #3E357A

    oklch(37.7% 0.113 285.6)

  11. Step 950

    950

    #242047

    oklch(27.1% 0.07 285.3)

Export this scale for Tailwind in the Tailwind colors tool

#B1AFEB 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)#9FB6EE0.027
Deuteranopia (no green cones)#9EB3E90.027
Tritanopia (no blue cones)#A4B9C40.073
Achromatopsia (no color)#B5B5B50.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #B1AFEB

    #B1AFEB

    oklch(77.7% 0.085 285.8)

  • #BDBA7A

    #BDBA7A

    oklch(77.6% 0.084 105.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B1AFEB

    #B1AFEB

    oklch(77.7% 0.085 285.8)

  • #93B9ED

    #93B9ED

    oklch(77.7% 0.085 256.4)

  • #CCA6DC

    #CCA6DC

    oklch(77.7% 0.086 315.8)

Open the analogous palette in the generator

Split complementary

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

  • #B1AFEB

    #B1AFEB

    oklch(77.7% 0.085 285.8)

  • #D6AF78

    #D6AF78

    oklch(77.6% 0.085 75.5)

  • #9EC38D

    #9EC38D

    oklch(77.6% 0.084 136)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B1AFEB

    #B1AFEB

    oklch(77.7% 0.085 285.8)

  • #E5A689

    #E5A689

    oklch(77.8% 0.085 45.7)

  • #80C8AA

    #80C8AA

    oklch(77.7% 0.085 166)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B1AFEB

    #B1AFEB

    oklch(77.7% 0.085 285.8)

  • #E8A0A4

    #E8A0A4

    oklch(77.7% 0.086 15.6)

  • #BDBA7A

    #BDBA7A

    oklch(77.6% 0.084 105.9)

  • #70C8C8

    #70C8C8

    oklch(77.8% 0.085 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 #B1AFEB, closest first.

Similar named colors

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

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