#7E52F7

Closest named color: Purpley (#8756E4). oklch(58% 0.232 289.4), rgb(126, 82, 247).

Aa

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

About this color

#7E52F7 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.232 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.035 away. White text reads best on it, at 4.73:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.232)
Temperaturecool
Nearest namePurpley (#8756E4)
Black text4.43:1
White text4.73:1

Values

HEX#7E52F7
RGBrgb(126, 82, 247)
HSLhsl(256, 91%, 65%)
OKLCHoklch(58% 0.232 289.4)

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 #7E52F7 4.73:1 AA Lc -77.7 Fine for body text
Black text on #7E52F7 4.43:1 AA large text Lc 31.9 Non-text elements, placeholder text
#7E52F7 text on white 4.73:1 AA Lc 72.2 Content text, not long reading
#7E52F7 text on black 4.43:1 AA large text Lc -29.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 600.

  1. Step 50

    50

    #F5F4FF

    oklch(97.1% 0.015 290.3)

  2. Step 100

    100

    #E9E7FD

    oklch(93.6% 0.03 290)

  3. Step 200

    200

    #D7D3FE

    oklch(88.4% 0.059 289.4)

  4. Step 300

    300

    #BFB6FF

    oklch(81% 0.102 289.6)

  5. Step 400

    400

    #A08CFF

    oklch(70.8% 0.164 289.5)

  6. Step 500

    500

    #8B69FF

    oklch(63.1% 0.213 289.3)

  7. Step 600

    600 (this color)

    #7E52F7

    oklch(58% 0.232 289.4)

  8. Step 700

    700

    #6539CF

    oklch(49.1% 0.215 289.4)

  9. Step 800

    800

    #5231A8

    oklch(42.8% 0.179 289.3)

  10. Step 900

    900

    #432D85

    oklch(37.7% 0.14 289.4)

  11. Step 950

    950

    #271C4E

    oklch(27.1% 0.088 289.3)

Export this scale for Tailwind in the Tailwind colors tool

#7E52F7 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)#0076FC0.123
Deuteranopia (no green cones)#006FF40.121
Tritanopia (no blue cones)#547B9E0.188
Achromatopsia (no color)#7373730.233

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E52F7

    #7E52F7

    oklch(58% 0.232 289.4)

  • #808000

    #808000

    oklch(58.1% 0.127 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E52F7

    #7E52F7

    oklch(58% 0.232 289.4)

  • #006FFE

    #006FFE

    oklch(58% 0.229 259.4)

  • #B237CE

    #B237CE

    oklch(58% 0.232 319.4)

Open the analogous palette in the generator

Split complementary

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

  • #7E52F7

    #7E52F7

    oklch(58% 0.232 289.4)

  • #A07100

    #A07100

    oklch(58.2% 0.121 79.7)

  • #309200

    #309200

    oklch(58% 0.184 139.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E52F7

    #7E52F7

    oklch(58% 0.232 289.4)

  • #C05800

    #C05800

    oklch(58.1% 0.155 49.5)

  • #00906F

    #00906F

    oklch(58.1% 0.116 169.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E52F7

    #7E52F7

    oklch(58% 0.232 289.4)

  • #E3023E

    #E3023E

    oklch(58% 0.232 19.3)

  • #808000

    #808000

    oklch(58.1% 0.127 109.8)

  • #008C91

    #008C91

    oklch(58.1% 0.099 199.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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