#BA66CC

Closest named color: Medium Orchid (#BA55D3). oklch(64.5% 0.169 320.3), rgb(186, 102, 204).

Aa

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

About this color

#BA66CC is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.169 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.038 away. Black text reads best on it, at 5.86:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.169)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.86:1
White text3.58:1

Values

HEX#BA66CC
RGBrgb(186, 102, 204)
HSLhsl(289, 50%, 60%)
OKLCHoklch(64.5% 0.169 320.3)

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 #BA66CC 3.58:1 AA large text Lc -68.5 Content text, not long reading
Black text on #BA66CC 5.86:1 AA Lc 41.0 Non-text elements, placeholder text
#BA66CC text on white 3.58:1 AA large text Lc 63.0 Content text, not long reading
#BA66CC text on black 5.86:1 AA Lc -38.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 500.

  1. Step 50

    50

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F4

    oklch(93.6% 0.024 319.5)

  3. Step 200

    200

    #E7D0EC

    oklch(88.5% 0.045 320.2)

  4. Step 300

    300

    #D9B0E2

    oklch(81% 0.082 320.2)

  5. Step 400

    400

    #C584D3

    oklch(70.7% 0.132 320.3)

  6. Step 500

    500 (this color)

    #BA66CC

    oklch(64.5% 0.169 320.3)

  7. Step 600

    600

    #A145B4

    oklch(55.6% 0.184 320.4)

  8. Step 700

    700

    #89369B

    oklch(49.1% 0.171 320.1)

  9. Step 800

    800

    #702E7E

    oklch(42.8% 0.142 320.3)

  10. Step 900

    900

    #5B2A65

    oklch(37.8% 0.111 320.6)

  11. Step 950

    950

    #35193B

    oklch(26.9% 0.07 320.3)

Export this scale for Tailwind in the Tailwind colors tool

#BA66CC 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)#5581CF0.156
Deuteranopia (no green cones)#6E8AC90.139
Tritanopia (no blue cones)#BB74900.106
Achromatopsia (no color)#8787870.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA66CC

    #BA66CC

    oklch(64.5% 0.169 320.3)

  • #4CA538

    #4CA538

    oklch(64.4% 0.169 140.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA66CC

    #BA66CC

    oklch(64.5% 0.169 320.3)

  • #8F77EC

    #8F77EC

    oklch(64.5% 0.17 290.3)

  • #D65B9B

    #D65B9B

    oklch(64.5% 0.169 350.5)

Open the analogous palette in the generator

Split complementary

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

  • #BA66CC

    #BA66CC

    oklch(64.5% 0.169 320.3)

  • #939400

    #939400

    oklch(64.4% 0.141 110.3)

  • #00A682

    #00A682

    oklch(64.5% 0.127 170.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA66CC

    #BA66CC

    oklch(64.5% 0.169 320.3)

  • #B78300

    #B78300

    oklch(64.5% 0.133 80.5)

  • #00A1A8

    #00A1A8

    oklch(64.5% 0.11 200.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA66CC

    #BA66CC

    oklch(64.5% 0.169 320.3)

  • #DB6800

    #DB6800

    oklch(64.5% 0.169 50.6)

  • #4CA538

    #4CA538

    oklch(64.4% 0.169 140.2)

  • #009BCD

    #009BCD

    oklch(64.6% 0.129 230.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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