#BAB1EF

Closest named color: Pale Violet (#CEAEFA). oklch(79% 0.088 290.9), rgb(186, 177, 239).

Aa

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

About this color

#BAB1EF is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.088 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.035 away. Black text reads best on it, at 10.62:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.088)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.62:1
White text1.97:1

Values

HEX#BAB1EF
RGBrgb(186, 177, 239)
HSLhsl(249, 66%, 82%)
OKLCHoklch(79% 0.088 290.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 #BAB1EF 1.97:1 Fails Lc -42.6 Non-text elements, placeholder text
Black text on #BAB1EF 10.62:1 AAA Lc 65.8 Content text, not long reading
#BAB1EF text on white 1.97:1 Fails Lc 38.1 Non-text elements, placeholder text
#BAB1EF text on black 10.62:1 AAA Lc -64.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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7FA

    oklch(93.5% 0.026 290.7)

  3. Step 200

    200

    #D8D4F8

    oklch(88.4% 0.049 290.4)

  4. Step 300

    300 (this color)

    #BAB1EF

    oklch(79% 0.088 290.9)

  5. Step 400

    400

    #A18FF1

    oklch(70.6% 0.141 290.8)

  6. Step 500

    500

    #8C70EC

    oklch(63.1% 0.18 290.7)

  7. Step 600

    600

    #7854DA

    oklch(55.6% 0.195 291.1)

  8. Step 700

    700

    #6544BD

    oklch(49.1% 0.181 290.8)

  9. Step 800

    800

    #523999

    oklch(42.7% 0.15 290.7)

  10. Step 900

    900

    #43327A

    oklch(37.6% 0.118 290.5)

  11. Step 950

    950

    #271E47

    oklch(26.9% 0.074 290.7)

Export this scale for Tailwind in the Tailwind colors tool

#BAB1EF 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)#A2B9F20.035
Deuteranopia (no green cones)#A2B7ED0.035
Tritanopia (no blue cones)#AFBBC70.073
Achromatopsia (no color)#B8B8B80.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAB1EF

    #BAB1EF

    oklch(79% 0.088 290.9)

  • #BCC07E

    #BCC07E

    oklch(78.9% 0.087 111.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAB1EF

    #BAB1EF

    oklch(79% 0.088 290.9)

  • #9BBBF3

    #9BBBF3

    oklch(78.9% 0.088 261.4)

  • #D5A8DD

    #D5A8DD

    oklch(79% 0.088 321.3)

Open the analogous palette in the generator

Split complementary

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

  • #BAB1EF

    #BAB1EF

    oklch(79% 0.088 290.9)

  • #D7B579

    #D7B579

    oklch(78.9% 0.087 81.1)

  • #9CC994

    #9CC994

    oklch(79% 0.088 140.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAB1EF

    #BAB1EF

    oklch(79% 0.088 290.9)

  • #E8AB87

    #E8AB87

    oklch(79% 0.087 51.6)

  • #7ECDB3

    #7ECDB3

    oklch(79% 0.087 171)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAB1EF

    #BAB1EF

    oklch(79% 0.088 290.9)

  • #EEA4A2

    #EEA4A2

    oklch(79% 0.088 21)

  • #BCC07E

    #BCC07E

    oklch(78.9% 0.087 111.2)

  • #70CCD1

    #70CCD1

    oklch(79% 0.088 200.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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