#7E5ECD

Closest named color: Light Indigo (#6D5ACF). oklch(56.8% 0.165 293.8), rgb(126, 94, 205).

Aa

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

About this color

#7E5ECD is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.165 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Indigo (#6D5ACF), ΔE 0.031 away. White text reads best on it, at 4.80:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.165)
Temperaturein between
Nearest nameLight Indigo (#6D5ACF)
Black text4.36:1
White text4.80:1

Values

HEX#7E5ECD
RGBrgb(126, 94, 205)
HSLhsl(257, 53%, 59%)
OKLCHoklch(56.8% 0.165 293.8)

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 #7E5ECD 4.80:1 AA Lc -78.5 Fine for body text
Black text on #7E5ECD 4.36:1 AA large text Lc 31.0 Non-text elements, placeholder text
#7E5ECD text on white 4.80:1 AA Lc 73.1 Content text, not long reading
#7E5ECD text on black 4.36:1 AA large text Lc -28.6 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #EAE7F7

    oklch(93.5% 0.022 294.6)

  3. Step 200

    200

    #DAD4F3

    oklch(88.4% 0.043 294.4)

  4. Step 300

    300

    #C2B8ED

    oklch(80.9% 0.075 293.3)

  5. Step 400

    400

    #A491E3

    oklch(70.5% 0.119 293.8)

  6. Step 500

    500

    #8F74DB

    oklch(63% 0.152 293.7)

  7. Step 600

    600 (this color)

    #7E5ECD

    oklch(56.8% 0.165 293.8)

  8. Step 700

    700

    #6749AE

    oklch(49% 0.155 293.6)

  9. Step 800

    800

    #543D8D

    oklch(42.7% 0.127 293.5)

  10. Step 900

    900

    #453570

    oklch(37.7% 0.098 293.6)

  11. Step 950

    950

    #281F42

    oklch(26.9% 0.064 293.5)

Export this scale for Tailwind in the Tailwind colors tool

#7E5ECD 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)#2B73D10.104
Deuteranopia (no green cones)#3470CA0.098
Tritanopia (no blue cones)#6A758C0.133
Achromatopsia (no color)#7272720.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E5ECD

    #7E5ECD

    oklch(56.8% 0.165 293.8)

  • #777E00

    #777E00

    oklch(56.8% 0.127 113.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E5ECD

    #7E5ECD

    oklch(56.8% 0.165 293.8)

  • #4270D7

    #4270D7

    oklch(56.7% 0.166 263.8)

  • #A44EAD

    #A44EAD

    oklch(56.8% 0.166 323.7)

Open the analogous palette in the generator

Split complementary

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

  • #7E5ECD

    #7E5ECD

    oklch(56.8% 0.165 293.8)

  • #977000

    #977000

    oklch(56.9% 0.117 84.3)

  • #258E2C

    #258E2C

    oklch(56.8% 0.165 143.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E5ECD

    #7E5ECD

    oklch(56.8% 0.165 293.8)

  • #B55A00

    #B55A00

    oklch(56.8% 0.143 53.6)

  • #008B72

    #008B72

    oklch(56.8% 0.108 174.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E5ECD

    #7E5ECD

    oklch(56.8% 0.165 293.8)

  • #C54445

    #C54445

    oklch(56.8% 0.165 23.6)

  • #777E00

    #777E00

    oklch(56.8% 0.127 113.6)

  • #008791

    #008791

    oklch(56.8% 0.097 204)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7E5ECD.

Similar named colors

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

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