#7C5AEC

Closest named color: Purpley (#8756E4). oklch(58.2% 0.21 288.9), rgb(124, 90, 236).

Aa

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

About this color

#7C5AEC is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.210 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.023 away. White text reads best on it, at 4.63:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.210)
Temperaturecool
Nearest namePurpley (#8756E4)
Black text4.53:1
White text4.63:1

Values

HEX#7C5AEC
RGBrgb(124, 90, 236)
HSLhsl(254, 79%, 64%)
OKLCHoklch(58.2% 0.21 288.9)

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 #7C5AEC 4.63:1 AA Lc -77.2 Fine for body text
Black text on #7C5AEC 4.53:1 AA Lc 32.4 Non-text elements, placeholder text
#7C5AEC text on white 4.63:1 AA Lc 71.7 Content text, not long reading
#7C5AEC text on black 4.53:1 AA Lc -30.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 600.

  1. Step 50

    50

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FC

    oklch(93.6% 0.028 290.2)

  3. Step 200

    200

    #D7D4FA

    oklch(88.4% 0.052 288.9)

  4. Step 300

    300

    #BEB7FA

    oklch(80.9% 0.094 288.9)

  5. Step 400

    400

    #9F8FF8

    oklch(70.8% 0.15 289)

  6. Step 500

    500

    #896EF4

    oklch(63% 0.193 288.9)

  7. Step 600

    600 (this color)

    #7C5AEC

    oklch(58.2% 0.21 288.9)

  8. Step 700

    700

    #6341C5

    oklch(49.1% 0.194 289)

  9. Step 800

    800

    #5037A0

    oklch(42.8% 0.161 288.6)

  10. Step 900

    900

    #42317F

    oklch(37.8% 0.126 288.9)

  11. Step 950

    950

    #261E4A

    oklch(27.1% 0.079 288.4)

Export this scale for Tailwind in the Tailwind colors tool

#7C5AEC 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)#0078F10.116
Deuteranopia (no green cones)#0071E90.114
Tritanopia (no blue cones)#577C9B0.170
Achromatopsia (no color)#7575750.210

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C5AEC

    #7C5AEC

    oklch(58.2% 0.21 288.9)

  • #818000

    #818000

    oklch(58.2% 0.126 109.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C5AEC

    #7C5AEC

    oklch(58.2% 0.21 288.9)

  • #1773F3

    #1773F3

    oklch(58.1% 0.209 258.8)

  • #AD44C7

    #AD44C7

    oklch(58.2% 0.209 319.1)

Open the analogous palette in the generator

Split complementary

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

  • #7C5AEC

    #7C5AEC

    oklch(58.2% 0.21 288.9)

  • #A17100

    #A17100

    oklch(58.3% 0.121 79.1)

  • #349200

    #349200

    oklch(58.1% 0.183 138.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C5AEC

    #7C5AEC

    oklch(58.2% 0.21 288.9)

  • #C15700

    #C15700

    oklch(58.1% 0.156 48.7)

  • #00906F

    #00906F

    oklch(58.1% 0.116 169.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C5AEC

    #7C5AEC

    oklch(58.2% 0.21 288.9)

  • #DB2A46

    #DB2A46

    oklch(58.2% 0.209 19.1)

  • #818000

    #818000

    oklch(58.2% 0.126 109.2)

  • #008C91

    #008C91

    oklch(58.1% 0.099 199.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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