#BABAFA

Closest named color: Pastel Blue (#A2BFFE). oklch(81.2% 0.09 284.2), rgb(186, 186, 250).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.090)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text11.49:1
White text1.82:1

Values

HEX#BABAFA
RGBrgb(186, 186, 250)
HSLhsl(240, 86%, 85%)
OKLCHoklch(81.2% 0.09 284.2)

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 #BABAFA 1.82:1 Fails Lc -38.3 Non-text elements, placeholder text
Black text on #BABAFA 11.49:1 AAA Lc 69.7 Content text, not long reading
#BABAFA text on white 1.82:1 Fails Lc 34.2 Non-text elements, placeholder text
#BABAFA text on black 11.49:1 AAA Lc -68.4 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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E7E8FB

    oklch(93.6% 0.026 283.5)

  3. Step 200

    200

    #D4D5FA

    oklch(88.4% 0.051 284.1)

  4. Step 300

    300 (this color)

    #BABAFA

    oklch(81.2% 0.09 284.2)

  5. Step 400

    400

    #9792F6

    oklch(70.6% 0.144 284.4)

  6. Step 500

    500

    #8074F2

    oklch(63.2% 0.183 284.2)

  7. Step 600

    600

    #6B58E1

    oklch(55.6% 0.2 284.1)

  8. Step 700

    700

    #5A47C3

    oklch(49.1% 0.185 284.3)

  9. Step 800

    800

    #493B9E

    oklch(42.6% 0.154 284.2)

  10. Step 900

    900

    #3C347E

    oklch(37.7% 0.121 283.9)

  11. Step 950

    950

    #231F49

    oklch(26.9% 0.075 284.4)

Export this scale for Tailwind in the Tailwind colors tool

#BABAFA 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)#A9C2FD0.028
Deuteranopia (no green cones)#A7BEF80.026
Tritanopia (no blue cones)#ABC5D00.078
Achromatopsia (no color)#C0C0C00.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #BABAFA

    #BABAFA

    oklch(81.2% 0.09 284.2)

  • #CAC580

    #CAC580

    oklch(81.2% 0.09 104.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BABAFA

    #BABAFA

    oklch(81.2% 0.09 284.2)

  • #99C5FB

    #99C5FB

    oklch(81.2% 0.09 253.9)

  • #D7B0EA

    #D7B0EA

    oklch(81.1% 0.09 314.5)

Open the analogous palette in the generator

Split complementary

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

  • #BABAFA

    #BABAFA

    oklch(81.2% 0.09 284.2)

  • #E4B97F

    #E4B97F

    oklch(81.1% 0.09 74.3)

  • #A9CF93

    #A9CF93

    oklch(81.2% 0.091 134.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BABAFA

    #BABAFA

    oklch(81.2% 0.09 284.2)

  • #F3AF92

    #F3AF92

    oklch(81.1% 0.09 44)

  • #89D4B2

    #89D4B2

    oklch(81.1% 0.089 164.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BABAFA

    #BABAFA

    oklch(81.2% 0.09 284.2)

  • #F6AAB0

    #F6AAB0

    oklch(81.2% 0.09 14)

  • #CAC580

    #CAC580

    oklch(81.2% 0.09 104.7)

  • #76D4D3

    #76D4D3

    oklch(81.2% 0.09 194.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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