#BA73E6

Closest named color: Light Purple (#BF77F6). oklch(67.7% 0.176 311), rgb(186, 115, 230).

Aa

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

About this color

#BA73E6 is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.176 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.68:1.

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

Values

HEX#BA73E6
RGBrgb(186, 115, 230)
HSLhsl(277, 70%, 68%)
OKLCHoklch(67.7% 0.176 311)

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 #BA73E6 3.14:1 AA large text Lc -63.6 Content text, not long reading
Black text on #BA73E6 6.68:1 AA Lc 45.9 Large or bold text, headings
#BA73E6 text on white 3.14:1 AA large text Lc 58.2 Large or bold text, headings
#BA73E6 text on black 6.68:1 AA Lc -43.6 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

    #D8ACF5

    oklch(80.9% 0.111 311.4)

  5. Step 400

    400 (this color)

    #BA73E6

    oklch(67.7% 0.176 311)

  6. Step 500

    500

    #B453EB

    oklch(63% 0.226 310.9)

  7. Step 600

    600

    #A02ED9

    oklch(55.6% 0.245 310.9)

  8. Step 700

    700

    #891CBC

    oklch(49.1% 0.228 311.1)

  9. Step 800

    800

    #6F1C98

    oklch(42.6% 0.189 311)

  10. Step 900

    900

    #5A2079

    oklch(37.6% 0.147 311.1)

  11. Step 950

    950

    #351547

    oklch(27.1% 0.093 311.2)

Export this scale for Tailwind in the Tailwind colors tool

#BA73E6 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)#568EEA0.145
Deuteranopia (no green cones)#6B93E30.131
Tritanopia (no blue cones)#B586A20.123
Achromatopsia (no color)#9191910.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA73E6

    #BA73E6

    oklch(67.7% 0.176 311)

  • #6FAC1B

    #6FAC1B

    oklch(67.7% 0.176 131.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA73E6

    #BA73E6

    oklch(67.7% 0.176 311)

  • #8786FF

    #8786FF

    oklch(67.7% 0.175 281)

  • #DD65B7

    #DD65B7

    oklch(67.8% 0.176 341.3)

Open the analogous palette in the generator

Split complementary

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

  • #BA73E6

    #BA73E6

    oklch(67.7% 0.176 311)

  • #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.

  • #BA73E6

    #BA73E6

    oklch(67.7% 0.176 311)

  • #CF8500

    #CF8500

    oklch(67.7% 0.146 70.6)

  • #00AEA9

    #00AEA9

    oklch(67.8% 0.117 191.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA73E6

    #BA73E6

    oklch(67.7% 0.176 311)

  • #EE6A34

    #EE6A34

    oklch(67.8% 0.176 41.1)

  • #6FAC1B

    #6FAC1B

    oklch(67.7% 0.176 131.1)

  • #00A8CD

    #00A8CD

    oklch(67.7% 0.124 221)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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