#6D51E3

Closest named color: Light Indigo (#6D5ACF). oklch(54.8% 0.211 286), rgb(109, 81, 227).

Aa

White text reads best on this color (5.33:1).

About this color

#6D51E3 is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.211 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Light Indigo (#6D5ACF), ΔE 0.037 away. White text reads best on it, at 5.33:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.211)
Temperaturecool
Nearest nameLight Indigo (#6D5ACF)
Black text3.93:1
White text5.33:1

Values

HEX#6D51E3
RGBrgb(109, 81, 227)
HSLhsl(252, 72%, 60%)
OKLCHoklch(54.8% 0.211 286)

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 #6D51E3 5.33:1 AA Lc -81.4 Fine for body text
Black text on #6D51E3 3.93:1 AA large text Lc 28.1 Dividers and decoration only
#6D51E3 text on white 5.33:1 AA Lc 76.0 Fine for body text
#6D51E3 text on black 3.93:1 AA large text Lc -25.7 Dividers and decoration only

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

  1. Step 50

    50

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E8E8FC

    oklch(93.7% 0.027 285.9)

  3. Step 200

    200

    #D5D5FB

    oklch(88.5% 0.052 285.3)

  4. Step 300

    300

    #BBB8FC

    oklch(80.9% 0.095 286.1)

  5. Step 400

    400

    #9A90FA

    oklch(70.7% 0.152 286.1)

  6. Step 500

    500

    #8370F7

    oklch(63.1% 0.194 285.8)

  7. Step 600

    600 (this color)

    #6D51E3

    oklch(54.8% 0.211 286)

  8. Step 700

    700

    #5D43C8

    oklch(49.1% 0.196 285.6)

  9. Step 800

    800

    #4C38A1

    oklch(42.7% 0.162 286.1)

  10. Step 900

    900

    #3F3280

    oklch(37.7% 0.126 286.3)

  11. Step 950

    950

    #241E4B

    oklch(26.9% 0.08 285.8)

Export this scale for Tailwind in the Tailwind colors tool

#6D51E3 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)#006FE80.104
Deuteranopia (no green cones)#0067E00.100
Tritanopia (no blue cones)#3E75930.175
Achromatopsia (no color)#6B6B6B0.212

Harmonies

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

Complementary

The opposite hue (180°).

  • #6D51E3

    #6D51E3

    oklch(54.8% 0.211 286)

  • #7B7400

    #7B7400

    oklch(54.8% 0.116 105.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6D51E3

    #6D51E3

    oklch(54.8% 0.211 286)

  • #006DDA

    #006DDA

    oklch(54.8% 0.187 256)

  • #9E3AC1

    #9E3AC1

    oklch(54.8% 0.21 315.9)

Open the analogous palette in the generator

Split complementary

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

  • #6D51E3

    #6D51E3

    oklch(54.8% 0.211 286)

  • #976600

    #976600

    oklch(54.8% 0.115 75.9)

  • #3F8500

    #3F8500

    oklch(54.9% 0.163 136)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6D51E3

    #6D51E3

    oklch(54.8% 0.211 286)

  • #B64C00

    #B64C00

    oklch(54.8% 0.154 45.9)

  • #008561

    #008561

    oklch(54.7% 0.114 165.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6D51E3

    #6D51E3

    oklch(54.8% 0.211 286)

  • #CF1545

    #CF1545

    oklch(54.9% 0.211 16)

  • #7B7400

    #7B7400

    oklch(54.8% 0.116 105.4)

  • #008183

    #008183

    oklch(54.7% 0.093 196.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6D51E3 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.