#BAB9EC

Closest named color: Pastel Blue (#A2BFFE). oklch(80.4% 0.072 285.6), rgb(186, 185, 236).

Aa

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

About this color

#BAB9EC is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.072 and its hue 286°. 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.23:1.

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

Values

HEX#BAB9EC
RGBrgb(186, 185, 236)
HSLhsl(241, 57%, 83%)
OKLCHoklch(80.4% 0.072 285.6)

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 #BAB9EC 1.86:1 Fails Lc -39.5 Non-text elements, placeholder text
Black text on #BAB9EC 11.23:1 AAA Lc 68.6 Content text, not long reading
#BAB9EC text on white 1.86:1 Fails Lc 35.3 Non-text elements, placeholder text
#BAB9EC text on black 11.23:1 AAA Lc -67.2 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

    #D6D6F3

    oklch(88.5% 0.04 285.6)

  4. Step 300

    300 (this color)

    #BAB9EC

    oklch(80.4% 0.072 285.6)

  5. Step 400

    400

    #9A96E5

    oklch(70.8% 0.114 285.4)

  6. Step 500

    500

    #837ADD

    oklch(63.2% 0.145 285.6)

  7. Step 600

    600

    #6D60CB

    oklch(55.5% 0.16 285.5)

  8. Step 700

    700

    #5C4FAF

    oklch(49.1% 0.147 285.8)

  9. Step 800

    800

    #4B418E

    oklch(42.7% 0.123 285.9)

  10. Step 900

    900

    #3E3871

    oklch(37.7% 0.095 285.7)

  11. Step 950

    950

    #242142

    oklch(26.9% 0.06 285.8)

Export this scale for Tailwind in the Tailwind colors tool

#BAB9EC 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)#ACBFEE0.022
Deuteranopia (no green cones)#ABBCEB0.021
Tritanopia (no blue cones)#AFC2CA0.064
Achromatopsia (no color)#BEBEBE0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAB9EC

    #BAB9EC

    oklch(80.4% 0.072 285.6)

  • #C5C28C

    #C5C28C

    oklch(80.3% 0.072 105.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAB9EC

    #BAB9EC

    oklch(80.4% 0.072 285.6)

  • #A1C2ED

    #A1C2ED

    oklch(80.5% 0.071 255.2)

  • #D1B1DF

    #D1B1DF

    oklch(80.3% 0.072 315.5)

Open the analogous palette in the generator

Split complementary

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

  • #BAB9EC

    #BAB9EC

    oklch(80.4% 0.072 285.6)

  • #DAB98B

    #DAB98B

    oklch(80.3% 0.072 75.6)

  • #ABCA9C

    #ABCA9C

    oklch(80.4% 0.071 135.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAB9EC

    #BAB9EC

    oklch(80.4% 0.072 285.6)

  • #E7B199

    #E7B199

    oklch(80.4% 0.072 45.1)

  • #93CEB4

    #93CEB4

    oklch(80.4% 0.071 165.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAB9EC

    #BAB9EC

    oklch(80.4% 0.072 285.6)

  • #EAADB0

    #EAADB0

    oklch(80.5% 0.072 15.5)

  • #C5C28C

    #C5C28C

    oklch(80.3% 0.072 105.2)

  • #86CECE

    #86CECE

    oklch(80.4% 0.072 195.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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