#7E3AA4

Closest named color: Rebecca Purple (#663399). oklch(48.7% 0.17 311.2), rgb(126, 58, 164).

Aa

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

About this color

#7E3AA4 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.170 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.053 away. White text reads best on it, at 6.93:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.170)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text3.02:1
White text6.93:1

Values

HEX#7E3AA4
RGBrgb(126, 58, 164)
HSLhsl(278, 48%, 44%)
OKLCHoklch(48.7% 0.17 311.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 #7E3AA4 6.93:1 AA Lc -88.4 Fine for body text
Black text on #7E3AA4 3.02:1 AA large text Lc 20.6 Dividers and decoration only
#7E3AA4 text on white 6.93:1 AA Lc 83.4 Fine for body text
#7E3AA4 text on black 3.02:1 AA large text Lc -18.5 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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #EFE6F6

    oklch(93.7% 0.023 310.7)

  3. Step 200

    200

    #E3D1F0

    oklch(88.5% 0.046 311.2)

  4. Step 300

    300

    #D2B2E8

    oklch(80.9% 0.082 311.3)

  5. Step 400

    400

    #BB88DC

    oklch(70.7% 0.13 311.3)

  6. Step 500

    500

    #AA67D3

    oklch(63.1% 0.168 311.1)

  7. Step 600

    600

    #954BC0

    oklch(55.6% 0.183 311)

  8. Step 700

    700 (this color)

    #7E3AA4

    oklch(48.7% 0.17 311.2)

  9. Step 800

    800

    #673286

    oklch(42.7% 0.14 310.9)

  10. Step 900

    900

    #542D6B

    oklch(37.7% 0.109 311.3)

  11. Step 950

    950

    #311B3F

    oklch(27% 0.069 310.8)

Export this scale for Tailwind in the Tailwind colors tool

#7E3AA4 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)#0156A70.155
Deuteranopia (no green cones)#2F5BA20.135
Tritanopia (no blue cones)#794F6A0.116
Achromatopsia (no color)#5A5A5A0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E3AA4

    #7E3AA4

    oklch(48.7% 0.17 311.2)

  • #436E00

    #436E00

    oklch(48.8% 0.134 131.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E3AA4

    #7E3AA4

    oklch(48.7% 0.17 311.2)

  • #534CBB

    #534CBB

    oklch(48.7% 0.169 280.9)

  • #9A2B7B

    #9A2B7B

    oklch(48.7% 0.169 341.2)

Open the analogous palette in the generator

Split complementary

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

  • #7E3AA4

    #7E3AA4

    oklch(48.7% 0.17 311.2)

  • #6C6100

    #6C6100

    oklch(48.8% 0.102 101.7)

  • #00724B

    #00724B

    oklch(48.8% 0.109 161)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E3AA4

    #7E3AA4

    oklch(48.7% 0.17 311.2)

  • #845400

    #845400

    oklch(48.8% 0.105 71.5)

  • #006E6B

    #006E6B

    oklch(48.6% 0.084 191.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E3AA4

    #7E3AA4

    oklch(48.7% 0.17 311.2)

  • #A13800

    #A13800

    oklch(48.6% 0.149 41)

  • #436E00

    #436E00

    oklch(48.8% 0.134 131.2)

  • #006A83

    #006A83

    oklch(48.6% 0.089 221.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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