#BA02BC

Closest named color: Vibrant Purple (#AD03DE). oklch(55.5% 0.255 327.8), rgb(186, 2, 188).

Aa

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

About this color

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

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

Values

HEX#BA02BC
RGBrgb(186, 2, 188)
HSLhsl(299, 98%, 37%)
OKLCHoklch(55.5% 0.255 327.8)

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 #BA02BC 5.49:1 AA Lc -80.4 Fine for body text
Black text on #BA02BC 3.82:1 AA large text Lc 29.1 Dividers and decoration only
#BA02BC text on white 5.49:1 AA Lc 75.0 Content text, not long reading
#BA02BC text on black 3.82:1 AA large text Lc -26.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

    #FBF2FB

    oklch(97.1% 0.015 325.7)

  2. Step 100

    100

    #F7E2F5

    oklch(93.5% 0.034 328.8)

  3. Step 200

    200

    #F1CBEF

    oklch(88.5% 0.064 327.8)

  4. Step 300

    300

    #E9A6E6

    oklch(80.9% 0.114 328.1)

  5. Step 400

    400

    #DB71DA

    oklch(70.7% 0.184 327.7)

  6. Step 500

    500

    #CF41CF

    oklch(63% 0.235 327.9)

  7. Step 600

    600 (this color)

    #BA02BC

    oklch(55.5% 0.255 327.8)

  8. Step 700

    700

    #9E009F

    oklch(49.1% 0.226 328)

  9. Step 800

    800

    #820184

    oklch(42.7% 0.197 327.6)

  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

#BA02BC 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)#005CC00.265
Deuteranopia (no green cones)#4970B80.234
Tritanopia (no blue cones)#C0366E0.142
Achromatopsia (no color)#6969690.257

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA02BC

    #BA02BC

    oklch(55.5% 0.255 327.8)

  • #008B35

    #008B35

    oklch(55.5% 0.161 147.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA02BC

    #BA02BC

    oklch(55.5% 0.255 327.8)

  • #8A36F1

    #8A36F1

    oklch(55.6% 0.255 297.6)

  • #CF0073

    #CF0073

    oklch(55.5% 0.226 357.8)

Open the analogous palette in the generator

Split complementary

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

  • #BA02BC

    #BA02BC

    oklch(55.5% 0.255 327.8)

  • #6D7C00

    #6D7C00

    oklch(55.4% 0.129 117.8)

  • #008673

    #008673

    oklch(55.5% 0.102 178.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA02BC

    #BA02BC

    oklch(55.5% 0.255 327.8)

  • #8F6E00

    #8F6E00

    oklch(55.5% 0.114 87.7)

  • #008290

    #008290

    oklch(55.5% 0.095 208)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA02BC

    #BA02BC

    oklch(55.5% 0.255 327.8)

  • #AB5B00

    #AB5B00

    oklch(55.5% 0.133 57.7)

  • #008B35

    #008B35

    oklch(55.5% 0.161 147.8)

  • #007CB2

    #007CB2

    oklch(55.6% 0.123 237.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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