#BA7FED

Closest named color: Light Purple (#BF77F6). oklch(70% 0.165 307.4), rgb(186, 127, 237).

Aa

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

About this color

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

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

Values

HEX#BA7FED
RGBrgb(186, 127, 237)
HSLhsl(272, 75%, 71%)
OKLCHoklch(70% 0.165 307.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 #BA7FED 2.85:1 Fails Lc -59.8 Large or bold text, headings
Black text on #BA7FED 7.34:1 AAA Lc 49.5 Large or bold text, headings
#BA7FED text on white 2.85:1 Fails Lc 54.5 Large or bold text, headings
#BA7FED text on black 7.34:1 AAA Lc -47.3 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

    #E3D0F7

    oklch(88.5% 0.057 307.2)

  4. Step 300

    300

    #D2AFF5

    oklch(80.9% 0.103 307)

  5. Step 400

    400 (this color)

    #BA7FED

    oklch(70% 0.165 307.4)

  6. Step 500

    500

    #AC5CEA

    oklch(63.2% 0.211 307.4)

  7. Step 600

    600

    #983AD8

    oklch(55.6% 0.23 307.6)

  8. Step 700

    700

    #822ABB

    oklch(49.1% 0.213 307.7)

  9. Step 800

    800

    #692698

    oklch(42.7% 0.177 307.1)

  10. Step 900

    900

    #552679

    oklch(37.7% 0.137 307)

  11. Step 950

    950

    #321747

    oklch(27% 0.088 307.4)

Export this scale for Tailwind in the Tailwind colors tool

#BA7FED 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)#6396F10.125
Deuteranopia (no green cones)#7399EA0.114
Tritanopia (no blue cones)#B391AB0.120
Achromatopsia (no color)#9999990.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7FED

    #BA7FED

    oklch(70% 0.165 307.4)

  • #82B02A

    #82B02A

    oklch(69.9% 0.165 127.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7FED

    #BA7FED

    oklch(70% 0.165 307.4)

  • #8892FF

    #8892FF

    oklch(70% 0.159 277.5)

  • #DD71C3

    #DD71C3

    oklch(69.9% 0.166 337.1)

Open the analogous palette in the generator

Split complementary

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

  • #BA7FED

    #BA7FED

    oklch(70% 0.165 307.4)

  • #B79E00

    #B79E00

    oklch(70% 0.145 97.8)

  • #02BC74

    #02BC74

    oklch(70% 0.165 157.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7FED

    #BA7FED

    oklch(70% 0.165 307.4)

  • #DC8800

    #DC8800

    oklch(69.9% 0.154 67.3)

  • #00B6AC

    #00B6AC

    oklch(69.9% 0.122 187.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7FED

    #BA7FED

    oklch(70% 0.165 307.4)

  • #F2734D

    #F2734D

    oklch(69.9% 0.165 37.4)

  • #82B02A

    #82B02A

    oklch(69.9% 0.165 127.2)

  • #00B0D1

    #00B0D1

    oklch(69.9% 0.125 217.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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