#BA6FE2

Closest named color: Light Urple (#B36FF6). oklch(66.9% 0.178 312.6), rgb(186, 111, 226).

Aa

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

About this color

#BA6FE2 is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.178 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Urple (#B36FF6), ΔE 0.033 away. Black text reads best on it, at 6.45:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.178)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text6.45:1
White text3.25:1

Values

HEX#BA6FE2
RGBrgb(186, 111, 226)
HSLhsl(279, 66%, 66%)
OKLCHoklch(66.9% 0.178 312.6)

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 #BA6FE2 3.25:1 AA large text Lc -64.9 Content text, not long reading
Black text on #BA6FE2 6.45:1 AA Lc 44.6 Non-text elements, placeholder text
#BA6FE2 text on white 3.25:1 AA large text Lc 59.5 Large or bold text, headings
#BA6FE2 text on black 6.45:1 AA Lc -42.3 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 400.

  1. Step 50

    50

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F1E4FA

    oklch(93.6% 0.032 311.7)

  3. Step 200

    200

    #E7CEF7

    oklch(88.5% 0.061 312.2)

  4. Step 300

    300

    #D9ABF4

    oklch(80.8% 0.112 312.6)

  5. Step 400

    400 (this color)

    #BA6FE2

    oklch(66.9% 0.178 312.6)

  6. Step 500

    500

    #B751E9

    oklch(63% 0.228 312.6)

  7. Step 600

    600

    #A32AD7

    oklch(55.6% 0.247 312.7)

  8. Step 700

    700

    #8C18BB

    oklch(49.2% 0.23 312.6)

  9. Step 800

    800

    #711A97

    oklch(42.7% 0.19 312.4)

  10. Step 900

    900

    #5C1F78

    oklch(37.7% 0.148 312.9)

  11. Step 950

    950

    #361446

    oklch(27% 0.094 313.2)

Export this scale for Tailwind in the Tailwind colors tool

#BA6FE2 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)#538BE60.151
Deuteranopia (no green cones)#6A90DF0.135
Tritanopia (no blue cones)#B6829E0.123
Achromatopsia (no color)#8F8F8F0.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA6FE2

    #BA6FE2

    oklch(66.9% 0.178 312.6)

  • #68AA1C

    #68AA1C

    oklch(66.8% 0.177 132.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA6FE2

    #BA6FE2

    oklch(66.9% 0.178 312.6)

  • #8882FD

    #8882FD

    oklch(67% 0.177 282.7)

  • #DC61B2

    #DC61B2

    oklch(66.9% 0.178 342.7)

Open the analogous palette in the generator

Split complementary

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

  • #BA6FE2

    #BA6FE2

    oklch(66.9% 0.178 312.6)

  • #A69700

    #A69700

    oklch(66.9% 0.14 102.4)

  • #00B07A

    #00B07A

    oklch(67% 0.146 162.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA6FE2

    #BA6FE2

    oklch(66.9% 0.178 312.6)

  • #C98400

    #C98400

    oklch(66.8% 0.143 72.6)

  • #00ABA8

    #00ABA8

    oklch(67% 0.115 192.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA6FE2

    #BA6FE2

    oklch(66.9% 0.178 312.6)

  • #EB672A

    #EB672A

    oklch(66.9% 0.178 42.4)

  • #68AA1C

    #68AA1C

    oklch(66.8% 0.177 132.5)

  • #00A5CC

    #00A5CC

    oklch(67% 0.124 222.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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