#7E45DC

Closest named color: Purpley (#8756E4). oklch(54.2% 0.217 295.5), rgb(126, 69, 220).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (54%)
Chromavivid (0.217)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text3.77:1
White text5.56:1

Values

HEX#7E45DC
RGBrgb(126, 69, 220)
HSLhsl(263, 68%, 57%)
OKLCHoklch(54.2% 0.217 295.5)

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 #7E45DC 5.56:1 AA Lc -82.4 Fine for body text
Black text on #7E45DC 3.77:1 AA large text Lc 27.0 Dividers and decoration only
#7E45DC text on white 5.56:1 AA Lc 77.1 Fine for body text
#7E45DC text on black 3.77:1 AA large text Lc -24.6 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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #EBE6FB

    oklch(93.5% 0.029 296.7)

  3. Step 200

    200

    #DBD3FA

    oklch(88.6% 0.054 294.7)

  4. Step 300

    300

    #C5B4F9

    oklch(80.8% 0.098 295.4)

  5. Step 400

    400

    #A98AF6

    oklch(70.7% 0.156 295.4)

  6. Step 500

    500

    #9668F2

    oklch(63.1% 0.199 295.5)

  7. Step 600

    600 (this color)

    #7E45DC

    oklch(54.2% 0.217 295.5)

  8. Step 700

    700

    #6E39C3

    oklch(49% 0.202 295.5)

  9. Step 800

    800

    #5A319E

    oklch(42.8% 0.167 295.8)

  10. Step 900

    900

    #492D7D

    oklch(37.6% 0.13 295.6)

  11. Step 950

    950

    #2B1B49

    oklch(26.9% 0.082 296.5)

Export this scale for Tailwind in the Tailwind colors tool

#7E45DC 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)#0069E10.136
Deuteranopia (no green cones)#0066D90.136
Tritanopia (no blue cones)#656A8B0.168
Achromatopsia (no color)#6868680.218

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E45DC

    #7E45DC

    oklch(54.2% 0.217 295.5)

  • #6D7700

    #6D7700

    oklch(54.2% 0.123 115.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E45DC

    #7E45DC

    oklch(54.2% 0.217 295.5)

  • #315FEB

    #315FEB

    oklch(54.2% 0.217 265.5)

  • #AA2CB1

    #AA2CB1

    oklch(54.2% 0.217 325.7)

Open the analogous palette in the generator

Split complementary

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

  • #7E45DC

    #7E45DC

    oklch(54.2% 0.217 295.5)

  • #8C6900

    #8C6900

    oklch(54.1% 0.111 85.5)

  • #008726

    #008726

    oklch(54.2% 0.168 145.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E45DC

    #7E45DC

    oklch(54.2% 0.217 295.5)

  • #A85600

    #A85600

    oklch(54.2% 0.133 55.5)

  • #00826C

    #00826C

    oklch(54.2% 0.102 175.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E45DC

    #7E45DC

    oklch(54.2% 0.217 295.5)

  • #D00921

    #D00921

    oklch(54.2% 0.217 25.5)

  • #6D7700

    #6D7700

    oklch(54.2% 0.123 115.5)

  • #007E89

    #007E89

    oklch(54.1% 0.093 205.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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