#BA64AF

Closest named color: Soft Purple (#A66FB5). oklch(62.8% 0.145 332.1), rgb(186, 100, 175).

Aa

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

About this color

#BA64AF is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.145 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.040 away. Black text reads best on it, at 5.52:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.145)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.52:1
White text3.79:1

Values

HEX#BA64AF
RGBrgb(186, 100, 175)
HSLhsl(308, 38%, 56%)
OKLCHoklch(62.8% 0.145 332.1)

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 #BA64AF 3.79:1 AA large text Lc -70.7 Content text, not long reading
Black text on #BA64AF 5.52:1 AA Lc 38.9 Non-text elements, placeholder text
#BA64AF text on white 3.79:1 AA large text Lc 65.2 Content text, not long reading
#BA64AF text on black 5.52:1 AA Lc -36.5 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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F3E5F0

    oklch(93.6% 0.021 332.9)

  3. Step 200

    200

    #EAD0E5

    oklch(88.5% 0.04 332.4)

  4. Step 300

    300

    #DDB0D5

    oklch(80.9% 0.071 332.4)

  5. Step 400

    400

    #CA85C0

    oklch(70.6% 0.114 332)

  6. Step 500

    500 (this color)

    #BA64AF

    oklch(62.8% 0.145 332.1)

  7. Step 600

    600

    #A64A9C

    oklch(55.6% 0.158 331.8)

  8. Step 700

    700

    #8E3A85

    oklch(49% 0.147 331.9)

  9. Step 800

    800

    #74316C

    oklch(42.8% 0.122 332.3)

  10. Step 900

    900

    #5E2C58

    oklch(37.8% 0.095 332)

  11. Step 950

    950

    #371A33

    oklch(26.9% 0.06 332.4)

Export this scale for Tailwind in the Tailwind colors tool

#BA64AF 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)#627BB20.144
Deuteranopia (no green cones)#7987AC0.130
Tritanopia (no blue cones)#C06A810.077
Achromatopsia (no color)#8383830.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA64AF

    #BA64AF

    oklch(62.8% 0.145 332.1)

  • #2FA15B

    #2FA15B

    oklch(62.9% 0.145 152.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA64AF

    #BA64AF

    oklch(62.8% 0.145 332.1)

  • #9970D1

    #9970D1

    oklch(62.7% 0.146 301.9)

  • #CD5E81

    #CD5E81

    oklch(62.8% 0.145 2.3)

Open the analogous palette in the generator

Split complementary

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

  • #BA64AF

    #BA64AF

    oklch(62.8% 0.145 332.1)

  • #7A9517

    #7A9517

    oklch(62.7% 0.145 122)

  • #009E8E

    #009E8E

    oklch(62.8% 0.112 182.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA64AF

    #BA64AF

    oklch(62.8% 0.145 332.1)

  • #A48500

    #A48500

    oklch(62.8% 0.128 92.3)

  • #0099AF

    #0099AF

    oklch(62.7% 0.109 212.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA64AF

    #BA64AF

    oklch(62.8% 0.145 332.1)

  • #C57100

    #C57100

    oklch(62.9% 0.145 62)

  • #2FA15B

    #2FA15B

    oklch(62.9% 0.145 152.1)

  • #1191D8

    #1191D8

    oklch(62.9% 0.145 241.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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