#BA02BE

Closest named color: Vibrant Purple (#AD03DE). oklch(55.7% 0.256 327.2), rgb(186, 2, 190).

Aa

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

About this color

#BA02BE is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.256 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Vibrant Purple (#AD03DE), ΔE 0.059 away. White text reads best on it, at 5.46:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.256)
Temperaturein between
Nearest nameVibrant Purple (#AD03DE)
Black text3.84:1
White text5.46:1

Values

HEX#BA02BE
RGBrgb(186, 2, 190)
HSLhsl(299, 98%, 38%)
OKLCHoklch(55.7% 0.256 327.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 #BA02BE 5.46:1 AA Lc -80.2 Fine for body text
Black text on #BA02BE 3.84:1 AA large text Lc 29.2 Dividers and decoration only
#BA02BE text on white 5.46:1 AA Lc 74.8 Content text, not long reading
#BA02BE text on black 3.84: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

    #FBF2FB

    oklch(97.1% 0.015 325.7)

  2. Step 100

    100

    #F7E3F6

    oklch(93.7% 0.033 327.4)

  3. Step 200

    200

    #F1CBEF

    oklch(88.5% 0.064 327.8)

  4. Step 300

    300

    #E9A6E7

    oklch(80.9% 0.115 327.6)

  5. Step 400

    400

    #DB71DB

    oklch(70.7% 0.185 327.3)

  6. Step 500

    500

    #CF41D1

    oklch(63.1% 0.237 327.3)

  7. Step 600

    600 (this color)

    #BA02BE

    oklch(55.7% 0.256 327.2)

  8. Step 700

    700

    #9D00A1

    oklch(49.1% 0.227 327)

  9. Step 800

    800

    #820085

    oklch(42.8% 0.198 327.2)

  10. Step 900

    900

    #69146A

    oklch(37.7% 0.154 327.6)

  11. Step 950

    950

    #3E0F3E

    oklch(27.1% 0.097 327.9)

Export this scale for Tailwind in the Tailwind colors tool

#BA02BE 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)#005CC20.265
Deuteranopia (no green cones)#4770BA0.235
Tritanopia (no blue cones)#C0376F0.144
Achromatopsia (no color)#6969690.259

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA02BE

    #BA02BE

    oklch(55.7% 0.256 327.2)

  • #008C32

    #008C32

    oklch(55.8% 0.165 147.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA02BE

    #BA02BE

    oklch(55.7% 0.256 327.2)

  • #8A36F2

    #8A36F2

    oklch(55.7% 0.256 297.4)

  • #CF0075

    #CF0075

    oklch(55.6% 0.227 357.1)

Open the analogous palette in the generator

Split complementary

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

  • #BA02BE

    #BA02BE

    oklch(55.7% 0.256 327.2)

  • #6F7C00

    #6F7C00

    oklch(55.6% 0.128 116.8)

  • #008773

    #008773

    oklch(55.8% 0.103 177.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA02BE

    #BA02BE

    oklch(55.7% 0.256 327.2)

  • #906E00

    #906E00

    oklch(55.7% 0.114 87.1)

  • #008390

    #008390

    oklch(55.7% 0.096 207)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA02BE

    #BA02BE

    oklch(55.7% 0.256 327.2)

  • #AC5B00

    #AC5B00

    oklch(55.6% 0.134 57.3)

  • #008C32

    #008C32

    oklch(55.8% 0.165 147.2)

  • #007CB1

    #007CB1

    oklch(55.6% 0.122 237.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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