#BA6FE8

Closest named color: Light Urple (#B36FF6). oklch(67.3% 0.185 311), rgb(186, 111, 232).

Aa

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

About this color

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

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

Values

HEX#BA6FE8
RGBrgb(186, 111, 232)
HSLhsl(277, 72%, 67%)
OKLCHoklch(67.3% 0.185 311)

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 #BA6FE8 3.21:1 AA large text Lc -64.5 Content text, not long reading
Black text on #BA6FE8 6.52:1 AA Lc 45.0 Large or bold text, headings
#BA6FE8 text on white 3.21:1 AA large text Lc 59.1 Large or bold text, headings
#BA6FE8 text on black 6.52:1 AA Lc -42.7 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

    #F1E4FB

    oklch(93.6% 0.034 310.7)

  3. Step 200

    200

    #E7CEF9

    oklch(88.6% 0.064 311.1)

  4. Step 300

    300

    #D9ABF8

    oklch(80.9% 0.116 311.2)

  5. Step 400

    400 (this color)

    #BA6FE8

    oklch(67.3% 0.185 311)

  6. Step 500

    500

    #B64FEF

    oklch(63.1% 0.236 311)

  7. Step 600

    600

    #A224DE

    oklch(55.6% 0.257 310.9)

  8. Step 700

    700

    #8B10C0

    oklch(49.1% 0.238 311.2)

  9. Step 800

    800

    #71169C

    oklch(42.8% 0.198 311)

  10. Step 900

    900

    #5B1D7C

    oklch(37.7% 0.155 310.8)

  11. Step 950

    950

    #351348

    oklch(26.9% 0.097 311)

Export this scale for Tailwind in the Tailwind colors tool

#BA6FE8 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)#4E8CEC0.155
Deuteranopia (no green cones)#6691E50.139
Tritanopia (no blue cones)#B583A10.128
Achromatopsia (no color)#8F8F8F0.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA6FE8

    #BA6FE8

    oklch(67.3% 0.185 311)

  • #6CAB00

    #6CAB00

    oklch(67.2% 0.184 131)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA6FE8

    #BA6FE8

    oklch(67.3% 0.185 311)

  • #8584FF

    #8584FF

    oklch(67.2% 0.178 280.9)

  • #DE60B7

    #DE60B7

    oklch(67.3% 0.185 341.2)

Open the analogous palette in the generator

Split complementary

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

  • #BA6FE8

    #BA6FE8

    oklch(67.3% 0.185 311)

  • #A99700

    #A99700

    oklch(67.1% 0.14 100.9)

  • #00B177

    #00B177

    oklch(67.2% 0.149 161.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA6FE8

    #BA6FE8

    oklch(67.3% 0.185 311)

  • #CD8400

    #CD8400

    oklch(67.3% 0.145 70.8)

  • #00ACA7

    #00ACA7

    oklch(67.2% 0.116 191.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA6FE8

    #BA6FE8

    oklch(67.3% 0.185 311)

  • #F0652A

    #F0652A

    oklch(67.3% 0.185 41)

  • #6CAB00

    #6CAB00

    oklch(67.2% 0.184 131)

  • #00A6CB

    #00A6CB

    oklch(67.2% 0.123 221.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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