#BA65B2

Closest named color: Soft Purple (#A66FB5). oklch(63.1% 0.146 330.7), rgb(186, 101, 178).

Aa

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

About this color

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

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

Values

HEX#BA65B2
RGBrgb(186, 101, 178)
HSLhsl(306, 38%, 56%)
OKLCHoklch(63.1% 0.146 330.7)

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 #BA65B2 3.75:1 AA large text Lc -70.3 Content text, not long reading
Black text on #BA65B2 5.59:1 AA Lc 39.3 Non-text elements, placeholder text
#BA65B2 text on white 3.75:1 AA large text Lc 64.8 Content text, not long reading
#BA65B2 text on black 5.59:1 AA Lc -36.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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E5F0

    oklch(93.5% 0.02 330.7)

  3. Step 200

    200

    #E9D0E6

    oklch(88.5% 0.04 329.8)

  4. Step 300

    300

    #DCB0D6

    oklch(80.8% 0.072 330.8)

  5. Step 400

    400

    #C986C2

    oklch(70.8% 0.114 330.4)

  6. Step 500

    500 (this color)

    #BA65B2

    oklch(63.1% 0.146 330.7)

  7. Step 600

    600

    #A54A9E

    oklch(55.6% 0.159 330.5)

  8. Step 700

    700

    #8D3B87

    oklch(49.1% 0.147 330.4)

  9. Step 800

    800

    #73316E

    oklch(42.7% 0.123 330.5)

  10. Step 900

    900

    #5D2C59

    oklch(37.7% 0.096 330.4)

  11. Step 950

    950

    #371A34

    oklch(27% 0.061 331)

Export this scale for Tailwind in the Tailwind colors tool

#BA65B2 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)#617CB50.144
Deuteranopia (no green cones)#7988AF0.130
Tritanopia (no blue cones)#C06B830.078
Achromatopsia (no color)#8484840.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA65B2

    #BA65B2

    oklch(63.1% 0.146 330.7)

  • #34A159

    #34A159

    oklch(63% 0.145 150.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA65B2

    #BA65B2

    oklch(63.1% 0.146 330.7)

  • #9972D3

    #9972D3

    oklch(63.2% 0.146 300.9)

  • #CE5E85

    #CE5E85

    oklch(63% 0.147 0.3)

Open the analogous palette in the generator

Split complementary

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

  • #BA65B2

    #BA65B2

    oklch(63.1% 0.146 330.7)

  • #7D9611

    #7D9611

    oklch(63.1% 0.147 121)

  • #009F8D

    #009F8D

    oklch(63% 0.114 181)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA65B2

    #BA65B2

    oklch(63.1% 0.146 330.7)

  • #A78500

    #A78500

    oklch(63.1% 0.129 90.6)

  • #009BAE

    #009BAE

    oklch(63.2% 0.109 210)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA65B2

    #BA65B2

    oklch(63.1% 0.146 330.7)

  • #C77003

    #C77003

    oklch(63% 0.146 60.5)

  • #34A159

    #34A159

    oklch(63% 0.145 150.9)

  • #0092D8

    #0092D8

    oklch(63% 0.146 240.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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