#7C42AE

Closest named color: Purply (#983FB2). oklch(50.2% 0.168 305.9), rgb(124, 66, 174).

Aa

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

About this color

#7C42AE is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.168 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.053 away. White text reads best on it, at 6.46:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.168)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.24:1
White text6.46:1

Values

HEX#7C42AE
RGBrgb(124, 66, 174)
HSLhsl(272, 45%, 47%)
OKLCHoklch(50.2% 0.168 305.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 #7C42AE 6.46:1 AA Lc -86.7 Fine for body text
Black text on #7C42AE 3.24:1 AA large text Lc 22.4 Dividers and decoration only
#7C42AE text on white 6.46:1 AA Lc 81.6 Fine for body text
#7C42AE text on black 3.24:1 AA large text Lc -20.3 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EEE6F7

    oklch(93.6% 0.024 307)

  3. Step 200

    200

    #E0D2F1

    oklch(88.5% 0.045 305.9)

  4. Step 300

    300

    #CDB3EB

    oklch(80.8% 0.082 305.8)

  5. Step 400

    400

    #B58AE1

    oklch(70.7% 0.131 306.1)

  6. Step 500

    500

    #A36AD8

    oklch(63.1% 0.167 306.1)

  7. Step 600

    600

    #8E4FC5

    oklch(55.6% 0.18 306)

  8. Step 700

    700 (this color)

    #7C42AE

    oklch(50.2% 0.168 305.9)

  9. Step 800

    800

    #62358A

    oklch(42.8% 0.139 305.7)

  10. Step 900

    900

    #502F6E

    oklch(37.7% 0.108 306.1)

  11. Step 950

    950

    #2F1C41

    oklch(27% 0.07 306)

Export this scale for Tailwind in the Tailwind colors tool

#7C42AE 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)#045CB10.142
Deuteranopia (no green cones)#2B5EAC0.126
Tritanopia (no blue cones)#7458720.121
Achromatopsia (no color)#5E5E5E0.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C42AE

    #7C42AE

    oklch(50.2% 0.168 305.9)

  • #527000

    #527000

    oklch(50.3% 0.128 125.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C42AE

    #7C42AE

    oklch(50.2% 0.168 305.9)

  • #4D54C1

    #4D54C1

    oklch(50.2% 0.168 275.8)

  • #9B3388

    #9B3388

    oklch(50.3% 0.169 335.9)

Open the analogous palette in the generator

Split complementary

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

  • #7C42AE

    #7C42AE

    oklch(50.2% 0.168 305.9)

  • #766300

    #766300

    oklch(50.3% 0.103 95.9)

  • #007845

    #007845

    oklch(50.3% 0.122 155.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C42AE

    #7C42AE

    oklch(50.2% 0.168 305.9)

  • #8E5400

    #8E5400

    oklch(50.1% 0.112 65.6)

  • #00746B

    #00746B

    oklch(50.3% 0.088 185.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C42AE

    #7C42AE

    oklch(50.2% 0.168 305.9)

  • #AF3106

    #AF3106

    oklch(50.3% 0.169 36)

  • #527000

    #527000

    oklch(50.3% 0.128 125.9)

  • #007084

    #007084

    oklch(50.2% 0.089 215.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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