#BAB7EA

Closest named color: Pastel Blue (#A2BFFE). oklch(79.9% 0.072 287.4), rgb(186, 183, 234).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text11.04:1
White text1.90:1

Values

HEX#BAB7EA
RGBrgb(186, 183, 234)
HSLhsl(244, 55%, 82%)
OKLCHoklch(79.9% 0.072 287.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 #BAB7EA 1.90:1 Fails Lc -40.5 Non-text elements, placeholder text
Black text on #BAB7EA 11.04:1 AAA Lc 67.7 Content text, not long reading
#BAB7EA text on white 1.90:1 Fails Lc 36.2 Non-text elements, placeholder text
#BAB7EA text on black 11.04:1 AAA Lc -66.3 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

    #E8E8F7

    oklch(93.5% 0.02 286)

  3. Step 200

    200

    #D7D6F3

    oklch(88.6% 0.04 287.1)

  4. Step 300

    300 (this color)

    #BAB7EA

    oklch(79.9% 0.072 287.4)

  5. Step 400

    400

    #9C95E4

    oklch(70.7% 0.114 287.2)

  6. Step 500

    500

    #8579DC

    oklch(63.1% 0.145 287)

  7. Step 600

    600

    #705FCA

    oklch(55.5% 0.16 287.3)

  8. Step 700

    700

    #5E4EAF

    oklch(49.1% 0.149 287.2)

  9. Step 800

    800

    #4D408D

    oklch(42.6% 0.123 287.8)

  10. Step 900

    900

    #403771

    oklch(37.7% 0.096 288)

  11. Step 950

    950

    #252142

    oklch(27% 0.06 287.2)

Export this scale for Tailwind in the Tailwind colors tool

#BAB7EA 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)#ABBDEC0.023
Deuteranopia (no green cones)#AABBE90.023
Tritanopia (no blue cones)#B0BFC80.062
Achromatopsia (no color)#BCBCBC0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAB7EA

    #BAB7EA

    oklch(79.9% 0.072 287.4)

  • #C2C18B

    #C2C18B

    oklch(79.9% 0.072 107)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAB7EA

    #BAB7EA

    oklch(79.9% 0.072 287.4)

  • #A1C0EC

    #A1C0EC

    oklch(80% 0.071 257.1)

  • #D1B0DC

    #D1B0DC

    oklch(80% 0.071 317.6)

Open the analogous palette in the generator

Split complementary

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

  • #BAB7EA

    #BAB7EA

    oklch(79.9% 0.072 287.4)

  • #D8B889

    #D8B889

    oklch(79.9% 0.072 77)

  • #A8C99C

    #A8C99C

    oklch(80% 0.071 137.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAB7EA

    #BAB7EA

    oklch(79.9% 0.072 287.4)

  • #E5B096

    #E5B096

    oklch(79.9% 0.072 47.3)

  • #90CDB4

    #90CDB4

    oklch(80% 0.072 167.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAB7EA

    #BAB7EA

    oklch(79.9% 0.072 287.4)

  • #E8ABAD

    #E8ABAD

    oklch(79.9% 0.072 16.6)

  • #C2C18B

    #C2C18B

    oklch(79.9% 0.072 107)

  • #85CCCE

    #85CCCE

    oklch(79.9% 0.071 198.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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