#BAB7ED

Closest named color: Pastel Blue (#A2BFFE). oklch(80% 0.076 287.1), rgb(186, 183, 237).

Aa

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

About this color

#BAB7ED is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.076 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.038 away. Black text reads best on it, at 11.08:1.

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.076)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text11.08:1
White text1.89:1

Values

HEX#BAB7ED
RGBrgb(186, 183, 237)
HSLhsl(243, 60%, 82%)
OKLCHoklch(80% 0.076 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 #BAB7ED 1.89:1 Fails Lc -40.3 Non-text elements, placeholder text
Black text on #BAB7ED 11.08:1 AAA Lc 67.9 Content text, not long reading
#BAB7ED text on white 1.89:1 Fails Lc 36.0 Non-text elements, placeholder text
#BAB7ED text on black 11.08:1 AAA Lc -66.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

    #F5F5FC

    oklch(97.2% 0.009 286.2)

  2. Step 100

    100

    #E8E8F8

    oklch(93.6% 0.022 286)

  3. Step 200

    200

    #D7D5F4

    oklch(88.4% 0.042 288.5)

  4. Step 300

    300 (this color)

    #BAB7ED

    oklch(80% 0.076 287.1)

  5. Step 400

    400

    #9C94E8

    oklch(70.7% 0.121 287.2)

  6. Step 500

    500

    #8577E1

    oklch(63% 0.155 287.1)

  7. Step 600

    600

    #705DCF

    oklch(55.5% 0.169 287.2)

  8. Step 700

    700

    #5E4CB3

    oklch(49% 0.157 287.2)

  9. Step 800

    800

    #4D3F91

    oklch(42.7% 0.13 287.4)

  10. Step 900

    900

    #3F3774

    oklch(37.8% 0.101 286.5)

  11. Step 950

    950

    #252044

    oklch(26.9% 0.065 287.6)

Export this scale for Tailwind in the Tailwind colors tool

#BAB7ED 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)#AABEEF0.026
Deuteranopia (no green cones)#A9BBEC0.024
Tritanopia (no blue cones)#AFC0C90.066
Achromatopsia (no color)#BCBCBC0.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAB7ED

    #BAB7ED

    oklch(80% 0.076 287.1)

  • #C3C288

    #C3C288

    oklch(80.1% 0.077 107.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAB7ED

    #BAB7ED

    oklch(80% 0.076 287.1)

  • #9FC0EF

    #9FC0EF

    oklch(80% 0.076 257.2)

  • #D2AFDF

    #D2AFDF

    oklch(80% 0.077 316.8)

Open the analogous palette in the generator

Split complementary

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

  • #BAB7ED

    #BAB7ED

    oklch(80% 0.076 287.1)

  • #DAB886

    #DAB886

    oklch(80.1% 0.076 76.9)

  • #A7CA9A

    #A7CA9A

    oklch(80.1% 0.076 137.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAB7ED

    #BAB7ED

    oklch(80% 0.076 287.1)

  • #E8AF94

    #E8AF94

    oklch(80% 0.077 46.5)

  • #8DCEB4

    #8DCEB4

    oklch(80% 0.076 167.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAB7ED

    #BAB7ED

    oklch(80% 0.076 287.1)

  • #EBABAC

    #EBABAC

    oklch(80.1% 0.076 17.8)

  • #C3C288

    #C3C288

    oklch(80.1% 0.077 107.2)

  • #81CDCF

    #81CDCF

    oklch(80% 0.075 197.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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