#7E46C1

Closest named color: Light Indigo (#6D5ACF). oklch(52.3% 0.185 301.2), rgb(126, 70, 193).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.185)
Temperaturein between
Nearest nameLight Indigo (#6D5ACF)
Black text3.53:1
White text5.94:1

Values

HEX#7E46C1
RGBrgb(126, 70, 193)
HSLhsl(267, 50%, 52%)
OKLCHoklch(52.3% 0.185 301.2)

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 #7E46C1 5.94:1 AA Lc -84.4 Fine for body text
Black text on #7E46C1 3.53:1 AA large text Lc 24.9 Dividers and decoration only
#7E46C1 text on white 5.94:1 AA Lc 79.2 Fine for body text
#7E46C1 text on black 3.53:1 AA large text Lc -22.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 700.

  1. Step 50

    50

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #ECE6F9

    oklch(93.5% 0.026 300.3)

  3. Step 200

    200

    #DED2F5

    oklch(88.4% 0.049 301)

  4. Step 300

    300

    #CAB4F2

    oklch(81% 0.089 300.7)

  5. Step 400

    400

    #B08AEB

    oklch(70.7% 0.142 300.9)

  6. Step 500

    500

    #9E69E5

    oklch(63.2% 0.183 301.1)

  7. Step 600

    600

    #894CD2

    oklch(55.5% 0.198 301.1)

  8. Step 700

    700 (this color)

    #7E46C1

    oklch(52.3% 0.185 301.2)

  9. Step 800

    800

    #5F3294

    oklch(42.7% 0.154 301.2)

  10. Step 900

    900

    #4D2E76

    oklch(37.7% 0.119 300.7)

  11. Step 950

    950

    #2D1C45

    oklch(27.1% 0.075 300.6)

Export this scale for Tailwind in the Tailwind colors tool

#7E46C1 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)#0063C50.139
Deuteranopia (no green cones)#1663BE0.135
Tritanopia (no blue cones)#70617D0.139
Achromatopsia (no color)#6464640.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E46C1

    #7E46C1

    oklch(52.3% 0.185 301.2)

  • #5F7400

    #5F7400

    oklch(52.3% 0.126 121.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E46C1

    #7E46C1

    oklch(52.3% 0.185 301.2)

  • #465AD2

    #465AD2

    oklch(52.2% 0.185 271.3)

  • #A23499

    #A23499

    oklch(52.3% 0.185 331.3)

Open the analogous palette in the generator

Split complementary

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

  • #7E46C1

    #7E46C1

    oklch(52.3% 0.185 301.2)

  • #816700

    #816700

    oklch(52.4% 0.107 91.4)

  • #007F3D

    #007F3D

    oklch(52.2% 0.139 151.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E46C1

    #7E46C1

    oklch(52.3% 0.185 301.2)

  • #9B5600

    #9B5600

    oklch(52.3% 0.122 60.7)

  • #007B6D

    #007B6D

    oklch(52.3% 0.094 181.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E46C1

    #7E46C1

    oklch(52.3% 0.185 301.2)

  • #BD2B17

    #BD2B17

    oklch(52.3% 0.185 31.2)

  • #5F7400

    #5F7400

    oklch(52.3% 0.126 121.3)

  • #007788

    #007788

    oklch(52.2% 0.091 212)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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