#BA68B2

Closest named color: Soft Purple (#A66FB5). oklch(63.5% 0.141 330.7), rgb(186, 104, 178).

Aa

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

About this color

#BA68B2 is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.141 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.036 away. Black text reads best on it, at 5.71:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.141)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.71:1
White text3.67:1

Values

HEX#BA68B2
RGBrgb(186, 104, 178)
HSLhsl(306, 37%, 57%)
OKLCHoklch(63.5% 0.141 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 #BA68B2 3.67:1 AA large text Lc -69.5 Content text, not long reading
Black text on #BA68B2 5.71:1 AA Lc 40.0 Non-text elements, placeholder text
#BA68B2 text on white 3.67:1 AA large text Lc 64.0 Content text, not long reading
#BA68B2 text on black 5.71:1 AA Lc -37.6 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

    #E9D0E5

    oklch(88.4% 0.039 331.2)

  4. Step 300

    300

    #DBB1D6

    oklch(80.9% 0.069 330.2)

  5. Step 400

    400

    #C887C1

    oklch(70.8% 0.11 330.5)

  6. Step 500

    500 (this color)

    #BA68B2

    oklch(63.5% 0.141 330.7)

  7. Step 600

    600

    #A44C9C

    oklch(55.6% 0.153 331)

  8. Step 700

    700

    #8C3C85

    oklch(49% 0.143 331)

  9. Step 800

    800

    #72336C

    oklch(42.8% 0.117 331.1)

  10. Step 900

    900

    #5C2D58

    oklch(37.6% 0.092 330.4)

  11. Step 950

    950

    #361B34

    oklch(27% 0.058 329.8)

Export this scale for Tailwind in the Tailwind colors tool

#BA68B2 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)#657EB50.138
Deuteranopia (no green cones)#7B89B00.124
Tritanopia (no blue cones)#C06E850.075
Achromatopsia (no color)#8585850.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA68B2

    #BA68B2

    oklch(63.5% 0.141 330.7)

  • #3BA25C

    #3BA25C

    oklch(63.5% 0.141 150.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA68B2

    #BA68B2

    oklch(63.5% 0.141 330.7)

  • #9974D2

    #9974D2

    oklch(63.4% 0.141 300.6)

  • #CD6286

    #CD6286

    oklch(63.5% 0.14 0.6)

Open the analogous palette in the generator

Split complementary

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

  • #BA68B2

    #BA68B2

    oklch(63.5% 0.141 330.7)

  • #7F971F

    #7F971F

    oklch(63.6% 0.141 120.8)

  • #00A18E

    #00A18E

    oklch(63.5% 0.115 180.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA68B2

    #BA68B2

    oklch(63.5% 0.141 330.7)

  • #A88600

    #A88600

    oklch(63.4% 0.13 90.7)

  • #009CB0

    #009CB0

    oklch(63.5% 0.11 210.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA68B2

    #BA68B2

    oklch(63.5% 0.141 330.7)

  • #C77317

    #C77317

    oklch(63.5% 0.141 60.5)

  • #3BA25C

    #3BA25C

    oklch(63.5% 0.141 150.8)

  • #1993D7

    #1993D7

    oklch(63.4% 0.141 240.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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