#B2AFE4

Closest named color: Pastel Blue (#A2BFFE). oklch(77.5% 0.075 287.1), rgb(178, 175, 228).

Aa

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

About this color

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

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

Values

HEX#B2AFE4
RGBrgb(178, 175, 228)
HSLhsl(243, 50%, 79%)
OKLCHoklch(77.5% 0.075 287.1)

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 #B2AFE4 2.06:1 Fails Lc -45.0 Non-text elements, placeholder text
Black text on #B2AFE4 10.14:1 AAA Lc 63.5 Content text, not long reading
#B2AFE4 text on white 2.06:1 Fails Lc 40.4 Non-text elements, placeholder text
#B2AFE4 text on black 10.14:1 AAA Lc -61.9 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

    #D7D6F4

    oklch(88.6% 0.041 287.1)

  4. Step 300

    300 (this color)

    #B2AFE4

    oklch(77.5% 0.075 287.1)

  5. Step 400

    400

    #9C94E8

    oklch(70.7% 0.121 287.2)

  6. Step 500

    500

    #8577E0

    oklch(63% 0.154 287.2)

  7. Step 600

    600

    #705ECE

    oklch(55.6% 0.167 287.1)

  8. Step 700

    700

    #5E4DB2

    oklch(49.1% 0.154 287)

  9. Step 800

    800

    #4D3F90

    oklch(42.6% 0.129 287.6)

  10. Step 900

    900

    #3F3773

    oklch(37.7% 0.099 286.7)

  11. Step 950

    950

    #252143

    oklch(27.1% 0.062 286.9)

Export this scale for Tailwind in the Tailwind colors tool

#B2AFE4 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)#A2B6E60.026
Deuteranopia (no green cones)#A1B3E30.024
Tritanopia (no blue cones)#A7B8C10.065
Achromatopsia (no color)#B4B4B40.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2AFE4

    #B2AFE4

    oklch(77.5% 0.075 287.1)

  • #BBBA81

    #BBBA81

    oklch(77.6% 0.076 107.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2AFE4

    #B2AFE4

    oklch(77.5% 0.075 287.1)

  • #97B8E6

    #97B8E6

    oklch(77.5% 0.075 256.7)

  • #CAA7D6

    #CAA7D6

    oklch(77.5% 0.076 317.4)

Open the analogous palette in the generator

Split complementary

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

  • #B2AFE4

    #B2AFE4

    oklch(77.5% 0.075 287.1)

  • #D1B07F

    #D1B07F

    oklch(77.5% 0.075 77.1)

  • #9FC292

    #9FC292

    oklch(77.6% 0.077 137.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2AFE4

    #B2AFE4

    oklch(77.5% 0.075 287.1)

  • #DFA88D

    #DFA88D

    oklch(77.6% 0.075 47.3)

  • #86C6AC

    #86C6AC

    oklch(77.6% 0.076 167.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2AFE4

    #B2AFE4

    oklch(77.5% 0.075 287.1)

  • #E2A3A4

    #E2A3A4

    oklch(77.6% 0.075 17.9)

  • #BBBA81

    #BBBA81

    oklch(77.6% 0.076 107.2)

  • #79C5C6

    #79C5C6

    oklch(77.5% 0.075 196.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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