#BAB8EA

Closest named color: Pastel Blue (#A2BFFE). oklch(80.1% 0.07 286.5), rgb(186, 184, 234).

Aa

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

About this color

#BAB8EA is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.070 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.13:1.

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.070)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text11.13:1
White text1.88:1

Values

HEX#BAB8EA
RGBrgb(186, 184, 234)
HSLhsl(242, 54%, 82%)
OKLCHoklch(80.1% 0.07 286.5)

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 #BAB8EA 1.88:1 Fails Lc -40.1 Non-text elements, placeholder text
Black text on #BAB8EA 11.13:1 AAA Lc 68.1 Content text, not long reading
#BAB8EA text on white 1.88:1 Fails Lc 35.8 Non-text elements, placeholder text
#BAB8EA text on black 11.13:1 AAA Lc -66.7 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

    #D6D6F2

    oklch(88.5% 0.038 285.6)

  4. Step 300

    300 (this color)

    #BAB8EA

    oklch(80.1% 0.07 286.5)

  5. Step 400

    400

    #9B96E3

    oklch(70.8% 0.111 286.2)

  6. Step 500

    500

    #8479DB

    oklch(63% 0.144 286.6)

  7. Step 600

    600

    #6F60C9

    oklch(55.6% 0.157 286.7)

  8. Step 700

    700

    #5D4FAE

    oklch(49.1% 0.146 286.5)

  9. Step 800

    800

    #4C418D

    oklch(42.7% 0.121 286.7)

  10. Step 900

    900

    #3F3870

    oklch(37.7% 0.093 286.8)

  11. Step 950

    950

    #252142

    oklch(27% 0.06 287.2)

Export this scale for Tailwind in the Tailwind colors tool

#BAB8EA 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)#ACBEEC0.022
Deuteranopia (no green cones)#ABBBE90.021
Tritanopia (no blue cones)#B0C0C90.060
Achromatopsia (no color)#BDBDBD0.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAB8EA

    #BAB8EA

    oklch(80.1% 0.07 286.5)

  • #C3C28D

    #C3C28D

    oklch(80.2% 0.071 107)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAB8EA

    #BAB8EA

    oklch(80.1% 0.07 286.5)

  • #A1C0EC

    #A1C0EC

    oklch(80% 0.071 257.1)

  • #D1B1DD

    #D1B1DD

    oklch(80.2% 0.07 316.8)

Open the analogous palette in the generator

Split complementary

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

  • #BAB8EA

    #BAB8EA

    oklch(80.1% 0.07 286.5)

  • #D8B98B

    #D8B98B

    oklch(80.2% 0.071 77.3)

  • #AAC99C

    #AAC99C

    oklch(80.1% 0.07 136)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAB8EA

    #BAB8EA

    oklch(80.1% 0.07 286.5)

  • #E5B198

    #E5B198

    oklch(80.2% 0.07 46.9)

  • #92CDB4

    #92CDB4

    oklch(80.1% 0.071 166.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAB8EA

    #BAB8EA

    oklch(80.1% 0.07 286.5)

  • #E8ACAE

    #E8ACAE

    oklch(80.1% 0.071 16.5)

  • #C3C28D

    #C3C28D

    oklch(80.2% 0.071 107)

  • #87CDCD

    #87CDCD

    oklch(80.2% 0.07 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 #BAB8EA, closest first.

Similar named colors

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

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