#BA5FB8

Closest named color: Pinky Purple (#C94CBE). oklch(62.5% 0.162 328.1), rgb(186, 95, 184).

Aa

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

About this color

#BA5FB8 is a medium-light, vivid purple. In OKLCH its lightness is 62%, its chroma 0.162 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.044 away. Black text reads best on it, at 5.41:1.

Hue familyPurples
Lightnessmedium-light (62%)
Chromavivid (0.162)
Temperaturein between
Nearest namePinky Purple (#C94CBE)
Black text5.41:1
White text3.87:1

Values

HEX#BA5FB8
RGBrgb(186, 95, 184)
HSLhsl(301, 40%, 55%)
OKLCHoklch(62.5% 0.162 328.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 #BA5FB8 3.87:1 AA large text Lc -71.3 Content text, not long reading
Black text on #BA5FB8 5.41:1 AA Lc 38.3 Non-text elements, placeholder text
#BA5FB8 text on white 3.87:1 AA large text Lc 65.8 Content text, not long reading
#BA5FB8 text on black 5.41: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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F3E5F2

    oklch(93.7% 0.023 327.9)

  3. Step 200

    200

    #EACFE8

    oklch(88.4% 0.045 328.3)

  4. Step 300

    300

    #DDAFDB

    oklch(80.9% 0.079 327.7)

  5. Step 400

    400

    #CB83C8

    oklch(70.7% 0.126 328.3)

  6. Step 500

    500 (this color)

    #BA5FB8

    oklch(62.5% 0.162 328.1)

  7. Step 600

    600

    #A744A6

    oklch(55.5% 0.176 328)

  8. Step 700

    700

    #8F358E

    oklch(49% 0.163 328.2)

  9. Step 800

    800

    #742D73

    oklch(42.6% 0.135 328.2)

  10. Step 900

    900

    #5E2A5D

    oklch(37.7% 0.104 328.1)

  11. Step 950

    950

    #371937

    oklch(27% 0.067 327.2)

Export this scale for Tailwind in the Tailwind colors tool

#BA5FB8 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)#587ABB0.158
Deuteranopia (no green cones)#7286B50.142
Tritanopia (no blue cones)#BF68830.091
Achromatopsia (no color)#8181810.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA5FB8

    #BA5FB8

    oklch(62.5% 0.162 328.1)

  • #2BA14B

    #2BA14B

    oklch(62.5% 0.161 148.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA5FB8

    #BA5FB8

    oklch(62.5% 0.162 328.1)

  • #956EDB

    #956EDB

    oklch(62.5% 0.161 298.1)

  • #D15687

    #D15687

    oklch(62.5% 0.162 358)

Open the analogous palette in the generator

Split complementary

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

  • #BA5FB8

    #BA5FB8

    oklch(62.5% 0.162 328.1)

  • #809200

    #809200

    oklch(62.4% 0.145 118.1)

  • #009E88

    #009E88

    oklch(62.6% 0.115 178.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA5FB8

    #BA5FB8

    oklch(62.5% 0.162 328.1)

  • #A78200

    #A78200

    oklch(62.5% 0.128 88.5)

  • #0099A9

    #0099A9

    oklch(62.5% 0.107 207.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA5FB8

    #BA5FB8

    oklch(62.5% 0.162 328.1)

  • #C86C00

    #C86C00

    oklch(62.4% 0.149 58)

  • #2BA14B

    #2BA14B

    oklch(62.5% 0.161 148.1)

  • #0091D1

    #0091D1

    oklch(62.4% 0.139 238.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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