#BA3FB1

Closest named color: Purpley Pink (#C83CB9). oklch(58.2% 0.203 330.9), rgb(186, 63, 177).

Aa

White text reads best on this color (4.73:1).

About this color

#BA3FB1 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.203 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.029 away. White text reads best on it, at 4.73:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.203)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.43:1
White text4.73:1

Values

HEX#BA3FB1
RGBrgb(186, 63, 177)
HSLhsl(304, 49%, 49%)
OKLCHoklch(58.2% 0.203 330.9)

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 #BA3FB1 4.73:1 AA Lc -77.4 Fine for body text
Black text on #BA3FB1 4.43:1 AA large text Lc 32.1 Non-text elements, placeholder text
#BA3FB1 text on white 4.73:1 AA Lc 71.9 Content text, not long reading
#BA3FB1 text on black 4.43:1 AA large text Lc -29.7 Dividers and decoration only

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 600.

  1. Step 50

    50

    #FBF3F9

    oklch(97.2% 0.012 334.1)

  2. Step 100

    100

    #F5E4F2

    oklch(93.6% 0.026 331.5)

  3. Step 200

    200

    #EECEE9

    oklch(88.6% 0.05 331.2)

  4. Step 300

    300

    #E3ABDC

    oklch(80.8% 0.092 330.7)

  5. Step 400

    400

    #D47CCA

    oklch(70.7% 0.147 331.2)

  6. Step 500

    500

    #C656BD

    oklch(63.1% 0.188 330.7)

  7. Step 600

    600 (this color)

    #BA3FB1

    oklch(58.2% 0.203 330.9)

  8. Step 700

    700

    #982691

    oklch(49.1% 0.19 330.7)

  9. Step 800

    800

    #7C2375

    oklch(42.8% 0.156 331.3)

  10. Step 900

    900

    #64235F

    oklch(37.8% 0.122 330.8)

  11. Step 950

    950

    #3B1637

    oklch(27.1% 0.076 331.7)

Export this scale for Tailwind in the Tailwind colors tool

#BA3FB1 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)#3668B40.215
Deuteranopia (no green cones)#6279AE0.184
Tritanopia (no blue cones)#C14C730.108
Achromatopsia (no color)#7373730.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA3FB1

    #BA3FB1

    oklch(58.2% 0.203 330.9)

  • #009446

    #009446

    oklch(58.3% 0.158 150.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA3FB1

    #BA3FB1

    oklch(58.2% 0.203 330.9)

  • #9153DE

    #9153DE

    oklch(58.2% 0.204 300.7)

  • #D33074

    #D33074

    oklch(58.3% 0.203 1)

Open the analogous palette in the generator

Split complementary

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

  • #BA3FB1

    #BA3FB1

    oklch(58.2% 0.203 330.9)

  • #6F8600

    #6F8600

    oklch(58.1% 0.139 121)

  • #008F7E

    #008F7E

    oklch(58.3% 0.105 180.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA3FB1

    #BA3FB1

    oklch(58.2% 0.203 330.9)

  • #957700

    #957700

    oklch(58.1% 0.119 91.1)

  • #008A9D

    #008A9D

    oklch(58.1% 0.101 211.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA3FB1

    #BA3FB1

    oklch(58.2% 0.203 330.9)

  • #B36400

    #B36400

    oklch(58.2% 0.136 60.6)

  • #009446

    #009446

    oklch(58.3% 0.158 150.8)

  • #0083C3

    #0083C3

    oklch(58.3% 0.135 240.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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