#BA72E4

Closest named color: Light Purple (#BF77F6). oklch(67.5% 0.176 311.7), rgb(186, 114, 228).

Aa

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

About this color

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

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

Values

HEX#BA72E4
RGBrgb(186, 114, 228)
HSLhsl(278, 68%, 67%)
OKLCHoklch(67.5% 0.176 311.7)

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 #BA72E4 3.17:1 AA large text Lc -64.0 Content text, not long reading
Black text on #BA72E4 6.61:1 AA Lc 45.5 Large or bold text, headings
#BA72E4 text on white 3.17:1 AA large text Lc 58.6 Large or bold text, headings
#BA72E4 text on black 6.61:1 AA Lc -43.2 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

    #E7CEF7

    oklch(88.5% 0.061 312.2)

  4. Step 300

    300

    #D8ACF4

    oklch(80.8% 0.109 311.8)

  5. Step 400

    400 (this color)

    #BA72E4

    oklch(67.5% 0.176 311.7)

  6. Step 500

    500

    #B553E9

    oklch(63% 0.224 311.7)

  7. Step 600

    600

    #A12DD7

    oklch(55.6% 0.244 311.8)

  8. Step 700

    700

    #8A1CBB

    oklch(49.2% 0.227 311.7)

  9. Step 800

    800

    #701C97

    oklch(42.7% 0.188 311.8)

  10. Step 900

    900

    #5B2078

    oklch(37.7% 0.147 312.2)

  11. Step 950

    950

    #351546

    oklch(27% 0.092 311.9)

Export this scale for Tailwind in the Tailwind colors tool

#BA72E4 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)#568DE80.146
Deuteranopia (no green cones)#6B92E10.132
Tritanopia (no blue cones)#B584A10.120
Achromatopsia (no color)#9090900.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA72E4

    #BA72E4

    oklch(67.5% 0.176 311.7)

  • #6DAC1E

    #6DAC1E

    oklch(67.6% 0.176 131.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA72E4

    #BA72E4

    oklch(67.5% 0.176 311.7)

  • #8885FE

    #8885FE

    oklch(67.6% 0.174 281.8)

  • #DC64B5

    #DC64B5

    oklch(67.5% 0.176 341.7)

Open the analogous palette in the generator

Split complementary

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

  • #BA72E4

    #BA72E4

    oklch(67.5% 0.176 311.7)

  • #A99900

    #A99900

    oklch(67.6% 0.141 102)

  • #00B279

    #00B279

    oklch(67.5% 0.149 161.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA72E4

    #BA72E4

    oklch(67.5% 0.176 311.7)

  • #CD8500

    #CD8500

    oklch(67.5% 0.145 71.5)

  • #00ADA9

    #00ADA9

    oklch(67.5% 0.116 191.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA72E4

    #BA72E4

    oklch(67.5% 0.176 311.7)

  • #EC6A31

    #EC6A31

    oklch(67.5% 0.175 42)

  • #6DAC1E

    #6DAC1E

    oklch(67.6% 0.176 131.7)

  • #00A7CD

    #00A7CD

    oklch(67.5% 0.124 221.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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