#BA7AE7

Closest named color: Light Purple (#BF77F6). oklch(68.9% 0.166 309.8), rgb(186, 122, 231).

Aa

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

About this color

#BA7AE7 is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.166 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.025 away. Black text reads best on it, at 7.02:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.166)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.02:1
White text2.98:1

Values

HEX#BA7AE7
RGBrgb(186, 122, 231)
HSLhsl(275, 69%, 69%)
OKLCHoklch(68.9% 0.166 309.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 #BA7AE7 2.98:1 Fails Lc -61.6 Content text, not long reading
Black text on #BA7AE7 7.02:1 AAA Lc 47.8 Large or bold text, headings
#BA7AE7 text on white 2.98:1 Fails Lc 56.3 Large or bold text, headings
#BA7AE7 text on black 7.02:1 AAA Lc -45.5 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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #F0E5F9

    oklch(93.6% 0.029 310.1)

  3. Step 200

    200

    #E5CFF6

    oklch(88.5% 0.058 310.4)

  4. Step 300

    300

    #D5AEF3

    oklch(80.9% 0.104 309.9)

  5. Step 400

    400 (this color)

    #BA7AE7

    oklch(68.9% 0.166 309.8)

  6. Step 500

    500

    #B059E7

    oklch(63% 0.213 309.9)

  7. Step 600

    600

    #9C37D5

    oklch(55.6% 0.231 310)

  8. Step 700

    700

    #8527B9

    oklch(49.1% 0.215 309.7)

  9. Step 800

    800

    #6C2495

    oklch(42.7% 0.177 309.9)

  10. Step 900

    900

    #582477

    oklch(37.7% 0.139 310.1)

  11. Step 950

    950

    #331746

    oklch(27% 0.087 309.2)

Export this scale for Tailwind in the Tailwind colors tool

#BA7AE7 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)#6092EB0.131
Deuteranopia (no green cones)#7196E40.120
Tritanopia (no blue cones)#B48CA60.118
Achromatopsia (no color)#9595950.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7AE7

    #BA7AE7

    oklch(68.9% 0.166 309.8)

  • #78AE2C

    #78AE2C

    oklch(68.8% 0.166 129.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7AE7

    #BA7AE7

    oklch(68.9% 0.166 309.8)

  • #888CFF

    #888CFF

    oklch(68.9% 0.166 279.6)

  • #DC6DBB

    #DC6DBB

    oklch(68.9% 0.166 339.9)

Open the analogous palette in the generator

Split complementary

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

  • #BA7AE7

    #BA7AE7

    oklch(68.9% 0.166 309.8)

  • #B09C00

    #B09C00

    oklch(68.9% 0.143 100.1)

  • #00B778

    #00B778

    oklch(68.8% 0.156 159.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7AE7

    #BA7AE7

    oklch(68.9% 0.166 309.8)

  • #D58700

    #D58700

    oklch(68.8% 0.15 69.4)

  • #00B2AB

    #00B2AB

    oklch(68.9% 0.119 189.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7AE7

    #BA7AE7

    oklch(68.9% 0.166 309.8)

  • #EE7143

    #EE7143

    oklch(68.9% 0.166 40.1)

  • #78AE2C

    #78AE2C

    oklch(68.8% 0.166 129.9)

  • #00ACD0

    #00ACD0

    oklch(68.8% 0.125 219.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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