#BA97CE

Closest named color: Pale Purple (#B790D4). oklch(72.7% 0.087 313), rgb(186, 151, 206).

Aa

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

About this color

#BA97CE is a medium-light, moderately saturated purple. In OKLCH its lightness is 73%, its chroma 0.087 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.023 away. Black text reads best on it, at 8.40:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.40:1
White text2.49:1

Values

HEX#BA97CE
RGBrgb(186, 151, 206)
HSLhsl(278, 36%, 70%)
OKLCHoklch(72.7% 0.087 313)

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 #BA97CE 2.49:1 Fails Lc -54.1 Large or bold text, headings
Black text on #BA97CE 8.40:1 AAA Lc 55.0 Large or bold text, headings
#BA97CE text on white 2.49:1 Fails Lc 49.0 Large or bold text, headings
#BA97CE text on black 8.40:1 AAA Lc -53.0 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EDE7F2

    oklch(93.6% 0.016 310.1)

  3. Step 200

    200

    #E0D4E8

    oklch(88.6% 0.03 312.1)

  4. Step 300

    300

    #CDB7DA

    oklch(80.9% 0.054 313)

  5. Step 400

    400 (this color)

    #BA97CE

    oklch(72.7% 0.087 313)

  6. Step 500

    500

    #A175B9

    oklch(63.2% 0.11 313.1)

  7. Step 600

    600

    #8C5CA5

    oklch(55.6% 0.121 313.3)

  8. Step 700

    700

    #774C8E

    oklch(49.2% 0.112 312.9)

  9. Step 800

    800

    #613E73

    oklch(42.7% 0.094 313.4)

  10. Step 900

    900

    #4F355D

    oklch(37.6% 0.073 313.1)

  11. Step 950

    950

    #2E2036

    oklch(27.1% 0.044 312.7)

Export this scale for Tailwind in the Tailwind colors tool

#BA97CE 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)#8FA2D00.064
Deuteranopia (no green cones)#96A5CC0.061
Tritanopia (no blue cones)#B99EAA0.062
Achromatopsia (no color)#A4A4A40.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA97CE

    #BA97CE

    oklch(72.7% 0.087 313)

  • #92B37A

    #92B37A

    oklch(72.8% 0.087 132.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA97CE

    #BA97CE

    oklch(72.7% 0.087 313)

  • #9FA0DC

    #9FA0DC

    oklch(72.7% 0.087 283.3)

  • #CE91B5

    #CE91B5

    oklch(72.7% 0.087 343.3)

Open the analogous palette in the generator

Split complementary

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

  • #BA97CE

    #BA97CE

    oklch(72.7% 0.087 313)

  • #B1A968

    #B1A968

    oklch(72.7% 0.086 102.2)

  • #72B897

    #72B897

    oklch(72.7% 0.086 162.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA97CE

    #BA97CE

    oklch(72.7% 0.087 313)

  • #C89E68

    #C89E68

    oklch(72.6% 0.087 72.7)

  • #5EB8B6

    #5EB8B6

    oklch(72.7% 0.086 193.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA97CE

    #BA97CE

    oklch(72.7% 0.087 313)

  • #D6957B

    #D6957B

    oklch(72.7% 0.087 42.7)

  • #92B37A

    #92B37A

    oklch(72.8% 0.087 132.7)

  • #65B3CF

    #65B3CF

    oklch(72.7% 0.087 223.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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