#7E45CA

Closest named color: Light Indigo (#6D5ACF). oklch(52.8% 0.197 299.2), rgb(126, 69, 202).

Aa

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

About this color

#7E45CA is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.197 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Indigo (#6D5ACF), ΔE 0.050 away. White text reads best on it, at 5.84:1.

Hue familyPurples
Lightnessmedium-dark (53%)
Chromavivid (0.197)
Temperaturein between
Nearest nameLight Indigo (#6D5ACF)
Black text3.59:1
White text5.84:1

Values

HEX#7E45CA
RGBrgb(126, 69, 202)
HSLhsl(266, 56%, 53%)
OKLCHoklch(52.8% 0.197 299.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 #7E45CA 5.84:1 AA Lc -83.9 Fine for body text
Black text on #7E45CA 3.59:1 AA large text Lc 25.4 Dividers and decoration only
#7E45CA text on white 5.84:1 AA Lc 78.7 Fine for body text
#7E45CA text on black 3.59:1 AA large text Lc -23.1 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

    #ECE6F9

    oklch(93.5% 0.026 300.3)

  3. Step 200

    200

    #DDD3F6

    oklch(88.6% 0.049 298.5)

  4. Step 300

    300

    #C8B4F2

    oklch(80.8% 0.089 299.2)

  5. Step 400

    400

    #AD8BEC

    oklch(70.7% 0.142 298.9)

  6. Step 500

    500

    #9A6AE5

    oklch(63% 0.181 299.2)

  7. Step 600

    600 (this color)

    #7E45CA

    oklch(52.8% 0.197 299.2)

  8. Step 700

    700

    #723EB7

    oklch(49.2% 0.182 299.3)

  9. Step 800

    800

    #5C3494

    oklch(42.6% 0.151 299)

  10. Step 900

    900

    #4B2F76

    oklch(37.7% 0.117 298.8)

  11. Step 950

    950

    #2C1C45

    oklch(26.9% 0.075 299.4)

Export this scale for Tailwind in the Tailwind colors tool

#7E45CA 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)#0065CE0.139
Deuteranopia (no green cones)#0064C70.140
Tritanopia (no blue cones)#6D64820.149
Achromatopsia (no color)#6565650.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E45CA

    #7E45CA

    oklch(52.8% 0.197 299.2)

  • #647500

    #647500

    oklch(53% 0.125 119.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E45CA

    #7E45CA

    oklch(52.8% 0.197 299.2)

  • #405BDB

    #405BDB

    oklch(52.8% 0.197 269.3)

  • #A431A1

    #A431A1

    oklch(52.8% 0.196 329)

Open the analogous palette in the generator

Split complementary

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

  • #7E45CA

    #7E45CA

    oklch(52.8% 0.197 299.2)

  • #846700

    #846700

    oklch(52.8% 0.108 89.2)

  • #008237

    #008237

    oklch(53% 0.149 149.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E45CA

    #7E45CA

    oklch(52.8% 0.197 299.2)

  • #9E5600

    #9E5600

    oklch(52.8% 0.124 59.4)

  • #007D6D

    #007D6D

    oklch(52.8% 0.096 179.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E45CA

    #7E45CA

    oklch(52.8% 0.197 299.2)

  • #C32219

    #C32219

    oklch(52.8% 0.196 29.1)

  • #647500

    #647500

    oklch(53% 0.125 119.3)

  • #007988

    #007988

    oklch(52.8% 0.091 209.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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