#BA7DED

Closest named color: Light Purple (#BF77F6). oklch(69.7% 0.168 307.7), rgb(186, 125, 237).

Aa

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

About this color

#BA7DED is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.168 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.021 away. Black text reads best on it, at 7.24:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.168)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.24:1
White text2.89:1

Values

HEX#BA7DED
RGBrgb(186, 125, 237)
HSLhsl(273, 76%, 71%)
OKLCHoklch(69.7% 0.168 307.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 #BA7DED 2.89:1 Fails Lc -60.4 Content text, not long reading
Black text on #BA7DED 7.24:1 AAA Lc 49.0 Large or bold text, headings
#BA7DED text on white 2.89:1 Fails Lc 55.1 Large or bold text, headings
#BA7DED text on black 7.24:1 AAA Lc -46.7 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #EFE5FA

    oklch(93.6% 0.03 307.1)

  3. Step 200

    200

    #E4CFF8

    oklch(88.5% 0.06 308.2)

  4. Step 300

    300

    #D3AEF5

    oklch(80.8% 0.105 307.9)

  5. Step 400

    400 (this color)

    #BA7DED

    oklch(69.7% 0.168 307.7)

  6. Step 500

    500

    #AD5AEB

    oklch(63.1% 0.215 307.7)

  7. Step 600

    600

    #9938D9

    oklch(55.6% 0.233 307.8)

  8. Step 700

    700

    #8327BD

    oklch(49.2% 0.218 307.8)

  9. Step 800

    800

    #6A2499

    oklch(42.7% 0.18 307.5)

  10. Step 900

    900

    #562579

    oklch(37.7% 0.139 307.8)

  11. Step 950

    950

    #321747

    oklch(27% 0.088 307.4)

Export this scale for Tailwind in the Tailwind colors tool

#BA7DED 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)#6095F10.129
Deuteranopia (no green cones)#7198EA0.117
Tritanopia (no blue cones)#B390AA0.122
Achromatopsia (no color)#9898980.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7DED

    #BA7DED

    oklch(69.7% 0.168 307.7)

  • #7FB025

    #7FB025

    oklch(69.7% 0.169 127.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7DED

    #BA7DED

    oklch(69.7% 0.168 307.7)

  • #8790FF

    #8790FF

    oklch(69.6% 0.161 277.8)

  • #DE6FC2

    #DE6FC2

    oklch(69.7% 0.169 337.8)

Open the analogous palette in the generator

Split complementary

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

  • #BA7DED

    #BA7DED

    oklch(69.7% 0.168 307.7)

  • #B69D00

    #B69D00

    oklch(69.7% 0.144 97.7)

  • #00BB74

    #00BB74

    oklch(69.7% 0.164 157.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7DED

    #BA7DED

    oklch(69.7% 0.168 307.7)

  • #DB8800

    #DB8800

    oklch(69.8% 0.153 67.7)

  • #00B5AB

    #00B5AB

    oklch(69.7% 0.121 187.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7DED

    #BA7DED

    oklch(69.7% 0.168 307.7)

  • #F27149

    #F27149

    oklch(69.6% 0.168 37.8)

  • #7FB025

    #7FB025

    oklch(69.7% 0.169 127.9)

  • #00AFD0

    #00AFD0

    oklch(69.6% 0.125 217.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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