#BAB7FF

Closest named color: Pale Violet (#CEAEFA). oklch(80.8% 0.101 285.8), rgb(186, 183, 255).

Aa

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

About this color

#BAB7FF is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.101 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.033 away. Black text reads best on it, at 11.30:1.

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.101)
Temperaturecool
Nearest namePale Violet (#CEAEFA)
Black text11.30:1
White text1.85:1

Values

HEX#BAB7FF
RGBrgb(186, 183, 255)
HSLhsl(242, 100%, 86%)
OKLCHoklch(80.8% 0.101 285.8)

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 #BAB7FF 1.85:1 Fails Lc -39.2 Non-text elements, placeholder text
Black text on #BAB7FF 11.30:1 AAA Lc 68.9 Content text, not long reading
#BAB7FF text on white 1.85:1 Fails Lc 35.0 Non-text elements, placeholder text
#BAB7FF text on black 11.30:1 AAA Lc -67.5 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

    #E8E8FD

    oklch(93.7% 0.028 285.8)

  3. Step 200

    200

    #D5D4FD

    oklch(88.4% 0.056 286.3)

  4. Step 300

    300 (this color)

    #BAB7FF

    oklch(80.8% 0.101 285.8)

  5. Step 400

    400

    #998FFF

    oklch(70.7% 0.16 285.6)

  6. Step 500

    500

    #836DFE

    oklch(63% 0.207 285.8)

  7. Step 600

    600

    #6F4FED

    oklch(55.5% 0.225 285.8)

  8. Step 700

    700

    #5E3ECE

    oklch(49% 0.209 286)

  9. Step 800

    800

    #4C35A7

    oklch(42.7% 0.173 285.7)

  10. Step 900

    900

    #3F3084

    oklch(37.7% 0.135 286.2)

  11. Step 950

    950

    #241D4D

    oklch(26.9% 0.085 285.8)

Export this scale for Tailwind in the Tailwind colors tool

#BAB7FF 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)#A3C0FF0.036
Deuteranopia (no green cones)#A2BCFD0.033
Tritanopia (no blue cones)#AAC4D00.088
Achromatopsia (no color)#BEBEBE0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAB7FF

    #BAB7FF

    oklch(80.8% 0.101 285.8)

  • #C9C576

    #C9C576

    oklch(80.9% 0.101 105.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAB7FF

    #BAB7FF

    oklch(80.8% 0.101 285.8)

  • #96C3FF

    #96C3FF

    oklch(80.7% 0.098 255.8)

  • #DAACED

    #DAACED

    oklch(80.8% 0.102 315.9)

Open the analogous palette in the generator

Split complementary

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

  • #BAB7FF

    #BAB7FF

    oklch(80.8% 0.101 285.8)

  • #E6B774

    #E6B774

    oklch(80.7% 0.101 75.4)

  • #A3CF8E

    #A3CF8E

    oklch(80.7% 0.1 135.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAB7FF

    #BAB7FF

    oklch(80.8% 0.101 285.8)

  • #F7AC89

    #F7AC89

    oklch(80.8% 0.101 45.9)

  • #7DD5B1

    #7DD5B1

    oklch(80.7% 0.1 165.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAB7FF

    #BAB7FF

    oklch(80.8% 0.101 285.8)

  • #FAA5AA

    #FAA5AA

    oklch(80.7% 0.101 15.7)

  • #C9C576

    #C9C576

    oklch(80.9% 0.101 105.9)

  • #66D5D5

    #66D5D5

    oklch(80.9% 0.101 195.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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