#6D51E5

Closest named color: Light Indigo (#6D5ACF). oklch(55% 0.213 285.7), rgb(109, 81, 229).

Aa

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

About this color

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

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

Values

HEX#6D51E5
RGBrgb(109, 81, 229)
HSLhsl(251, 74%, 61%)
OKLCHoklch(55% 0.213 285.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 #6D51E5 5.30:1 AA Lc -81.2 Fine for body text
Black text on #6D51E5 3.95:1 AA large text Lc 28.3 Dividers and decoration only
#6D51E5 text on white 5.30:1 AA Lc 75.8 Fine for body text
#6D51E5 text on black 3.95:1 AA large text Lc -25.9 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

    #D5D5FC

    oklch(88.5% 0.053 285.3)

  4. Step 300

    300

    #BAB8FC

    oklch(80.9% 0.095 285.4)

  5. Step 400

    400

    #9990FB

    oklch(70.7% 0.153 285.6)

  6. Step 500

    500

    #8370F8

    oklch(63.1% 0.195 285.7)

  7. Step 600

    600 (this color)

    #6D51E5

    oklch(55% 0.213 285.7)

  8. Step 700

    700

    #5D42C9

    oklch(49.1% 0.198 285.7)

  9. Step 800

    800

    #4C38A2

    oklch(42.7% 0.163 285.9)

  10. Step 900

    900

    #3E3281

    oklch(37.7% 0.128 285.4)

  11. Step 950

    950

    #241E4B

    oklch(26.9% 0.08 285.8)

Export this scale for Tailwind in the Tailwind colors tool

#6D51E5 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)#006FEA0.103
Deuteranopia (no green cones)#0067E20.099
Tritanopia (no blue cones)#3C76940.177
Achromatopsia (no color)#6B6B6B0.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #6D51E5

    #6D51E5

    oklch(55% 0.213 285.7)

  • #7B7500

    #7B7500

    oklch(55% 0.117 106.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6D51E5

    #6D51E5

    oklch(55% 0.213 285.7)

  • #006EDA

    #006EDA

    oklch(55% 0.185 255.7)

  • #9F39C3

    #9F39C3

    oklch(54.9% 0.213 315.7)

Open the analogous palette in the generator

Split complementary

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

  • #6D51E5

    #6D51E5

    oklch(55% 0.213 285.7)

  • #986600

    #986600

    oklch(55% 0.116 75.3)

  • #408500

    #408500

    oklch(54.9% 0.163 135.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6D51E5

    #6D51E5

    oklch(55% 0.213 285.7)

  • #B74C00

    #B74C00

    oklch(54.9% 0.155 45.7)

  • #008661

    #008661

    oklch(55% 0.115 165.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6D51E5

    #6D51E5

    oklch(55% 0.213 285.7)

  • #D01245

    #D01245

    oklch(55% 0.213 15.9)

  • #7B7500

    #7B7500

    oklch(55% 0.117 106.1)

  • #008283

    #008283

    oklch(55% 0.094 195.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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