#BAB7EF

Closest named color: Pastel Blue (#A2BFFE). oklch(80.1% 0.079 286.9), rgb(186, 183, 239).

Aa

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

About this color

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

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

Values

HEX#BAB7EF
RGBrgb(186, 183, 239)
HSLhsl(243, 64%, 83%)
OKLCHoklch(80.1% 0.079 286.9)

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 #BAB7EF 1.89:1 Fails Lc -40.2 Non-text elements, placeholder text
Black text on #BAB7EF 11.10:1 AAA Lc 68.0 Content text, not long reading
#BAB7EF text on white 1.89:1 Fails Lc 35.9 Non-text elements, placeholder text
#BAB7EF text on black 11.10:1 AAA Lc -66.6 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E8E8F9

    oklch(93.6% 0.023 286)

  3. Step 200

    200

    #D6D5F5

    oklch(88.4% 0.044 286.9)

  4. Step 300

    300 (this color)

    #BAB7EF

    oklch(80.1% 0.079 286.9)

  5. Step 400

    400

    #9C93EB

    oklch(70.7% 0.127 287.4)

  6. Step 500

    500

    #8576E4

    oklch(63% 0.161 287.1)

  7. Step 600

    600

    #705CD2

    oklch(55.6% 0.175 287.1)

  8. Step 700

    700

    #5E4BB6

    oklch(49.1% 0.162 287)

  9. Step 800

    800

    #4D3E93

    oklch(42.7% 0.134 287.4)

  10. Step 900

    900

    #3F3676

    oklch(37.7% 0.106 286.6)

  11. Step 950

    950

    #252045

    oklch(27% 0.067 287.2)

Export this scale for Tailwind in the Tailwind colors tool

#BAB7EF 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)#A9BEF10.027
Deuteranopia (no green cones)#A8BBED0.026
Tritanopia (no blue cones)#AEC0CA0.068
Achromatopsia (no color)#BCBCBC0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAB7EF

    #BAB7EF

    oklch(80.1% 0.079 286.9)

  • #C4C286

    #C4C286

    oklch(80.1% 0.079 106.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAB7EF

    #BAB7EF

    oklch(80.1% 0.079 286.9)

  • #9EC0F1

    #9EC0F1

    oklch(80% 0.079 257.5)

  • #D3AFE0

    #D3AFE0

    oklch(80.2% 0.078 317)

Open the analogous palette in the generator

Split complementary

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

  • #BAB7EF

    #BAB7EF

    oklch(80.1% 0.079 286.9)

  • #DBB884

    #DBB884

    oklch(80.1% 0.079 77.1)

  • #A7CA98

    #A7CA98

    oklch(80% 0.078 136.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAB7EF

    #BAB7EF

    oklch(80.1% 0.079 286.9)

  • #E9AF93

    #E9AF93

    oklch(80.1% 0.078 46.9)

  • #8CCFB3

    #8CCFB3

    oklch(80.2% 0.079 166.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAB7EF

    #BAB7EF

    oklch(80.1% 0.079 286.9)

  • #EDAAAC

    #EDAAAC

    oklch(80.2% 0.079 17)

  • #C4C286

    #C4C286

    oklch(80.1% 0.079 106.4)

  • #7ECECF

    #7ECECF

    oklch(80.1% 0.079 196.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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