#B5AFE2

Closest named color: Pastel Blue (#A2BFFE). oklch(77.7% 0.072 290), rgb(181, 175, 226).

Aa

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

About this color

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

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

Values

HEX#B5AFE2
RGBrgb(181, 175, 226)
HSLhsl(247, 47%, 79%)
OKLCHoklch(77.7% 0.072 290)

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 #B5AFE2 2.05:1 Fails Lc -44.7 Non-text elements, placeholder text
Black text on #B5AFE2 10.19:1 AAA Lc 63.8 Content text, not long reading
#B5AFE2 text on white 2.05:1 Fails Lc 40.2 Non-text elements, placeholder text
#B5AFE2 text on black 10.19:1 AAA Lc -62.1 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F7

    oklch(93.6% 0.02 289.1)

  3. Step 200

    200

    #D8D5F3

    oklch(88.5% 0.041 290.1)

  4. Step 300

    300 (this color)

    #B5AFE2

    oklch(77.7% 0.072 290)

  5. Step 400

    400

    #A094E4

    oklch(70.8% 0.116 290)

  6. Step 500

    500

    #8A77DC

    oklch(63.2% 0.148 290.1)

  7. Step 600

    600

    #745DC9

    oklch(55.5% 0.161 289.9)

  8. Step 700

    700

    #624CAE

    oklch(49% 0.15 290.1)

  9. Step 800

    800

    #503F8D

    oklch(42.7% 0.124 290.2)

  10. Step 900

    900

    #423671

    oklch(37.7% 0.098 290.3)

  11. Step 950

    950

    #262042

    oklch(26.9% 0.062 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#B5AFE2 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)#A3B6E40.028
Deuteranopia (no green cones)#A3B4E10.027
Tritanopia (no blue cones)#ACB7C00.062
Achromatopsia (no color)#B5B5B50.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #B5AFE2

    #B5AFE2

    oklch(77.7% 0.072 290)

  • #B9BB85

    #B9BB85

    oklch(77.7% 0.072 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B5AFE2

    #B5AFE2

    oklch(77.7% 0.072 290)

  • #9CB8E5

    #9CB8E5

    oklch(77.8% 0.072 259.8)

  • #CBA8D3

    #CBA8D3

    oklch(77.6% 0.071 320)

Open the analogous palette in the generator

Split complementary

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

  • #B5AFE2

    #B5AFE2

    oklch(77.7% 0.072 290)

  • #CFB281

    #CFB281

    oklch(77.7% 0.073 80.4)

  • #9EC296

    #9EC296

    oklch(77.6% 0.073 140)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B5AFE2

    #B5AFE2

    oklch(77.7% 0.072 290)

  • #DDA98D

    #DDA98D

    oklch(77.6% 0.073 49.6)

  • #87C6AF

    #87C6AF

    oklch(77.7% 0.073 169.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B5AFE2

    #B5AFE2

    oklch(77.7% 0.072 290)

  • #E1A4A3

    #E1A4A3

    oklch(77.6% 0.073 19.9)

  • #B9BB85

    #B9BB85

    oklch(77.7% 0.072 109.8)

  • #7DC5C8

    #7DC5C8

    oklch(77.7% 0.072 199.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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