#BA72E8

Closest named color: Light Purple (#BF77F6). oklch(67.7% 0.18 310.6), rgb(186, 114, 232).

Aa

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

About this color

#BA72E8 is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.180 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.024 away. Black text reads best on it, at 6.65:1.

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

Values

HEX#BA72E8
RGBrgb(186, 114, 232)
HSLhsl(277, 72%, 68%)
OKLCHoklch(67.7% 0.18 310.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 #BA72E8 3.15:1 AA large text Lc -63.7 Content text, not long reading
Black text on #BA72E8 6.65:1 AA Lc 45.8 Large or bold text, headings
#BA72E8 text on white 3.15:1 AA large text Lc 58.3 Large or bold text, headings
#BA72E8 text on black 6.65: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

    #D8ACF7

    oklch(81% 0.113 310.7)

  5. Step 400

    400 (this color)

    #BA72E8

    oklch(67.7% 0.18 310.6)

  6. Step 500

    500

    #B552ED

    oklch(63.2% 0.23 310.9)

  7. Step 600

    600

    #A02ADC

    oklch(55.6% 0.251 310.4)

  8. Step 700

    700

    #8918BF

    oklch(49.1% 0.233 310.4)

  9. Step 800

    800

    #6F1A9A

    oklch(42.6% 0.192 310.5)

  10. Step 900

    900

    #5A1F7B

    oklch(37.7% 0.151 310.4)

  11. Step 950

    950

    #351448

    oklch(27% 0.096 310.8)

Export this scale for Tailwind in the Tailwind colors tool

#BA72E8 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)#538EEC0.149
Deuteranopia (no green cones)#6992E50.133
Tritanopia (no blue cones)#B586A30.126
Achromatopsia (no color)#9191910.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA72E8

    #BA72E8

    oklch(67.7% 0.18 310.6)

  • #6FAC0F

    #6FAC0F

    oklch(67.7% 0.18 130.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA72E8

    #BA72E8

    oklch(67.7% 0.18 310.6)

  • #8686FF

    #8686FF

    oklch(67.7% 0.175 280.7)

  • #DD63B9

    #DD63B9

    oklch(67.6% 0.181 340.3)

Open the analogous palette in the generator

Split complementary

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

  • #BA72E8

    #BA72E8

    oklch(67.7% 0.18 310.6)

  • #AB9900

    #AB9900

    oklch(67.8% 0.141 101)

  • #00B377

    #00B377

    oklch(67.7% 0.152 160.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA72E8

    #BA72E8

    oklch(67.7% 0.18 310.6)

  • #CF8500

    #CF8500

    oklch(67.7% 0.146 70.6)

  • #00AEA8

    #00AEA8

    oklch(67.8% 0.117 190.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA72E8

    #BA72E8

    oklch(67.7% 0.18 310.6)

  • #EF6832

    #EF6832

    oklch(67.7% 0.18 40.6)

  • #6FAC0F

    #6FAC0F

    oklch(67.7% 0.18 130.7)

  • #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 #BA72E8, closest first.

Similar named colors

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

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