#BA97EA

Closest named color: Baby Purple (#CA9BF7). oklch(73.9% 0.122 302.9), rgb(186, 151, 234).

Aa

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

About this color

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

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

Values

HEX#BA97EA
RGBrgb(186, 151, 234)
HSLhsl(265, 66%, 75%)
OKLCHoklch(73.9% 0.122 302.9)

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 #BA97EA 2.41:1 Fails Lc -52.4 Large or bold text, headings
Black text on #BA97EA 8.70:1 AAA Lc 56.6 Large or bold text, headings
#BA97EA text on white 2.41:1 Fails Lc 47.4 Large or bold text, headings
#BA97EA text on black 8.70:1 AAA Lc -54.6 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE7F6

    oklch(93.7% 0.021 304)

  3. Step 200

    200

    #DED3F1

    oklch(88.5% 0.042 302.2)

  4. Step 300

    300

    #CAB5EA

    oklch(80.9% 0.077 302.8)

  5. Step 400

    400 (this color)

    #BA97EA

    oklch(73.9% 0.122 302.9)

  6. Step 500

    500

    #9D6ED6

    oklch(63% 0.157 303.1)

  7. Step 600

    600

    #8854C3

    oklch(55.6% 0.169 302.9)

  8. Step 700

    700

    #7443A9

    oklch(49.1% 0.159 303.1)

  9. Step 800

    800

    #5E3889

    oklch(42.7% 0.132 302.9)

  10. Step 900

    900

    #4D316D

    oklch(37.6% 0.102 303.4)

  11. Step 950

    950

    #2D1D40

    oklch(26.9% 0.065 303.4)

Export this scale for Tailwind in the Tailwind colors tool

#BA97EA 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)#84A6ED0.079
Deuteranopia (no green cones)#8BA7E80.074
Tritanopia (no blue cones)#B2A4B60.094
Achromatopsia (no color)#A7A7A70.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA97EA

    #BA97EA

    oklch(73.9% 0.122 302.9)

  • #9CB75C

    #9CB75C

    oklch(73.9% 0.122 123)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA97EA

    #BA97EA

    oklch(73.9% 0.122 302.9)

  • #91A5F8

    #91A5F8

    oklch(74% 0.122 272.8)

  • #D88DCC

    #D88DCC

    oklch(73.9% 0.122 332.6)

Open the analogous palette in the generator

Split complementary

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

  • #BA97EA

    #BA97EA

    oklch(73.9% 0.122 302.9)

  • #C5A845

    #C5A845

    oklch(73.9% 0.122 92.8)

  • #68C185

    #68C185

    oklch(73.9% 0.123 152.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA97EA

    #BA97EA

    oklch(73.9% 0.122 302.9)

  • #E19853

    #E19853

    oklch(73.9% 0.122 62.4)

  • #2EC3B2

    #2EC3B2

    oklch(73.9% 0.122 183.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA97EA

    #BA97EA

    oklch(73.9% 0.122 302.9)

  • #ED8C78

    #ED8C78

    oklch(73.8% 0.123 32.5)

  • #9CB75C

    #9CB75C

    oklch(73.9% 0.122 123)

  • #27BED8

    #27BED8

    oklch(73.9% 0.122 212.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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