#7E41B8

Closest named color: Purply (#983FB2). oklch(51% 0.182 304.2), rgb(126, 65, 184).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.182)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.33:1
White text6.29:1

Values

HEX#7E41B8
RGBrgb(126, 65, 184)
HSLhsl(271, 48%, 49%)
OKLCHoklch(51% 0.182 304.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 #7E41B8 6.29:1 AA Lc -85.9 Fine for body text
Black text on #7E41B8 3.33:1 AA large text Lc 23.3 Dividers and decoration only
#7E41B8 text on white 6.29:1 AA Lc 80.8 Fine for body text
#7E41B8 text on black 3.33:1 AA large text Lc -21.1 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

    #EDE6F8

    oklch(93.6% 0.025 303.5)

  3. Step 200

    200

    #E0D2F4

    oklch(88.6% 0.048 304.1)

  4. Step 300

    300

    #CDB3EF

    oklch(80.9% 0.087 304.3)

  5. Step 400

    400

    #B489E7

    oklch(70.8% 0.14 304.1)

  6. Step 500

    500

    #A268E0

    oklch(63.2% 0.179 304)

  7. Step 600

    600

    #8E4BCD

    oklch(55.6% 0.195 304.5)

  8. Step 700

    700 (this color)

    #7E41B8

    oklch(51% 0.182 304.2)

  9. Step 800

    800

    #623290

    oklch(42.7% 0.15 304.2)

  10. Step 900

    900

    #502D73

    oklch(37.7% 0.118 304.4)

  11. Step 950

    950

    #2F1B43

    oklch(27% 0.074 305)

Export this scale for Tailwind in the Tailwind colors tool

#7E41B8 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)#005EBC0.145
Deuteranopia (no green cones)#1E60B50.137
Tritanopia (no blue cones)#735B770.133
Achromatopsia (no color)#6060600.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E41B8

    #7E41B8

    oklch(51% 0.182 304.2)

  • #577100

    #577100

    oklch(50.9% 0.126 124)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E41B8

    #7E41B8

    oklch(51% 0.182 304.2)

  • #4A55CB

    #4A55CB

    oklch(51% 0.181 274)

  • #9F308F

    #9F308F

    oklch(51% 0.18 334.3)

Open the analogous palette in the generator

Split complementary

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

  • #7E41B8

    #7E41B8

    oklch(51% 0.182 304.2)

  • #7A6400

    #7A6400

    oklch(51% 0.105 93.8)

  • #007A43

    #007A43

    oklch(50.9% 0.127 154.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E41B8

    #7E41B8

    oklch(51% 0.182 304.2)

  • #925500

    #925500

    oklch(50.9% 0.115 64.3)

  • #00766C

    #00766C

    oklch(50.9% 0.09 184.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E41B8

    #7E41B8

    oklch(51% 0.182 304.2)

  • #B72A01

    #B72A01

    oklch(51% 0.182 34.2)

  • #577100

    #577100

    oklch(50.9% 0.126 124)

  • #007385

    #007385

    oklch(51.1% 0.09 213.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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