#BA72E7

Closest named color: Light Purple (#BF77F6). oklch(67.6% 0.179 310.9), rgb(186, 114, 231).

Aa

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

About this color

#BA72E7 is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.179 and its hue 311°. 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 6.64:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.179)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text6.64:1
White text3.15:1

Values

HEX#BA72E7
RGBrgb(186, 114, 231)
HSLhsl(277, 71%, 68%)
OKLCHoklch(67.6% 0.179 310.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 #BA72E7 3.15:1 AA large text Lc -63.8 Content text, not long reading
Black text on #BA72E7 6.64:1 AA Lc 45.7 Large or bold text, headings
#BA72E7 text on white 3.15:1 AA large text Lc 58.4 Large or bold text, headings
#BA72E7 text on black 6.64:1 AA Lc -43.4 Non-text elements, placeholder text

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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F1E4FA

    oklch(93.6% 0.032 311.7)

  3. Step 200

    200

    #E6CEF8

    oklch(88.4% 0.062 310.7)

  4. Step 300

    300

    #D8ACF6

    oklch(80.9% 0.112 311.1)

  5. Step 400

    400 (this color)

    #BA72E7

    oklch(67.6% 0.179 310.9)

  6. Step 500

    500

    #B552EC

    oklch(63.1% 0.229 311.1)

  7. Step 600

    600

    #A02BDB

    oklch(55.6% 0.249 310.6)

  8. Step 700

    700

    #8919BE

    oklch(49.1% 0.231 310.7)

  9. Step 800

    800

    #6F1B99

    oklch(42.6% 0.191 310.7)

  10. Step 900

    900

    #5A1F7A

    oklch(37.6% 0.15 310.8)

  11. Step 950

    950

    #351447

    oklch(26.9% 0.095 311.5)

Export this scale for Tailwind in the Tailwind colors tool

#BA72E7 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)#548DEB0.148
Deuteranopia (no green cones)#6A92E40.132
Tritanopia (no blue cones)#B585A20.124
Achromatopsia (no color)#9191910.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA72E7

    #BA72E7

    oklch(67.6% 0.179 310.9)

  • #6FAC14

    #6FAC14

    oklch(67.7% 0.179 130.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA72E7

    #BA72E7

    oklch(67.6% 0.179 310.9)

  • #8686FF

    #8686FF

    oklch(67.7% 0.175 280.7)

  • #DD64B8

    #DD64B8

    oklch(67.7% 0.179 340.8)

Open the analogous palette in the generator

Split complementary

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

  • #BA72E7

    #BA72E7

    oklch(67.6% 0.179 310.9)

  • #AB9900

    #AB9900

    oklch(67.8% 0.141 101)

  • #00B378

    #00B378

    oklch(67.7% 0.151 160.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA72E7

    #BA72E7

    oklch(67.6% 0.179 310.9)

  • #CE8500

    #CE8500

    oklch(67.6% 0.146 71.1)

  • #00ADA8

    #00ADA8

    oklch(67.5% 0.116 191.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA72E7

    #BA72E7

    oklch(67.6% 0.179 310.9)

  • #EF6832

    #EF6832

    oklch(67.7% 0.18 40.6)

  • #6FAC14

    #6FAC14

    oklch(67.7% 0.179 130.8)

  • #00A8CC

    #00A8CC

    oklch(67.7% 0.124 220.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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