#BA5FC4

Closest named color: Medium Orchid (#BA55D3). oklch(63.1% 0.173 323.5), rgb(186, 95, 196).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.173)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.52:1
White text3.80:1

Values

HEX#BA5FC4
RGBrgb(186, 95, 196)
HSLhsl(294, 46%, 57%)
OKLCHoklch(63.1% 0.173 323.5)

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 #BA5FC4 3.80:1 AA large text Lc -70.6 Content text, not long reading
Black text on #BA5FC4 5.52:1 AA Lc 39.0 Non-text elements, placeholder text
#BA5FC4 text on white 3.80:1 AA large text Lc 65.1 Content text, not long reading
#BA5FC4 text on black 5.52:1 AA Lc -36.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

    #F2E5F3

    oklch(93.6% 0.023 323.6)

  3. Step 200

    200

    #E9CFEB

    oklch(88.4% 0.047 323.8)

  4. Step 300

    300

    #DCAEE0

    oklch(80.8% 0.085 323.7)

  5. Step 400

    400

    #C982D1

    oklch(70.7% 0.136 323.3)

  6. Step 500

    500 (this color)

    #BA5FC4

    oklch(63.1% 0.173 323.5)

  7. Step 600

    600

    #A542B0

    oklch(55.6% 0.187 323.6)

  8. Step 700

    700

    #8E3298

    oklch(49.1% 0.176 323.7)

  9. Step 800

    800

    #732B7B

    oklch(42.7% 0.145 323.6)

  10. Step 900

    900

    #5D2863

    oklch(37.6% 0.113 323.5)

  11. Step 950

    950

    #37183A

    oklch(27% 0.072 324)

Export this scale for Tailwind in the Tailwind colors tool

#BA5FC4 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)#517CC70.165
Deuteranopia (no green cones)#6D87C10.147
Tritanopia (no blue cones)#BD6C890.103
Achromatopsia (no color)#8383830.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA5FC4

    #BA5FC4

    oklch(63.1% 0.173 323.5)

  • #38A33A

    #38A33A

    oklch(63.2% 0.174 143.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA5FC4

    #BA5FC4

    oklch(63.1% 0.173 323.5)

  • #9070E6

    #9070E6

    oklch(63.1% 0.172 293.3)

  • #D45491

    #D45491

    oklch(63% 0.172 353.5)

Open the analogous palette in the generator

Split complementary

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

  • #BA5FC4

    #BA5FC4

    oklch(63.1% 0.173 323.5)

  • #8A9200

    #8A9200

    oklch(63.2% 0.142 113.6)

  • #00A083

    #00A083

    oklch(62.9% 0.12 173.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA5FC4

    #BA5FC4

    oklch(63.1% 0.173 323.5)

  • #AE8100

    #AE8100

    oklch(63% 0.129 83.9)

  • #009CA7

    #009CA7

    oklch(63.1% 0.108 203.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA5FC4

    #BA5FC4

    oklch(63.1% 0.173 323.5)

  • #D16900

    #D16900

    oklch(63.2% 0.159 53.6)

  • #38A33A

    #38A33A

    oklch(63.2% 0.174 143.4)

  • #0095CC

    #0095CC

    oklch(63.1% 0.132 233.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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