#7E56F1

Closest named color: Purpley (#8756E4). oklch(58.1% 0.22 289.6), rgb(126, 86, 241).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.220)
Temperaturecool
Nearest namePurpley (#8756E4)
Black text4.48:1
White text4.67:1

Values

HEX#7E56F1
RGBrgb(126, 86, 241)
HSLhsl(255, 85%, 64%)
OKLCHoklch(58.1% 0.22 289.6)

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 #7E56F1 4.67:1 AA Lc -77.4 Fine for body text
Black text on #7E56F1 4.48:1 AA large text Lc 32.2 Non-text elements, placeholder text
#7E56F1 text on white 4.67:1 AA Lc 71.9 Content text, not long reading
#7E56F1 text on black 4.48:1 AA large text Lc -29.7 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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FC

    oklch(93.6% 0.028 290.2)

  3. Step 200

    200

    #D8D4FC

    oklch(88.6% 0.055 289.8)

  4. Step 300

    300

    #BFB6FD

    oklch(80.9% 0.1 289.8)

  5. Step 400

    400

    #A08DFC

    oklch(70.8% 0.159 289.6)

  6. Step 500

    500

    #8B6BF9

    oklch(63% 0.203 289.7)

  7. Step 600

    600 (this color)

    #7E56F1

    oklch(58.1% 0.22 289.6)

  8. Step 700

    700

    #653DCA

    oklch(49.2% 0.205 289.7)

  9. Step 800

    800

    #5234A3

    oklch(42.8% 0.169 289.7)

  10. Step 900

    900

    #432F81

    oklch(37.7% 0.132 289.8)

  11. Step 950

    950

    #271D4C

    oklch(27.1% 0.083 289.4)

Export this scale for Tailwind in the Tailwind colors tool

#7E56F1 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)#0077F60.121
Deuteranopia (no green cones)#0070EE0.119
Tritanopia (no blue cones)#587C9C0.180
Achromatopsia (no color)#7474740.222

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E56F1

    #7E56F1

    oklch(58.1% 0.22 289.6)

  • #808000

    #808000

    oklch(58.1% 0.127 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E56F1

    #7E56F1

    oklch(58.1% 0.22 289.6)

  • #1371FA

    #1371FA

    oklch(58.2% 0.22 259.6)

  • #B03ECA

    #B03ECA

    oklch(58.2% 0.22 319.6)

Open the analogous palette in the generator

Split complementary

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

  • #7E56F1

    #7E56F1

    oklch(58.1% 0.22 289.6)

  • #A07100

    #A07100

    oklch(58.2% 0.121 79.7)

  • #2F9300

    #2F9300

    oklch(58.2% 0.186 139.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E56F1

    #7E56F1

    oklch(58.1% 0.22 289.6)

  • #C05800

    #C05800

    oklch(58.1% 0.155 49.5)

  • #009070

    #009070

    oklch(58.1% 0.115 169.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E56F1

    #7E56F1

    oklch(58.1% 0.22 289.6)

  • #DF1D41

    #DF1D41

    oklch(58.1% 0.22 19.6)

  • #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 #7E56F1, closest first.

Similar named colors

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

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