#BA4AF2

Closest named color: Lighter Purple (#A55AF4). oklch(63.2% 0.246 312), rgb(186, 74, 242).

Aa

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

About this color

#BA4AF2 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.246 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lighter Purple (#A55AF4), ΔE 0.044 away. Black text reads best on it, at 5.34:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.246)
Temperaturein between
Nearest nameLighter Purple (#A55AF4)
Black text5.34:1
White text3.92:1

Values

HEX#BA4AF2
RGBrgb(186, 74, 242)
HSLhsl(280, 87%, 62%)
OKLCHoklch(63.2% 0.246 312)

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 #BA4AF2 3.92:1 AA large text Lc -71.2 Content text, not long reading
Black text on #BA4AF2 5.34:1 AA Lc 38.3 Non-text elements, placeholder text
#BA4AF2 text on white 3.92:1 AA large text Lc 65.7 Content text, not long reading
#BA4AF2 text on black 5.34:1 AA Lc -35.9 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

    #F9F3FE

    oklch(97.2% 0.016 310.1)

  2. Step 100

    100

    #F2E4FB

    oklch(93.7% 0.034 312.4)

  3. Step 200

    200

    #E8CDFA

    oklch(88.5% 0.067 311.8)

  4. Step 300

    300

    #DBAAF9

    oklch(81% 0.12 312.1)

  5. Step 400

    400

    #C877F6

    oklch(70.7% 0.193 311.9)

  6. Step 500

    500 (this color)

    #BA4AF2

    oklch(63.2% 0.246 312)

  7. Step 600

    600

    #A517E0

    oklch(55.5% 0.267 311.8)

  8. Step 700

    700

    #8D00C1

    oklch(49% 0.245 312)

  9. Step 800

    800

    #730C9D

    oklch(42.7% 0.205 312)

  10. Step 900

    900

    #5D197D

    oklch(37.7% 0.161 312)

  11. Step 950

    950

    #371249

    oklch(27.1% 0.101 312.5)

Export this scale for Tailwind in the Tailwind colors tool

#BA4AF2 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)#007BF70.217
Deuteranopia (no green cones)#3683EE0.203
Tritanopia (no blue cones)#B36E990.165
Achromatopsia (no color)#8080800.248

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA4AF2

    #BA4AF2

    oklch(63.2% 0.246 312)

  • #609E00

    #609E00

    oklch(63.2% 0.175 131.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA4AF2

    #BA4AF2

    oklch(63.2% 0.246 312)

  • #7B71FF

    #7B71FF

    oklch(63.1% 0.204 282)

  • #E42DB2

    #E42DB2

    oklch(63.3% 0.246 342.2)

Open the analogous palette in the generator

Split complementary

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

  • #BA4AF2

    #BA4AF2

    oklch(63.2% 0.246 312)

  • #9A8C00

    #9A8C00

    oklch(63.3% 0.133 102.4)

  • #00A36F

    #00A36F

    oklch(63.2% 0.139 161.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA4AF2

    #BA4AF2

    oklch(63.2% 0.246 312)

  • #BB7A00

    #BB7A00

    oklch(63.2% 0.135 72.2)

  • #009E9B

    #009E9B

    oklch(63.2% 0.108 192.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA4AF2

    #BA4AF2

    oklch(63.2% 0.246 312)

  • #E35500

    #E35500

    oklch(63.1% 0.191 41.8)

  • #609E00

    #609E00

    oklch(63.2% 0.175 131.8)

  • #0099BC

    #0099BC

    oklch(63.3% 0.117 221.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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