#BA34AE

Closest named color: Purpley Pink (#C83CB9). oklch(57.1% 0.214 331.9), rgb(186, 52, 174).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.214)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.19:1
White text5.01:1

Values

HEX#BA34AE
RGBrgb(186, 52, 174)
HSLhsl(305, 56%, 47%)
OKLCHoklch(57.1% 0.214 331.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 #BA34AE 5.01:1 AA Lc -78.9 Fine for body text
Black text on #BA34AE 4.19:1 AA large text Lc 30.6 Non-text elements, placeholder text
#BA34AE text on white 5.01:1 AA Lc 73.5 Content text, not long reading
#BA34AE text on black 4.19:1 AA large text Lc -28.2 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

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E3F2

    oklch(93.5% 0.029 332.8)

  3. Step 200

    200

    #EFCDE9

    oklch(88.5% 0.053 332)

  4. Step 300

    300

    #E6AADC

    oklch(80.9% 0.096 332.3)

  5. Step 400

    400

    #D779CB

    oklch(70.7% 0.155 331.9)

  6. Step 500

    500

    #CA52BD

    oklch(63.1% 0.196 332.1)

  7. Step 600

    600 (this color)

    #BA34AE

    oklch(57.1% 0.214 331.9)

  8. Step 700

    700

    #9B1E91

    oklch(49% 0.199 331.9)

  9. Step 800

    800

    #7E1D76

    oklch(42.6% 0.165 331.7)

  10. Step 900

    900

    #66205F

    oklch(37.7% 0.128 332)

  11. Step 950

    950

    #3C1438

    oklch(27% 0.082 331.6)

Export this scale for Tailwind in the Tailwind colors tool

#BA34AE 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)#2B63B10.231
Deuteranopia (no green cones)#5F76AB0.196
Tritanopia (no blue cones)#C2436E0.112
Achromatopsia (no color)#6F6F6F0.216

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA34AE

    #BA34AE

    oklch(57.1% 0.214 331.9)

  • #008F48

    #008F48

    oklch(56.9% 0.15 152.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA34AE

    #BA34AE

    oklch(57.1% 0.214 331.9)

  • #914BDE

    #914BDE

    oklch(57.1% 0.214 301.8)

  • #D3206E

    #D3206E

    oklch(57.1% 0.214 1.9)

Open the analogous palette in the generator

Split complementary

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

  • #BA34AE

    #BA34AE

    oklch(57.1% 0.214 331.9)

  • #6A8300

    #6A8300

    oklch(57% 0.138 122)

  • #008B7C

    #008B7C

    oklch(57.1% 0.102 181.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA34AE

    #BA34AE

    oklch(57.1% 0.214 331.9)

  • #907400

    #907400

    oklch(57% 0.116 91.9)

  • #008699

    #008699

    oklch(56.9% 0.099 212)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA34AE

    #BA34AE

    oklch(57.1% 0.214 331.9)

  • #AD6200

    #AD6200

    oklch(57% 0.132 61.7)

  • #008F48

    #008F48

    oklch(56.9% 0.15 152.1)

  • #007FBF

    #007FBF

    oklch(57.1% 0.134 241.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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