#B2AFED

Closest named color: Pastel Blue (#A2BFFE). oklch(77.9% 0.088 286.4), rgb(178, 175, 237).

Aa

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

About this color

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

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

Values

HEX#B2AFED
RGBrgb(178, 175, 237)
HSLhsl(243, 63%, 81%)
OKLCHoklch(77.9% 0.088 286.4)

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 #B2AFED 2.04:1 Fails Lc -44.4 Non-text elements, placeholder text
Black text on #B2AFED 10.24:1 AAA Lc 64.0 Content text, not long reading
#B2AFED text on white 2.04:1 Fails Lc 39.9 Non-text elements, placeholder text
#B2AFED text on black 10.24:1 AAA Lc -62.4 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

    #E8E8FB

    oklch(93.7% 0.026 285.9)

  3. Step 200

    200

    #D6D5F9

    oklch(88.5% 0.049 286.6)

  4. Step 300

    300 (this color)

    #B2AFED

    oklch(77.9% 0.088 286.4)

  5. Step 400

    400

    #9B92F3

    oklch(70.8% 0.139 286.5)

  6. Step 500

    500

    #8473EF

    oklch(63.1% 0.18 286.3)

  7. Step 600

    600

    #6F58DD

    oklch(55.6% 0.194 286.2)

  8. Step 700

    700

    #5E47C0

    oklch(49.2% 0.181 286.4)

  9. Step 800

    800

    #4C3B9B

    oklch(42.7% 0.15 286.3)

  10. Step 900

    900

    #3F347C

    oklch(37.8% 0.118 286.3)

  11. Step 950

    950

    #251F48

    oklch(27% 0.074 287.1)

Export this scale for Tailwind in the Tailwind colors tool

#B2AFED 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)#9FB7F00.030
Deuteranopia (no green cones)#9DB3EB0.029
Tritanopia (no blue cones)#A5BAC50.076
Achromatopsia (no color)#B5B5B50.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2AFED

    #B2AFED

    oklch(77.9% 0.088 286.4)

  • #BEBB78

    #BEBB78

    oklch(77.9% 0.088 106.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2AFED

    #B2AFED

    oklch(77.9% 0.088 286.4)

  • #92B9EF

    #92B9EF

    oklch(77.7% 0.088 256.6)

  • #CDA6DD

    #CDA6DD

    oklch(77.8% 0.087 316)

Open the analogous palette in the generator

Split complementary

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

  • #B2AFED

    #B2AFED

    oklch(77.9% 0.088 286.4)

  • #D7B076

    #D7B076

    oklch(77.9% 0.088 76.8)

  • #9DC48C

    #9DC48C

    oklch(77.8% 0.088 136.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2AFED

    #B2AFED

    oklch(77.9% 0.088 286.4)

  • #E6A687

    #E6A687

    oklch(77.9% 0.087 46.8)

  • #7EC9AA

    #7EC9AA

    oklch(77.8% 0.088 166.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2AFED

    #B2AFED

    oklch(77.9% 0.088 286.4)

  • #EAA0A3

    #EAA0A3

    oklch(77.9% 0.088 16.6)

  • #BEBB78

    #BEBB78

    oklch(77.9% 0.088 106.1)

  • #6DC9CA

    #6DC9CA

    oklch(78% 0.088 196.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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