#BA4CD9

Closest named color: Medium Orchid (#BA55D3). oklch(61.9% 0.22 318.1), rgb(186, 76, 217).

Aa

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

About this color

#BA4CD9 is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.220 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.020 away. Black text reads best on it, at 5.12:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.220)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.12:1
White text4.09:1

Values

HEX#BA4CD9
RGBrgb(186, 76, 217)
HSLhsl(287, 65%, 57%)
OKLCHoklch(61.9% 0.22 318.1)

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 #BA4CD9 4.09:1 AA large text Lc -72.8 Content text, not long reading
Black text on #BA4CD9 5.12:1 AA Lc 36.7 Non-text elements, placeholder text
#BA4CD9 text on white 4.09:1 AA large text Lc 67.3 Content text, not long reading
#BA4CD9 text on black 5.12:1 AA Lc -34.3 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

    #FAF3FC

    oklch(97.2% 0.014 318.7)

  2. Step 100

    100

    #F3E4F8

    oklch(93.7% 0.031 317.7)

  3. Step 200

    200

    #EACDF3

    oklch(88.4% 0.06 318.1)

  4. Step 300

    300

    #DEABEE

    oklch(81% 0.107 318)

  5. Step 400

    400

    #CC7AE5

    oklch(70.7% 0.172 317.9)

  6. Step 500

    500 (this color)

    #BA4CD9

    oklch(61.9% 0.22 318.1)

  7. Step 600

    600

    #AA2ACB

    oklch(55.7% 0.24 318.1)

  8. Step 700

    700

    #9118AF

    oklch(49% 0.222 318)

  9. Step 800

    800

    #761A8E

    oklch(42.7% 0.184 318)

  10. Step 900

    900

    #5F1E71

    oklch(37.6% 0.144 318)

  11. Step 950

    950

    #381442

    oklch(27% 0.09 318.3)

Export this scale for Tailwind in the Tailwind colors tool

#BA4CD9 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)#1776DD0.216
Deuteranopia (no green cones)#5281D60.185
Tritanopia (no blue cones)#B9658C0.139
Achromatopsia (no color)#7D7D7D0.222

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA4CD9

    #BA4CD9

    oklch(61.9% 0.22 318.1)

  • #409E00

    #409E00

    oklch(61.8% 0.191 138)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA4CD9

    #BA4CD9

    oklch(61.9% 0.22 318.1)

  • #8564FF

    #8564FF

    oklch(61.9% 0.22 288)

  • #DD379C

    #DD379C

    oklch(61.9% 0.221 348.3)

Open the analogous palette in the generator

Split complementary

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

  • #BA4CD9

    #BA4CD9

    oklch(61.9% 0.22 318.1)

  • #8E8B00

    #8E8B00

    oklch(61.9% 0.134 108.2)

  • #009D77

    #009D77

    oklch(61.8% 0.125 168)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA4CD9

    #BA4CD9

    oklch(61.9% 0.22 318.1)

  • #B07A00

    #B07A00

    oklch(61.9% 0.129 77.7)

  • #00999D

    #00999D

    oklch(62% 0.105 198.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA4CD9

    #BA4CD9

    oklch(61.9% 0.22 318.1)

  • #D35E00

    #D35E00

    oklch(61.8% 0.169 47.9)

  • #409E00

    #409E00

    oklch(61.8% 0.191 138)

  • #0093BE

    #0093BE

    oklch(61.9% 0.12 227.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #BA4CD9.

Similar named colors

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

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