#BA9DFC

Closest named color: Baby Purple (#CA9BF7). oklch(75.8% 0.136 297.1), rgb(186, 157, 252).

Aa

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

About this color

#BA9DFC is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.136 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.025 away. Black text reads best on it, at 9.31:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.136)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.31:1
White text2.25:1

Values

HEX#BA9DFC
RGBrgb(186, 157, 252)
HSLhsl(258, 94%, 80%)
OKLCHoklch(75.8% 0.136 297.1)

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 #BA9DFC 2.25:1 Fails Lc -49.2 Large or bold text, headings
Black text on #BA9DFC 9.31:1 AAA Lc 59.6 Large or bold text, headings
#BA9DFC text on white 2.25:1 Fails Lc 44.3 Non-text elements, placeholder text
#BA9DFC text on black 9.31:1 AAA Lc -57.8 Large or bold text, headings

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

    #F6F3FF

    oklch(97% 0.016 297.5)

  2. Step 100

    100

    #ECE5FF

    oklch(93.5% 0.036 298)

  3. Step 200

    200

    #DDD1FF

    oklch(88.5% 0.064 297)

  4. Step 300

    300 (this color)

    #BA9DFC

    oklch(75.8% 0.136 297.1)

  5. Step 400

    400

    #AE85FF

    oklch(70.8% 0.175 297.2)

  6. Step 500

    500

    #9C5EFF

    oklch(63.1% 0.228 297.1)

  7. Step 600

    600

    #8C22FF

    oklch(55.6% 0.283 296.9)

  8. Step 700

    700

    #7800E0

    oklch(49.1% 0.266 297)

  9. Step 800

    800

    #6300BA

    oklch(42.7% 0.232 297.2)

  10. Step 900

    900

    #501793

    oklch(37.7% 0.182 297.2)

  11. Step 950

    950

    #2E1256

    oklch(27% 0.114 296.7)

Export this scale for Tailwind in the Tailwind colors tool

#BA9DFC 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)#84ADFF0.077
Deuteranopia (no green cones)#89ACFA0.073
Tritanopia (no blue cones)#ADADC10.108
Achromatopsia (no color)#ADADAD0.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA9DFC

    #BA9DFC

    oklch(75.8% 0.136 297.1)

  • #ABBB4E

    #ABBB4E

    oklch(75.8% 0.135 116.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA9DFC

    #BA9DFC

    oklch(75.8% 0.136 297.1)

  • #8EAEFF

    #8EAEFF

    oklch(75.9% 0.122 267.1)

  • #DE90DD

    #DE90DD

    oklch(75.8% 0.137 327.3)

Open the analogous palette in the generator

Split complementary

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

  • #BA9DFC

    #BA9DFC

    oklch(75.8% 0.136 297.1)

  • #D6AA38

    #D6AA38

    oklch(75.9% 0.136 86.8)

  • #71C87C

    #71C87C

    oklch(75.9% 0.137 146.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA9DFC

    #BA9DFC

    oklch(75.8% 0.136 297.1)

  • #F19953

    #F19953

    oklch(75.9% 0.136 57.2)

  • #1ECCAF

    #1ECCAF

    oklch(75.8% 0.136 177.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA9DFC

    #BA9DFC

    oklch(75.8% 0.136 297.1)

  • #FB8C81

    #FB8C81

    oklch(75.8% 0.136 26.7)

  • #ABBB4E

    #ABBB4E

    oklch(75.8% 0.135 116.7)

  • #00C7DA

    #00C7DA

    oklch(75.8% 0.13 206.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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