#7E0789

Closest named color: Purple (#800080). oklch(42.6% 0.196 323.9), rgb(126, 7, 137).

Aa

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

About this color

#7E0789 is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.196 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.016 away. White text reads best on it, at 9.21:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.196)
Temperaturein between
Nearest namePurple (#800080)
Black text2.27:1
White text9.21:1

Values

HEX#7E0789
RGBrgb(126, 7, 137)
HSLhsl(295, 90%, 28%)
OKLCHoklch(42.6% 0.196 323.9)

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 #7E0789 9.21:1 AAA Lc -93.9 Preferred for body text
Black text on #7E0789 2.27:1 Fails Lc 14.6 Not readable
#7E0789 text on white 9.21:1 AAA Lc 89.4 Fine for body text
#7E0789 text on black 2.27:1 Fails Lc -12.9 Not readable

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 800.

  1. Step 50

    50

    #FBF2FB

    oklch(97.1% 0.015 325.7)

  2. Step 100

    100

    #F5E3F7

    oklch(93.6% 0.033 322.8)

  3. Step 200

    200

    #EFCCF1

    oklch(88.6% 0.063 324.4)

  4. Step 300

    300

    #E5A7EB

    oklch(80.9% 0.115 323.6)

  5. Step 400

    400

    #D673E0

    oklch(70.6% 0.183 323.8)

  6. Step 500

    500

    #CA45D7

    oklch(63.2% 0.234 324.1)

  7. Step 600

    600

    #B511C4

    oklch(55.6% 0.254 324)

  8. Step 700

    700

    #9A00A8

    oklch(49.1% 0.231 323.8)

  9. Step 800

    800 (this color)

    #7E0789

    oklch(42.6% 0.196 323.9)

  10. Step 900

    900

    #66176E

    oklch(37.7% 0.153 323.9)

  11. Step 950

    950

    #3C1040

    oklch(27% 0.097 324.3)

Export this scale for Tailwind in the Tailwind colors tool

#7E0789 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)#003F8C0.194
Deuteranopia (no green cones)#284C860.178
Tritanopia (no blue cones)#80294F0.113
Achromatopsia (no color)#4848480.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E0789

    #7E0789

    oklch(42.6% 0.196 323.9)

  • #00610E

    #00610E

    oklch(42.8% 0.139 143.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E0789

    #7E0789

    oklch(42.6% 0.196 323.9)

  • #5A26AC

    #5A26AC

    oklch(42.6% 0.195 294)

  • #8F0055

    #8F0055

    oklch(42.5% 0.175 354)

Open the analogous palette in the generator

Split complementary

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

  • #7E0789

    #7E0789

    oklch(42.6% 0.196 323.9)

  • #4F5400

    #4F5400

    oklch(42.7% 0.096 113.7)

  • #005D4B

    #005D4B

    oklch(42.7% 0.081 173.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E0789

    #7E0789

    oklch(42.6% 0.196 323.9)

  • #654A00

    #654A00

    oklch(42.7% 0.087 84.5)

  • #005A61

    #005A61

    oklch(42.6% 0.073 204)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E0789

    #7E0789

    oklch(42.6% 0.196 323.9)

  • #7A3B00

    #7A3B00

    oklch(42.6% 0.107 54)

  • #00610E

    #00610E

    oklch(42.8% 0.139 143.9)

  • #005678

    #005678

    oklch(42.7% 0.089 233.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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