#BA96F2

Closest named color: Baby Purple (#CA9BF7). oklch(74.1% 0.134 301.2), rgb(186, 150, 242).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text8.73:1
White text2.40:1

Values

HEX#BA96F2
RGBrgb(186, 150, 242)
HSLhsl(263, 78%, 77%)
OKLCHoklch(74.1% 0.134 301.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 #BA96F2 2.40:1 Fails Lc -52.2 Large or bold text, headings
Black text on #BA96F2 8.73:1 AAA Lc 56.7 Large or bold text, headings
#BA96F2 text on white 2.40:1 Fails Lc 47.3 Large or bold text, headings
#BA96F2 text on black 8.73:1 AAA Lc -54.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 400.

  1. Step 50

    50

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #ECE6F8

    oklch(93.5% 0.025 301.1)

  3. Step 200

    200

    #DED3F4

    oklch(88.6% 0.046 300.7)

  4. Step 300

    300

    #CAB4EF

    oklch(80.9% 0.085 301.6)

  5. Step 400

    400 (this color)

    #BA96F2

    oklch(74.1% 0.134 301.2)

  6. Step 500

    500

    #9C6BDF

    oklch(63% 0.172 301.1)

  7. Step 600

    600

    #8850CD

    oklch(55.6% 0.187 301.2)

  8. Step 700

    700

    #7340B1

    oklch(49.1% 0.173 301)

  9. Step 800

    800

    #5E358F

    oklch(42.6% 0.144 301.5)

  10. Step 900

    900

    #4D3072

    oklch(37.8% 0.111 301.6)

  11. Step 950

    950

    #2D1D43

    oklch(27.1% 0.07 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#BA96F2 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)#7FA7F60.085
Deuteranopia (no green cones)#87A7F00.079
Tritanopia (no blue cones)#B0A5B90.104
Achromatopsia (no color)#A7A7A70.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA96F2

    #BA96F2

    oklch(74.1% 0.134 301.2)

  • #9EB850

    #9EB850

    oklch(74.1% 0.134 121.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA96F2

    #BA96F2

    oklch(74.1% 0.134 301.2)

  • #8DA5FF

    #8DA5FF

    oklch(74.1% 0.133 271.5)

  • #DB8AD2

    #DB8AD2

    oklch(74% 0.135 330.9)

Open the analogous palette in the generator

Split complementary

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

  • #BA96F2

    #BA96F2

    oklch(74.1% 0.134 301.2)

  • #CAA734

    #CAA734

    oklch(74% 0.134 91.3)

  • #64C37F

    #64C37F

    oklch(74.1% 0.134 151.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA96F2

    #BA96F2

    oklch(74.1% 0.134 301.2)

  • #E79649

    #E79649

    oklch(74.1% 0.134 61.6)

  • #00C6B0

    #00C6B0

    oklch(74.1% 0.134 181.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA96F2

    #BA96F2

    oklch(74.1% 0.134 301.2)

  • #F48976

    #F48976

    oklch(74.2% 0.134 31.1)

  • #9EB850

    #9EB850

    oklch(74.1% 0.134 121.5)

  • #00C0D9

    #00C0D9

    oklch(74.1% 0.129 211.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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