#BA28AA

Closest named color: Purpley Pink (#C83CB9). oklch(55.9% 0.223 333.2), rgb(186, 40, 170).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.223)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text3.97:1
White text5.28:1

Values

HEX#BA28AA
RGBrgb(186, 40, 170)
HSLhsl(307, 65%, 44%)
OKLCHoklch(55.9% 0.223 333.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 #BA28AA 5.28:1 AA Lc -80.2 Fine for body text
Black text on #BA28AA 3.97:1 AA large text Lc 29.2 Dividers and decoration only
#BA28AA text on white 5.28:1 AA Lc 74.8 Content text, not long reading
#BA28AA text on black 3.97:1 AA large text Lc -26.9 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

    #F7E3F2

    oklch(93.6% 0.029 334.4)

  3. Step 200

    200

    #F1CCE9

    oklch(88.5% 0.056 333.6)

  4. Step 300

    300

    #E8A8DC

    oklch(80.8% 0.101 333.2)

  5. Step 400

    400

    #DA77CB

    oklch(70.7% 0.16 333)

  6. Step 500

    500

    #CE4DBD

    oklch(63.1% 0.206 333.3)

  7. Step 600

    600 (this color)

    #BA28AA

    oklch(55.9% 0.223 333.2)

  8. Step 700

    700

    #9F1591

    oklch(49.1% 0.208 333.2)

  9. Step 800

    800

    #811776

    oklch(42.7% 0.172 333)

  10. Step 900

    900

    #681D5F

    oklch(37.7% 0.133 333.1)

  11. Step 950

    950

    #3D1338

    oklch(27% 0.084 332.6)

Export this scale for Tailwind in the Tailwind colors tool

#BA28AA 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)#205EAD0.246
Deuteranopia (no green cones)#5C73A70.207
Tritanopia (no blue cones)#C339680.116
Achromatopsia (no color)#6C6C6C0.225

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA28AA

    #BA28AA

    oklch(55.9% 0.223 333.2)

  • #008B4A

    #008B4A

    oklch(55.8% 0.143 153.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA28AA

    #BA28AA

    oklch(55.9% 0.223 333.2)

  • #9142DC

    #9142DC

    oklch(55.9% 0.223 303.3)

  • #D30667

    #D30667

    oklch(56% 0.224 3.3)

Open the analogous palette in the generator

Split complementary

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

  • #BA28AA

    #BA28AA

    oklch(55.9% 0.223 333.2)

  • #658000

    #658000

    oklch(55.8% 0.137 123.1)

  • #00877A

    #00877A

    oklch(56% 0.1 183.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA28AA

    #BA28AA

    oklch(55.9% 0.223 333.2)

  • #8B7200

    #8B7200

    oklch(56% 0.115 93.6)

  • #008397

    #008397

    oklch(56% 0.098 213.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA28AA

    #BA28AA

    oklch(55.9% 0.223 333.2)

  • #A76100

    #A76100

    oklch(56% 0.127 63.5)

  • #008B4A

    #008B4A

    oklch(55.8% 0.143 153.4)

  • #007BBD

    #007BBD

    oklch(56% 0.136 243.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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