#B2AFEF

Closest named color: Pastel Blue (#A2BFFE). oklch(77.9% 0.091 286.2), rgb(178, 175, 239).

Aa

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

About this color

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

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

Values

HEX#B2AFEF
RGBrgb(178, 175, 239)
HSLhsl(243, 67%, 81%)
OKLCHoklch(77.9% 0.091 286.2)

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 #B2AFEF 2.04:1 Fails Lc -44.3 Non-text elements, placeholder text
Black text on #B2AFEF 10.27:1 AAA Lc 64.1 Content text, not long reading
#B2AFEF text on white 2.04:1 Fails Lc 39.8 Non-text elements, placeholder text
#B2AFEF text on black 10.27:1 AAA Lc -62.5 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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E8E8FB

    oklch(93.7% 0.026 285.9)

  3. Step 200

    200

    #D6D5FA

    oklch(88.6% 0.051 286.6)

  4. Step 300

    300 (this color)

    #B2AFEF

    oklch(77.9% 0.091 286.2)

  5. Step 400

    400

    #9A91F6

    oklch(70.7% 0.145 286.1)

  6. Step 500

    500

    #8472F2

    oklch(63.1% 0.185 286.3)

  7. Step 600

    600

    #6F56E1

    oklch(55.6% 0.202 286.1)

  8. Step 700

    700

    #5E45C3

    oklch(49.1% 0.187 286.4)

  9. Step 800

    800

    #4C3A9E

    oklch(42.7% 0.155 286.1)

  10. Step 900

    900

    #3F337D

    oklch(37.7% 0.12 286.5)

  11. Step 950

    950

    #241F49

    oklch(27% 0.075 285.6)

Export this scale for Tailwind in the Tailwind colors tool

#B2AFEF 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)#9EB7F20.031
Deuteranopia (no green cones)#9DB4ED0.030
Tritanopia (no blue cones)#A4BAC50.079
Achromatopsia (no color)#B5B5B50.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2AFEF

    #B2AFEF

    oklch(77.9% 0.091 286.2)

  • #BEBB76

    #BEBB76

    oklch(77.9% 0.09 106.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2AFEF

    #B2AFEF

    oklch(77.9% 0.091 286.2)

  • #91BAF1

    #91BAF1

    oklch(78% 0.091 255.9)

  • #CEA6DE

    #CEA6DE

    oklch(78% 0.089 316.2)

Open the analogous palette in the generator

Split complementary

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

  • #B2AFEF

    #B2AFEF

    oklch(77.9% 0.091 286.2)

  • #D9B074

    #D9B074

    oklch(78.1% 0.091 76.3)

  • #9DC58B

    #9DC58B

    oklch(78% 0.091 136.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2AFEF

    #B2AFEF

    oklch(77.9% 0.091 286.2)

  • #E8A586

    #E8A586

    oklch(77.9% 0.091 45.8)

  • #7CCAAA

    #7CCAAA

    oklch(77.9% 0.091 166.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2AFEF

    #B2AFEF

    oklch(77.9% 0.091 286.2)

  • #EBA0A3

    #EBA0A3

    oklch(78% 0.09 16.7)

  • #BEBB76

    #BEBB76

    oklch(77.9% 0.09 106.2)

  • #6AC9CA

    #6AC9CA

    oklch(77.8% 0.09 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 #B2AFEF, closest first.

Similar named colors

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

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