#7E2E99

Closest named color: Rebecca Purple (#663399). oklch(46.5% 0.175 316.3), rgb(126, 46, 153).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.175)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.73:1
White text7.67:1

Values

HEX#7E2E99
RGBrgb(126, 46, 153)
HSLhsl(285, 54%, 39%)
OKLCHoklch(46.5% 0.175 316.3)

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 #7E2E99 7.67:1 AAA Lc -90.7 Preferred for body text
Black text on #7E2E99 2.73:1 Fails Lc 18.2 Dividers and decoration only
#7E2E99 text on white 7.67:1 AAA Lc 85.8 Fine for body text
#7E2E99 text on black 2.73:1 Fails Lc -16.2 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

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E6D0EE

    oklch(88.5% 0.047 317.1)

  4. Step 300

    300

    #D7B0E6

    oklch(80.9% 0.086 316.5)

  5. Step 400

    400

    #C285D9

    oklch(70.8% 0.135 316.4)

  6. Step 500

    500

    #B163CE

    oklch(63.1% 0.172 316.1)

  7. Step 600

    600

    #9D46BB

    oklch(55.6% 0.188 316.4)

  8. Step 700

    700 (this color)

    #7E2E99

    oklch(46.5% 0.175 316.3)

  9. Step 800

    800

    #6D2E83

    oklch(42.7% 0.146 316.3)

  10. Step 900

    900

    #582A69

    oklch(37.6% 0.114 316)

  11. Step 950

    950

    #341A3D

    oklch(27.1% 0.07 316.8)

Export this scale for Tailwind in the Tailwind colors tool

#7E2E99 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)#004E9C0.167
Deuteranopia (no green cones)#2E55970.147
Tritanopia (no blue cones)#7C43600.112
Achromatopsia (no color)#5353530.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E2E99

    #7E2E99

    oklch(46.5% 0.175 316.3)

  • #306A00

    #306A00

    oklch(46.6% 0.139 136.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E2E99

    #7E2E99

    oklch(46.5% 0.175 316.3)

  • #5740B4

    #5740B4

    oklch(46.5% 0.175 286.6)

  • #981D6D

    #981D6D

    oklch(46.6% 0.175 346.4)

Open the analogous palette in the generator

Split complementary

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

  • #7E2E99

    #7E2E99

    oklch(46.5% 0.175 316.3)

  • #615C00

    #615C00

    oklch(46.5% 0.099 106)

  • #006A4D

    #006A4D

    oklch(46.5% 0.096 166.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E2E99

    #7E2E99

    oklch(46.5% 0.175 316.3)

  • #785100

    #785100

    oklch(46.6% 0.098 76.8)

  • #006768

    #006768

    oklch(46.6% 0.079 195.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E2E99

    #7E2E99

    oklch(46.5% 0.175 316.3)

  • #913C00

    #913C00

    oklch(46.5% 0.13 46.5)

  • #306A00

    #306A00

    oklch(46.6% 0.139 136.2)

  • #006380

    #006380

    oklch(46.6% 0.09 226.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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