#BAB8FB

Closest named color: Pastel Blue (#A2BFFE). oklch(80.8% 0.094 285.5), rgb(186, 184, 251).

Aa

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

About this color

#BAB8FB is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.094 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.033 away. Black text reads best on it, at 11.33:1.

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.094)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text11.33:1
White text1.85:1

Values

HEX#BAB8FB
RGBrgb(186, 184, 251)
HSLhsl(242, 89%, 85%)
OKLCHoklch(80.8% 0.094 285.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 #BAB8FB 1.85:1 Fails Lc -39.0 Non-text elements, placeholder text
Black text on #BAB8FB 11.33:1 AAA Lc 69.0 Content text, not long reading
#BAB8FB text on white 1.85:1 Fails Lc 34.9 Non-text elements, placeholder text
#BAB8FB text on black 11.33:1 AAA Lc -67.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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E8E8FC

    oklch(93.7% 0.027 285.9)

  3. Step 200

    200

    #D5D5FB

    oklch(88.5% 0.052 285.3)

  4. Step 300

    300 (this color)

    #BAB8FB

    oklch(80.8% 0.094 285.5)

  5. Step 400

    400

    #9991F9

    oklch(70.8% 0.149 285.4)

  6. Step 500

    500

    #8271F6

    oklch(63.1% 0.192 285.3)

  7. Step 600

    600

    #6E54E5

    oklch(55.5% 0.209 285.6)

  8. Step 700

    700

    #5C43C7

    oklch(49% 0.195 285.4)

  9. Step 800

    800

    #4B39A1

    oklch(42.7% 0.16 285.3)

  10. Step 900

    900

    #3E3280

    oklch(37.6% 0.126 285.6)

  11. Step 950

    950

    #241E4B

    oklch(26.9% 0.08 285.8)

Export this scale for Tailwind in the Tailwind colors tool

#BAB8FB 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)#A6C0FE0.030
Deuteranopia (no green cones)#A4BCF90.030
Tritanopia (no blue cones)#ABC4CF0.083
Achromatopsia (no color)#BEBEBE0.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAB8FB

    #BAB8FB

    oklch(80.8% 0.094 285.5)

  • #C9C47C

    #C9C47C

    oklch(80.8% 0.093 104.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAB8FB

    #BAB8FB

    oklch(80.8% 0.094 285.5)

  • #98C3FD

    #98C3FD

    oklch(80.8% 0.095 256)

  • #D8AEEA

    #D8AEEA

    oklch(80.8% 0.094 315.6)

Open the analogous palette in the generator

Split complementary

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

  • #BAB8FB

    #BAB8FB

    oklch(80.8% 0.094 285.5)

  • #E4B87A

    #E4B87A

    oklch(80.8% 0.094 75.3)

  • #A6CE91

    #A6CE91

    oklch(80.7% 0.093 135.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAB8FB

    #BAB8FB

    oklch(80.8% 0.094 285.5)

  • #F4AD8D

    #F4AD8D

    oklch(80.8% 0.095 45.2)

  • #83D4B2

    #83D4B2

    oklch(80.8% 0.094 165.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAB8FB

    #BAB8FB

    oklch(80.8% 0.094 285.5)

  • #F7A8AC

    #F7A8AC

    oklch(80.9% 0.094 16)

  • #C9C47C

    #C9C47C

    oklch(80.8% 0.093 104.9)

  • #6FD3D3

    #6FD3D3

    oklch(80.7% 0.094 195.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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