#BAB5EF

Closest named color: Pale Violet (#CEAEFA). oklch(79.7% 0.082 288.3), rgb(186, 181, 239).

Aa

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

About this color

#BAB5EF is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.082 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.039 away. Black text reads best on it, at 10.94:1.

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.082)
Temperaturecool
Nearest namePale Violet (#CEAEFA)
Black text10.94:1
White text1.91:1

Values

HEX#BAB5EF
RGBrgb(186, 181, 239)
HSLhsl(245, 64%, 82%)
OKLCHoklch(79.7% 0.082 288.3)

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 #BAB5EF 1.91:1 Fails Lc -41.0 Non-text elements, placeholder text
Black text on #BAB5EF 10.94:1 AAA Lc 67.2 Content text, not long reading
#BAB5EF text on white 1.91:1 Fails Lc 36.7 Non-text elements, placeholder text
#BAB5EF text on black 10.94:1 AAA Lc -65.8 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

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D7D5F6

    oklch(88.5% 0.045 288.2)

  4. Step 300

    300 (this color)

    #BAB5EF

    oklch(79.7% 0.082 288.3)

  5. Step 400

    400

    #9E92ED

    oklch(70.7% 0.131 288.6)

  6. Step 500

    500

    #8774E7

    oklch(63% 0.167 288.2)

  7. Step 600

    600

    #735AD5

    oklch(55.7% 0.181 288.4)

  8. Step 700

    700

    #6049B9

    oklch(49.2% 0.169 288)

  9. Step 800

    800

    #4E3C95

    oklch(42.6% 0.14 288.3)

  10. Step 900

    900

    #413577

    oklch(37.8% 0.108 288.5)

  11. Step 950

    950

    #261F46

    oklch(27% 0.07 289.1)

Export this scale for Tailwind in the Tailwind colors tool

#BAB5EF 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)#A7BCF20.029
Deuteranopia (no green cones)#A6BAED0.029
Tritanopia (no blue cones)#AFBFC90.070
Achromatopsia (no color)#BBBBBB0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAB5EF

    #BAB5EF

    oklch(79.7% 0.082 288.3)

  • #C1C184

    #C1C184

    oklch(79.6% 0.08 108.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAB5EF

    #BAB5EF

    oklch(79.7% 0.082 288.3)

  • #9DBFF2

    #9DBFF2

    oklch(79.8% 0.082 258.3)

  • #D4ADDF

    #D4ADDF

    oklch(79.8% 0.081 318.7)

Open the analogous palette in the generator

Split complementary

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

  • #BAB5EF

    #BAB5EF

    oklch(79.7% 0.082 288.3)

  • #DAB780

    #DAB780

    oklch(79.7% 0.082 78.4)

  • #A3CA97

    #A3CA97

    oklch(79.7% 0.082 138.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAB5EF

    #BAB5EF

    oklch(79.7% 0.082 288.3)

  • #E9AE8F

    #E9AE8F

    oklch(79.8% 0.081 48.9)

  • #87CEB3

    #87CEB3

    oklch(79.7% 0.082 168.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAB5EF

    #BAB5EF

    oklch(79.7% 0.082 288.3)

  • #EDA8A9

    #EDA8A9

    oklch(79.7% 0.082 18.1)

  • #C1C184

    #C1C184

    oklch(79.6% 0.08 108.1)

  • #7ACDD0

    #7ACDD0

    oklch(79.7% 0.081 198.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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