#B2AFEA

Closest named color: Pastel Blue (#A2BFFE). oklch(77.7% 0.084 286.6), rgb(178, 175, 234).

Aa

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

About this color

#B2AFEA is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.084 and its hue 287°. 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.21:1.

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

Values

HEX#B2AFEA
RGBrgb(178, 175, 234)
HSLhsl(243, 58%, 80%)
OKLCHoklch(77.7% 0.084 286.6)

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 #B2AFEA 2.05:1 Fails Lc -44.6 Non-text elements, placeholder text
Black text on #B2AFEA 10.21:1 AAA Lc 63.9 Content text, not long reading
#B2AFEA text on white 2.05:1 Fails Lc 40.1 Non-text elements, placeholder text
#B2AFEA text on black 10.21: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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E8E8FA

    oklch(93.6% 0.024 285.9)

  3. Step 200

    200

    #D6D5F7

    oklch(88.4% 0.047 286.8)

  4. Step 300

    300 (this color)

    #B2AFEA

    oklch(77.7% 0.084 286.6)

  5. Step 400

    400

    #9B93EF

    oklch(70.8% 0.132 286.5)

  6. Step 500

    500

    #8475EA

    oklch(63.2% 0.17 286.3)

  7. Step 600

    600

    #705AD8

    oklch(55.7% 0.185 286.8)

  8. Step 700

    700

    #5E49BC

    oklch(49.2% 0.173 286.6)

  9. Step 800

    800

    #4C3D98

    oklch(42.8% 0.143 286.2)

  10. Step 900

    900

    #3F3579

    oklch(37.8% 0.112 286.5)

  11. Step 950

    950

    #252047

    oklch(27.2% 0.07 286.6)

Export this scale for Tailwind in the Tailwind colors tool

#B2AFEA 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)#A0B6ED0.028
Deuteranopia (no green cones)#9FB3E80.027
Tritanopia (no blue cones)#A6B9C30.073
Achromatopsia (no color)#B5B5B50.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2AFEA

    #B2AFEA

    oklch(77.7% 0.084 286.6)

  • #BDBB7B

    #BDBB7B

    oklch(77.9% 0.084 106.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2AFEA

    #B2AFEA

    oklch(77.7% 0.084 286.6)

  • #94B9EC

    #94B9EC

    oklch(77.7% 0.084 256.5)

  • #CCA6DB

    #CCA6DB

    oklch(77.7% 0.085 316.3)

Open the analogous palette in the generator

Split complementary

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

  • #B2AFEA

    #B2AFEA

    oklch(77.7% 0.084 286.6)

  • #D5B079

    #D5B079

    oklch(77.7% 0.084 76.9)

  • #9EC38E

    #9EC38E

    oklch(77.6% 0.083 136.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2AFEA

    #B2AFEA

    oklch(77.7% 0.084 286.6)

  • #E4A689

    #E4A689

    oklch(77.7% 0.084 46.1)

  • #81C8AB

    #81C8AB

    oklch(77.8% 0.083 166.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2AFEA

    #B2AFEA

    oklch(77.7% 0.084 286.6)

  • #E7A1A4

    #E7A1A4

    oklch(77.7% 0.084 16.3)

  • #BDBB7B

    #BDBB7B

    oklch(77.9% 0.084 106.7)

  • #71C7C8

    #71C7C8

    oklch(77.6% 0.083 196.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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