#B2AFE8

Closest named color: Pastel Blue (#A2BFFE). oklch(77.7% 0.081 286.8), rgb(178, 175, 232).

Aa

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

About this color

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

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

Values

HEX#B2AFE8
RGBrgb(178, 175, 232)
HSLhsl(243, 55%, 80%)
OKLCHoklch(77.7% 0.081 286.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 #B2AFE8 2.06:1 Fails Lc -44.7 Non-text elements, placeholder text
Black text on #B2AFE8 10.19:1 AAA Lc 63.8 Content text, not long reading
#B2AFE8 text on white 2.06:1 Fails Lc 40.2 Non-text elements, placeholder text
#B2AFE8 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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E8E8F9

    oklch(93.6% 0.023 286)

  3. Step 200

    200

    #D6D5F6

    oklch(88.4% 0.045 286.8)

  4. Step 300

    300 (this color)

    #B2AFE8

    oklch(77.7% 0.081 286.8)

  5. Step 400

    400

    #9B93ED

    oklch(70.7% 0.13 286.7)

  6. Step 500

    500

    #8576E7

    oklch(63.2% 0.165 286.8)

  7. Step 600

    600

    #705BD5

    oklch(55.6% 0.18 286.9)

  8. Step 700

    700

    #5E4AB8

    oklch(49.1% 0.166 286.9)

  9. Step 800

    800

    #4C3E95

    oklch(42.7% 0.137 286.4)

  10. Step 900

    900

    #3F3577

    oklch(37.6% 0.109 286.9)

  11. Step 950

    950

    #252046

    oklch(27.1% 0.069 286.9)

Export this scale for Tailwind in the Tailwind colors tool

#B2AFE8 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)#A0B6EA0.028
Deuteranopia (no green cones)#9FB3E60.027
Tritanopia (no blue cones)#A6B9C30.070
Achromatopsia (no color)#B5B5B50.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2AFE8

    #B2AFE8

    oklch(77.7% 0.081 286.8)

  • #BCBA7D

    #BCBA7D

    oklch(77.6% 0.081 106.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2AFE8

    #B2AFE8

    oklch(77.7% 0.081 286.8)

  • #95B9EA

    #95B9EA

    oklch(77.7% 0.081 256.2)

  • #CBA7D9

    #CBA7D9

    oklch(77.7% 0.08 316.4)

Open the analogous palette in the generator

Split complementary

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

  • #B2AFE8

    #B2AFE8

    oklch(77.7% 0.081 286.8)

  • #D4B07B

    #D4B07B

    oklch(77.7% 0.081 76.8)

  • #9EC390

    #9EC390

    oklch(77.7% 0.081 137.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2AFE8

    #B2AFE8

    oklch(77.7% 0.081 286.8)

  • #E2A78A

    #E2A78A

    oklch(77.7% 0.081 47.3)

  • #82C7AB

    #82C7AB

    oklch(77.6% 0.081 166.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2AFE8

    #B2AFE8

    oklch(77.7% 0.081 286.8)

  • #E5A2A4

    #E5A2A4

    oklch(77.7% 0.08 17.1)

  • #BCBA7D

    #BCBA7D

    oklch(77.6% 0.081 106.5)

  • #74C7C8

    #74C7C8

    oklch(77.8% 0.081 196.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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