#BA54B8

Closest named color: Pinky Purple (#C94CBE). oklch(61% 0.179 328.3), rgb(186, 84, 184).

Aa

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

About this color

#BA54B8 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.179 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.031 away. Black text reads best on it, at 5.04:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.179)
Temperaturein between
Nearest namePinky Purple (#C94CBE)
Black text5.04:1
White text4.15:1

Values

HEX#BA54B8
RGBrgb(186, 84, 184)
HSLhsl(301, 43%, 53%)
OKLCHoklch(61% 0.179 328.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 #BA54B8 4.15:1 AA large text Lc -73.6 Content text, not long reading
Black text on #BA54B8 5.04:1 AA Lc 36.0 Non-text elements, placeholder text
#BA54B8 text on white 4.15:1 AA large text Lc 68.1 Content text, not long reading
#BA54B8 text on black 5.04:1 AA Lc -33.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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F3

    oklch(93.6% 0.026 327.7)

  3. Step 200

    200

    #ECCEEA

    oklch(88.5% 0.05 328.1)

  4. Step 300

    300

    #E0ADDD

    oklch(80.9% 0.087 328.3)

  5. Step 400

    400

    #CF7FCC

    oklch(70.7% 0.14 328.3)

  6. Step 500

    500 (this color)

    #BA54B8

    oklch(61% 0.179 328.3)

  7. Step 600

    600

    #AC3CAB

    oklch(55.6% 0.195 328.2)

  8. Step 700

    700

    #942D93

    oklch(49.2% 0.181 328.3)

  9. Step 800

    800

    #782777

    oklch(42.7% 0.15 328.3)

  10. Step 900

    900

    #612660

    oklch(37.8% 0.116 328.2)

  11. Step 950

    950

    #391738

    oklch(27% 0.074 328.5)

Export this scale for Tailwind in the Tailwind colors tool

#BA54B8 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)#4B74BB0.180
Deuteranopia (no green cones)#6B81B50.158
Tritanopia (no blue cones)#BF5F7E0.100
Achromatopsia (no color)#7C7C7C0.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA54B8

    #BA54B8

    oklch(61% 0.179 328.3)

  • #009E3F

    #009E3F

    oklch(61% 0.176 148.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA54B8

    #BA54B8

    oklch(61% 0.179 328.3)

  • #9265DE

    #9265DE

    oklch(61% 0.178 298.1)

  • #D24982

    #D24982

    oklch(60.9% 0.179 358.2)

Open the analogous palette in the generator

Split complementary

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

  • #BA54B8

    #BA54B8

    oklch(61% 0.179 328.3)

  • #7C8E00

    #7C8E00

    oklch(61.1% 0.143 118.3)

  • #009983

    #009983

    oklch(61.1% 0.113 177.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA54B8

    #BA54B8

    oklch(61% 0.179 328.3)

  • #A27E00

    #A27E00

    oklch(61.1% 0.125 88.5)

  • #0094A4

    #0094A4

    oklch(61% 0.105 208.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA54B8

    #BA54B8

    oklch(61% 0.179 328.3)

  • #C26900

    #C26900

    oklch(61.1% 0.146 58.2)

  • #009E3F

    #009E3F

    oklch(61% 0.176 148.2)

  • #008DCA

    #008DCA

    oklch(61.1% 0.135 237.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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