#7E4FDB

Closest named color: Purpley (#8756E4). oklch(55.5% 0.203 294.2), rgb(126, 79, 219).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.203)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.02:1
White text5.21:1

Values

HEX#7E4FDB
RGBrgb(126, 79, 219)
HSLhsl(260, 66%, 58%)
OKLCHoklch(55.5% 0.203 294.2)

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 #7E4FDB 5.21:1 AA Lc -80.7 Fine for body text
Black text on #7E4FDB 4.02:1 AA large text Lc 28.8 Dividers and decoration only
#7E4FDB text on white 5.21:1 AA Lc 75.3 Fine for body text
#7E4FDB text on black 4.02:1 AA large text Lc -26.4 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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EAE7FA

    oklch(93.6% 0.026 293.1)

  3. Step 200

    200

    #DAD3F8

    oklch(88.4% 0.051 294)

  4. Step 300

    300

    #C4B5F6

    oklch(80.8% 0.092 294.8)

  5. Step 400

    400

    #A78CF2

    oklch(70.6% 0.147 294.5)

  6. Step 500

    500

    #936CED

    oklch(63.1% 0.187 294.4)

  7. Step 600

    600 (this color)

    #7E4FDB

    oklch(55.5% 0.203 294.2)

  8. Step 700

    700

    #6B3FBE

    oklch(49.1% 0.188 294.3)

  9. Step 800

    800

    #57359A

    oklch(42.7% 0.157 294.3)

  10. Step 900

    900

    #47307A

    oklch(37.7% 0.121 294.2)

  11. Step 950

    950

    #291D48

    oklch(27% 0.077 293.4)

Export this scale for Tailwind in the Tailwind colors tool

#7E4FDB 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)#006EDF0.129
Deuteranopia (no green cones)#006AD80.128
Tritanopia (no blue cones)#65708E0.161
Achromatopsia (no color)#6C6C6C0.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E4FDB

    #7E4FDB

    oklch(55.5% 0.203 294.2)

  • #727A00

    #727A00

    oklch(55.4% 0.125 114.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E4FDB

    #7E4FDB

    oklch(55.5% 0.203 294.2)

  • #3367E7

    #3367E7

    oklch(55.5% 0.202 264.1)

  • #A93AB4

    #A93AB4

    oklch(55.5% 0.203 324)

Open the analogous palette in the generator

Split complementary

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

  • #7E4FDB

    #7E4FDB

    oklch(55.5% 0.203 294.2)

  • #926C00

    #926C00

    oklch(55.5% 0.114 84.1)

  • #008C1D

    #008C1D

    oklch(55.6% 0.179 144.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E4FDB

    #7E4FDB

    oklch(55.5% 0.203 294.2)

  • #AF5800

    #AF5800

    oklch(55.6% 0.139 54.3)

  • #00866E

    #00866E

    oklch(55.3% 0.105 174.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E4FDB

    #7E4FDB

    oklch(55.5% 0.203 294.2)

  • #CF2531

    #CF2531

    oklch(55.4% 0.203 24.1)

  • #727A00

    #727A00

    oklch(55.4% 0.125 114.3)

  • #00838C

    #00838C

    oklch(55.6% 0.095 203.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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