#BA6FAF

Closest named color: Soft Purple (#A66FB5). oklch(64.5% 0.126 332.4), rgb(186, 111, 175).

Aa

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

About this color

#BA6FAF is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.126 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.036 away. Black text reads best on it, at 5.98:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.98:1
White text3.51:1

Values

HEX#BA6FAF
RGBrgb(186, 111, 175)
HSLhsl(309, 35%, 58%)
OKLCHoklch(64.5% 0.126 332.4)

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 #BA6FAF 3.51:1 AA large text Lc -67.9 Content text, not long reading
Black text on #BA6FAF 5.98:1 AA Lc 41.6 Non-text elements, placeholder text
#BA6FAF text on white 3.51:1 AA large text Lc 62.4 Content text, not long reading
#BA6FAF text on black 5.98:1 AA Lc -39.2 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

    #F1E6EF

    oklch(93.6% 0.017 331.6)

  3. Step 200

    200

    #E8D1E3

    oklch(88.5% 0.035 333.2)

  4. Step 300

    300

    #D9B2D2

    oklch(80.8% 0.062 332.3)

  5. Step 400

    400

    #C589BC

    oklch(70.6% 0.1 332)

  6. Step 500

    500 (this color)

    #BA6FAF

    oklch(64.5% 0.126 332.4)

  7. Step 600

    600

    #A05196

    oklch(55.5% 0.137 332.2)

  8. Step 700

    700

    #894180

    oklch(49% 0.128 332.2)

  9. Step 800

    800

    #703668

    oklch(42.7% 0.106 332.7)

  10. Step 900

    900

    #5B3054

    oklch(37.8% 0.081 333.3)

  11. Step 950

    950

    #351C31

    oklch(26.9% 0.052 333)

Export this scale for Tailwind in the Tailwind colors tool

#BA6FAF 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)#6D82B10.124
Deuteranopia (no green cones)#818DAD0.113
Tritanopia (no blue cones)#C073870.065
Achromatopsia (no color)#8989890.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA6FAF

    #BA6FAF

    oklch(64.5% 0.126 332.4)

  • #48A367

    #48A367

    oklch(64.4% 0.125 152.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA6FAF

    #BA6FAF

    oklch(64.5% 0.126 332.4)

  • #9D7ACD

    #9D7ACD

    oklch(64.6% 0.126 302.5)

  • #CB6A87

    #CB6A87

    oklch(64.4% 0.126 2.2)

Open the analogous palette in the generator

Split complementary

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

  • #BA6FAF

    #BA6FAF

    oklch(64.5% 0.126 332.4)

  • #809939

    #809939

    oklch(64.4% 0.126 122.4)

  • #00A493

    #00A493

    oklch(64.5% 0.115 182.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA6FAF

    #BA6FAF

    oklch(64.5% 0.126 332.4)

  • #A98A17

    #A98A17

    oklch(64.4% 0.126 91.9)

  • #009FB6

    #009FB6

    oklch(64.5% 0.113 212.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA6FAF

    #BA6FAF

    oklch(64.5% 0.126 332.4)

  • #C37A30

    #C37A30

    oklch(64.4% 0.126 62.1)

  • #48A367

    #48A367

    oklch(64.4% 0.125 152.4)

  • #3B95D3

    #3B95D3

    oklch(64.4% 0.126 242.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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