#BA7FE5

Closest named color: Light Purple (#BF77F6). oklch(69.6% 0.156 309.6), rgb(186, 127, 229).

Aa

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

About this color

#BA7FE5 is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.156 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.034 away. Black text reads best on it, at 7.25:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.156)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.25:1
White text2.89:1

Values

HEX#BA7FE5
RGBrgb(186, 127, 229)
HSLhsl(275, 66%, 70%)
OKLCHoklch(69.6% 0.156 309.6)

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 #BA7FE5 2.89:1 Fails Lc -60.3 Content text, not long reading
Black text on #BA7FE5 7.25:1 AAA Lc 49.0 Large or bold text, headings
#BA7FE5 text on white 2.89:1 Fails Lc 55.0 Large or bold text, headings
#BA7FE5 text on black 7.25:1 AAA Lc -46.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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE5F8

    oklch(93.5% 0.027 309.2)

  3. Step 200

    200

    #E4D0F5

    oklch(88.5% 0.054 309.5)

  4. Step 300

    300

    #D3AFF0

    oklch(80.8% 0.097 309.5)

  5. Step 400

    400 (this color)

    #BA7FE5

    oklch(69.6% 0.156 309.6)

  6. Step 500

    500

    #AD5EE2

    oklch(63% 0.199 309.4)

  7. Step 600

    600

    #993FD0

    oklch(55.7% 0.216 309.5)

  8. Step 700

    700

    #822FB4

    oklch(49.1% 0.201 309.2)

  9. Step 800

    800

    #6A2991

    oklch(42.7% 0.166 309.7)

  10. Step 900

    900

    #562774

    oklch(37.6% 0.13 309.6)

  11. Step 950

    950

    #321844

    oklch(26.9% 0.083 309.2)

Export this scale for Tailwind in the Tailwind colors tool

#BA7FE5 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)#6895E90.120
Deuteranopia (no green cones)#7799E20.111
Tritanopia (no blue cones)#B58FA70.111
Achromatopsia (no color)#9898980.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7FE5

    #BA7FE5

    oklch(69.6% 0.156 309.6)

  • #7DAF3A

    #7DAF3A

    oklch(69.5% 0.156 129.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7FE5

    #BA7FE5

    oklch(69.6% 0.156 309.6)

  • #8B90FB

    #8B90FB

    oklch(69.6% 0.155 279.5)

  • #DB73BC

    #DB73BC

    oklch(69.7% 0.156 339.7)

Open the analogous palette in the generator

Split complementary

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

  • #BA7FE5

    #BA7FE5

    oklch(69.6% 0.156 309.6)

  • #B39E00

    #B39E00

    oklch(69.6% 0.145 99.8)

  • #11BA7A

    #11BA7A

    oklch(69.7% 0.156 159.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7FE5

    #BA7FE5

    oklch(69.6% 0.156 309.6)

  • #D88900

    #D88900

    oklch(69.6% 0.151 69.4)

  • #00B4AD

    #00B4AD

    oklch(69.5% 0.12 189.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7FE5

    #BA7FE5

    oklch(69.6% 0.156 309.6)

  • #EC764D

    #EC764D

    oklch(69.5% 0.156 39.5)

  • #7DAF3A

    #7DAF3A

    oklch(69.5% 0.156 129.6)

  • #00AFD2

    #00AFD2

    oklch(69.7% 0.126 218.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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