#BA71D8

Closest named color: Light Purple (#BF77F6). oklch(66.7% 0.164 315.4), rgb(186, 113, 216).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.164)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text6.44:1
White text3.26:1

Values

HEX#BA71D8
RGBrgb(186, 113, 216)
HSLhsl(283, 57%, 65%)
OKLCHoklch(66.7% 0.164 315.4)

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 #BA71D8 3.26:1 AA large text Lc -65.0 Content text, not long reading
Black text on #BA71D8 6.44:1 AA Lc 44.4 Non-text elements, placeholder text
#BA71D8 text on white 3.26:1 AA large text Lc 59.6 Large or bold text, headings
#BA71D8 text on black 6.44:1 AA Lc -42.1 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 500.

  1. Step 50

    50

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E5F5

    oklch(93.5% 0.024 315.5)

  3. Step 200

    200

    #E5D1EE

    oklch(88.6% 0.045 315.5)

  4. Step 300

    300

    #D5B1E4

    oklch(80.9% 0.08 315.9)

  5. Step 400

    400

    #BF87D7

    oklch(70.7% 0.128 315.3)

  6. Step 500

    500 (this color)

    #BA71D8

    oklch(66.7% 0.164 315.4)

  7. Step 600

    600

    #9A4AB9

    oklch(55.6% 0.179 315.4)

  8. Step 700

    700

    #833A9F

    oklch(49% 0.166 315.4)

  9. Step 800

    800

    #6B3181

    oklch(42.7% 0.138 315.6)

  10. Step 900

    900

    #572C68

    oklch(37.7% 0.108 315.5)

  11. Step 950

    950

    #331B3D

    oklch(27.1% 0.068 315.2)

Export this scale for Tailwind in the Tailwind colors tool

#BA71D8 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)#5C8ADC0.141
Deuteranopia (no green cones)#7191D50.128
Tritanopia (no blue cones)#B8809A0.110
Achromatopsia (no color)#8E8E8E0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA71D8

    #BA71D8

    oklch(66.7% 0.164 315.4)

  • #64AA37

    #64AA37

    oklch(66.8% 0.164 135.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA71D8

    #BA71D8

    oklch(66.7% 0.164 315.4)

  • #8D82F3

    #8D82F3

    oklch(66.7% 0.163 285.5)

  • #D865AA

    #D865AA

    oklch(66.6% 0.164 345.5)

Open the analogous palette in the generator

Split complementary

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

  • #BA71D8

    #BA71D8

    oklch(66.7% 0.164 315.4)

  • #A19800

    #A19800

    oklch(66.6% 0.142 105.4)

  • #00AF7F

    #00AF7F

    oklch(66.8% 0.14 165.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA71D8

    #BA71D8

    oklch(66.7% 0.164 315.4)

  • #C58600

    #C58600

    oklch(66.7% 0.14 75.7)

  • #00A9AA

    #00A9AA

    oklch(66.6% 0.113 195.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA71D8

    #BA71D8

    oklch(66.7% 0.164 315.4)

  • #E36D2F

    #E36D2F

    oklch(66.6% 0.164 45.2)

  • #64AA37

    #64AA37

    oklch(66.8% 0.164 135.5)

  • #00A3CF

    #00A3CF

    oklch(66.6% 0.127 225.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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