#7C45A1

Closest named color: Light Eggplant (#894585). oklch(49.8% 0.149 309.6), rgb(124, 69, 161).

Aa

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

About this color

#7C45A1 is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.149 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.053 away. White text reads best on it, at 6.51:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.149)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.22:1
White text6.51:1

Values

HEX#7C45A1
RGBrgb(124, 69, 161)
HSLhsl(276, 40%, 45%)
OKLCHoklch(49.8% 0.149 309.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 #7C45A1 6.51:1 AA Lc -87.0 Fine for body text
Black text on #7C45A1 3.22:1 AA large text Lc 22.1 Dividers and decoration only
#7C45A1 text on white 6.51:1 AA Lc 81.9 Fine for body text
#7C45A1 text on black 3.22:1 AA large text Lc -20.0 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 700.

  1. Step 50

    50

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EEE6F5

    oklch(93.6% 0.022 309.6)

  3. Step 200

    200

    #E1D2EE

    oklch(88.4% 0.041 309.4)

  4. Step 300

    300

    #CFB4E4

    oklch(80.9% 0.072 310.1)

  5. Step 400

    400

    #B68CD7

    oklch(70.7% 0.115 309.3)

  6. Step 500

    500

    #A46DCC

    oklch(63.1% 0.148 309.5)

  7. Step 600

    600

    #8F53B8

    oklch(55.5% 0.16 309.6)

  8. Step 700

    700 (this color)

    #7C45A1

    oklch(49.8% 0.149 309.6)

  9. Step 800

    800

    #633881

    oklch(42.7% 0.123 309.3)

  10. Step 900

    900

    #513167

    oklch(37.7% 0.095 309.9)

  11. Step 950

    950

    #2F1D3D

    oklch(27% 0.062 308.8)

Export this scale for Tailwind in the Tailwind colors tool

#7C45A1 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)#275BA40.126
Deuteranopia (no green cones)#3B5F9F0.113
Tritanopia (no blue cones)#77566C0.105
Achromatopsia (no color)#5E5E5E0.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C45A1

    #7C45A1

    oklch(49.8% 0.149 309.6)

  • #497000

    #497000

    oklch(49.7% 0.133 129.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C45A1

    #7C45A1

    oklch(49.8% 0.149 309.6)

  • #5454B4

    #5454B4

    oklch(49.7% 0.148 279.5)

  • #97397D

    #97397D

    oklch(49.8% 0.149 340)

Open the analogous palette in the generator

Split complementary

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

  • #7C45A1

    #7C45A1

    oklch(49.8% 0.149 309.6)

  • #716300

    #716300

    oklch(49.8% 0.103 99.6)

  • #00764B

    #00764B

    oklch(49.9% 0.114 159.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C45A1

    #7C45A1

    oklch(49.8% 0.149 309.6)

  • #895600

    #895600

    oklch(49.9% 0.108 70.2)

  • #00726D

    #00726D

    oklch(49.8% 0.086 189.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C45A1

    #7C45A1

    oklch(49.8% 0.149 309.6)

  • #A53B0F

    #A53B0F

    oklch(49.7% 0.149 39.4)

  • #497000

    #497000

    oklch(49.7% 0.133 129.6)

  • #006E86

    #006E86

    oklch(49.8% 0.091 219.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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