#7E41A2

Closest named color: Purply (#983FB2). oklch(49.5% 0.157 311), rgb(126, 65, 162).

Aa

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

About this color

#7E41A2 is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.157 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.054 away. White text reads best on it, at 6.63:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.157)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.16:1
White text6.63:1

Values

HEX#7E41A2
RGBrgb(126, 65, 162)
HSLhsl(278, 43%, 45%)
OKLCHoklch(49.5% 0.157 311)

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 #7E41A2 6.63:1 AA Lc -87.4 Fine for body text
Black text on #7E41A2 3.16:1 AA large text Lc 21.7 Dividers and decoration only
#7E41A2 text on white 6.63:1 AA Lc 82.3 Fine for body text
#7E41A2 text on black 3.16:1 AA large text Lc -19.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

    #F8F4FB

    oklch(97.2% 0.01 311.2)

  2. Step 100

    100

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E2D2EE

    oklch(88.5% 0.042 310.9)

  4. Step 300

    300

    #D0B3E5

    oklch(80.8% 0.076 310.8)

  5. Step 400

    400

    #B98AD8

    oklch(70.7% 0.121 311.2)

  6. Step 500

    500

    #A76BCE

    oklch(63.2% 0.155 310.6)

  7. Step 600

    600

    #9250BA

    oklch(55.6% 0.168 310.8)

  8. Step 700

    700 (this color)

    #7E41A2

    oklch(49.5% 0.157 311)

  9. Step 800

    800

    #653582

    oklch(42.6% 0.13 310.8)

  10. Step 900

    900

    #532F68

    oklch(37.7% 0.101 311.6)

  11. Step 950

    950

    #301C3D

    oklch(26.9% 0.064 310.7)

Export this scale for Tailwind in the Tailwind colors tool

#7E41A2 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)#1F5AA50.137
Deuteranopia (no green cones)#385EA00.122
Tritanopia (no blue cones)#7A536B0.109
Achromatopsia (no color)#5D5D5D0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E41A2

    #7E41A2

    oklch(49.5% 0.157 311)

  • #457000

    #457000

    oklch(49.4% 0.135 131)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E41A2

    #7E41A2

    oklch(49.5% 0.157 311)

  • #5551B7

    #5551B7

    oklch(49.5% 0.157 280.8)

  • #99347C

    #99347C

    oklch(49.5% 0.157 340.9)

Open the analogous palette in the generator

Split complementary

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

  • #7E41A2

    #7E41A2

    oklch(49.5% 0.157 311)

  • #6F6300

    #6F6300

    oklch(49.6% 0.103 101.1)

  • #00754D

    #00754D

    oklch(49.7% 0.111 160.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E41A2

    #7E41A2

    oklch(49.5% 0.157 311)

  • #875600

    #875600

    oklch(49.6% 0.106 71.5)

  • #00716D

    #00716D

    oklch(49.5% 0.085 190.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E41A2

    #7E41A2

    oklch(49.5% 0.157 311)

  • #A53A00

    #A53A00

    oklch(49.5% 0.152 41.2)

  • #457000

    #457000

    oklch(49.4% 0.135 131)

  • #006D86

    #006D86

    oklch(49.5% 0.091 221)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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