#BA5FDB

Closest named color: Medium Orchid (#BA55D3). oklch(64.3% 0.196 316.2), rgb(186, 95, 219).

Aa

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

About this color

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

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

Values

HEX#BA5FDB
RGBrgb(186, 95, 219)
HSLhsl(284, 63%, 62%)
OKLCHoklch(64.3% 0.196 316.2)

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 #BA5FDB 3.65:1 AA large text Lc -69.1 Content text, not long reading
Black text on #BA5FDB 5.74:1 AA Lc 40.5 Non-text elements, placeholder text
#BA5FDB text on white 3.65:1 AA large text Lc 63.6 Content text, not long reading
#BA5FDB text on black 5.74:1 AA Lc -38.1 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

    #F1E5F7

    oklch(93.7% 0.027 314.7)

  3. Step 200

    200

    #E7CFF1

    oklch(88.5% 0.053 316)

  4. Step 300

    300

    #D9AEEA

    oklch(80.9% 0.095 316.3)

  5. Step 400

    400

    #C580E0

    oklch(70.6% 0.153 316)

  6. Step 500

    500 (this color)

    #BA5FDB

    oklch(64.3% 0.196 316.2)

  7. Step 600

    600

    #A23BC4

    oklch(55.6% 0.213 316.4)

  8. Step 700

    700

    #8A2CA9

    oklch(49.1% 0.197 316.2)

  9. Step 800

    800

    #702789

    oklch(42.7% 0.163 316.1)

  10. Step 900

    900

    #5B266E

    oklch(37.8% 0.127 316.1)

  11. Step 950

    950

    #351740

    oklch(26.9% 0.081 316.1)

Export this scale for Tailwind in the Tailwind colors tool

#BA5FDB 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)#3F80DF0.179
Deuteranopia (no green cones)#6088D80.157
Tritanopia (no blue cones)#B873940.127
Achromatopsia (no color)#8686860.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA5FDB

    #BA5FDB

    oklch(64.3% 0.196 316.2)

  • #4FA500

    #4FA500

    oklch(64.2% 0.192 136.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA5FDB

    #BA5FDB

    oklch(64.3% 0.196 316.2)

  • #8773FC

    #8773FC

    oklch(64.2% 0.196 286.2)

  • #DB4FA5

    #DB4FA5

    oklch(64.2% 0.196 346.2)

Open the analogous palette in the generator

Split complementary

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

  • #BA5FDB

    #BA5FDB

    oklch(64.3% 0.196 316.2)

  • #989100

    #989100

    oklch(64.2% 0.137 106.2)

  • #00A67A

    #00A67A

    oklch(64.3% 0.134 166)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA5FDB

    #BA5FDB

    oklch(64.3% 0.196 316.2)

  • #BB8000

    #BB8000

    oklch(64.4% 0.135 76.4)

  • #00A1A3

    #00A1A3

    oklch(64.3% 0.109 196.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA5FDB

    #BA5FDB

    oklch(64.3% 0.196 316.2)

  • #E16000

    #E16000

    oklch(64.2% 0.18 46)

  • #4FA500

    #4FA500

    oklch(64.2% 0.192 136.1)

  • #009BC6

    #009BC6

    oklch(64.2% 0.123 226.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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