#7E4AEC

Closest named color: Purpley (#8756E4). oklch(56.1% 0.229 292.1), rgb(126, 74, 236).

Aa

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

About this color

#7E4AEC is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.229 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.032 away. White text reads best on it, at 5.14:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.229)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.07:1
White text5.14:1

Values

HEX#7E4AEC
RGBrgb(126, 74, 236)
HSLhsl(259, 81%, 61%)
OKLCHoklch(56.1% 0.229 292.1)

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 #7E4AEC 5.14:1 AA Lc -80.2 Fine for body text
Black text on #7E4AEC 4.07:1 AA large text Lc 29.3 Dividers and decoration only
#7E4AEC text on white 5.14:1 AA Lc 74.8 Content text, not long reading
#7E4AEC text on black 4.07:1 AA large text Lc -26.9 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

    #EAE7FD

    oklch(93.7% 0.03 292.1)

  3. Step 200

    200

    #D9D3FD

    oklch(88.5% 0.058 291.7)

  4. Step 300

    300

    #C2B5FE

    oklch(81% 0.103 292.1)

  5. Step 400

    400

    #A48AFD

    oklch(70.6% 0.164 292.1)

  6. Step 500

    500

    #9067FB

    oklch(63% 0.211 292)

  7. Step 600

    600 (this color)

    #7E4AEC

    oklch(56.1% 0.229 292.1)

  8. Step 700

    700

    #6A38CC

    oklch(49.2% 0.213 292.2)

  9. Step 800

    800

    #5630A5

    oklch(42.8% 0.176 292.1)

  10. Step 900

    900

    #462D83

    oklch(37.8% 0.137 291.9)

  11. Step 950

    950

    #291B4C

    oklch(27% 0.087 292.8)

Export this scale for Tailwind in the Tailwind colors tool

#7E4AEC 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)#0070F10.130
Deuteranopia (no green cones)#006AE90.128
Tritanopia (no blue cones)#5C73960.181
Achromatopsia (no color)#6D6D6D0.230

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E4AEC

    #7E4AEC

    oklch(56.1% 0.229 292.1)

  • #777B00

    #777B00

    oklch(56.1% 0.124 112)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E4AEC

    #7E4AEC

    oklch(56.1% 0.229 292.1)

  • #1D66F8

    #1D66F8

    oklch(56.1% 0.229 262.2)

  • #AF2FC1

    #AF2FC1

    oklch(56.1% 0.229 322.4)

Open the analogous palette in the generator

Split complementary

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

  • #7E4AEC

    #7E4AEC

    oklch(56.1% 0.229 292.1)

  • #966D00

    #966D00

    oklch(56.1% 0.116 82.4)

  • #0C8E00

    #0C8E00

    oklch(56.1% 0.189 142.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E4AEC

    #7E4AEC

    oklch(56.1% 0.229 292.1)

  • #B45700

    #B45700

    oklch(56.1% 0.144 52.2)

  • #00896D

    #00896D

    oklch(56.1% 0.109 171.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E4AEC

    #7E4AEC

    oklch(56.1% 0.229 292.1)

  • #DA0031

    #DA0031

    oklch(56.1% 0.226 22)

  • #777B00

    #777B00

    oklch(56.1% 0.124 112)

  • #00858D

    #00858D

    oklch(56.1% 0.096 202.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7E4AEC.

Similar named colors

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

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