#BA66D2

Closest named color: Medium Orchid (#BA55D3). oklch(64.8% 0.176 318.3), rgb(186, 102, 210).

Aa

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

About this color

#BA66D2 is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.176 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.035 away. Black text reads best on it, at 5.91:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.176)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.91:1
White text3.54:1

Values

HEX#BA66D2
RGBrgb(186, 102, 210)
HSLhsl(287, 55%, 61%)
OKLCHoklch(64.8% 0.176 318.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 #BA66D2 3.54:1 AA large text Lc -68.1 Content text, not long reading
Black text on #BA66D2 5.91:1 AA Lc 41.4 Non-text elements, placeholder text
#BA66D2 text on white 3.54:1 AA large text Lc 62.7 Content text, not long reading
#BA66D2 text on black 5.91:1 AA Lc -39.0 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E7D0EE

    oklch(88.6% 0.047 318.3)

  4. Step 300

    300

    #D8AFE5

    oklch(80.8% 0.087 317.9)

  5. Step 400

    400

    #C483D7

    oklch(70.6% 0.137 318.4)

  6. Step 500

    500 (this color)

    #BA66D2

    oklch(64.8% 0.176 318.3)

  7. Step 600

    600

    #A044B9

    oklch(55.6% 0.19 318.4)

  8. Step 700

    700

    #8934A0

    oklch(49.2% 0.178 318.3)

  9. Step 800

    800

    #6F2D81

    oklch(42.7% 0.146 318.4)

  10. Step 900

    900

    #5A2968

    oklch(37.7% 0.115 318.2)

  11. Step 950

    950

    #35193D

    oklch(27% 0.073 318.3)

Export this scale for Tailwind in the Tailwind colors tool

#BA66D2 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)#5182D60.159
Deuteranopia (no green cones)#6B8BCF0.142
Tritanopia (no blue cones)#BA76930.112
Achromatopsia (no color)#8888880.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA66D2

    #BA66D2

    oklch(64.8% 0.176 318.3)

  • #50A62E

    #50A62E

    oklch(64.7% 0.175 138.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA66D2

    #BA66D2

    oklch(64.8% 0.176 318.3)

  • #8C78F1

    #8C78F1

    oklch(64.8% 0.175 288.1)

  • #D85AA0

    #D85AA0

    oklch(64.8% 0.175 348.6)

Open the analogous palette in the generator

Split complementary

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

  • #BA66D2

    #BA66D2

    oklch(64.8% 0.176 318.3)

  • #979400

    #979400

    oklch(64.8% 0.14 108.3)

  • #00A780

    #00A780

    oklch(64.7% 0.13 168.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA66D2

    #BA66D2

    oklch(64.8% 0.176 318.3)

  • #BB8200

    #BB8200

    oklch(64.7% 0.135 77.8)

  • #00A2A7

    #00A2A7

    oklch(64.7% 0.11 198.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA66D2

    #BA66D2

    oklch(64.8% 0.176 318.3)

  • #E06500

    #E06500

    oklch(64.8% 0.176 48.2)

  • #50A62E

    #50A62E

    oklch(64.7% 0.175 138.4)

  • #009CCB

    #009CCB

    oklch(64.7% 0.127 228.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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