#7C45AF

Closest named color: Purply (#983FB2). oklch(50.7% 0.165 305.2), rgb(124, 69, 175).

Aa

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

About this color

#7C45AF is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.165 and its hue 305°. 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.31:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.165)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.32:1
White text6.31:1

Values

HEX#7C45AF
RGBrgb(124, 69, 175)
HSLhsl(271, 43%, 48%)
OKLCHoklch(50.7% 0.165 305.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 #7C45AF 6.31:1 AA Lc -86.1 Fine for body text
Black text on #7C45AF 3.32:1 AA large text Lc 23.1 Dividers and decoration only
#7C45AF text on white 6.31:1 AA Lc 81.0 Fine for body text
#7C45AF text on black 3.32:1 AA large text Lc -20.9 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

    #EDE6F7

    oklch(93.5% 0.024 304.5)

  3. Step 200

    200

    #E0D2F1

    oklch(88.5% 0.045 305.9)

  4. Step 300

    300

    #CDB4EB

    oklch(81% 0.081 305.4)

  5. Step 400

    400

    #B38BE0

    oklch(70.7% 0.127 305)

  6. Step 500

    500

    #A16BD7

    oklch(63% 0.164 305.3)

  7. Step 600

    600

    #8C50C5

    oklch(55.6% 0.178 304.9)

  8. Step 700

    700 (this color)

    #7C45AF

    oklch(50.7% 0.165 305.2)

  9. Step 800

    800

    #61368A

    oklch(42.8% 0.137 304.9)

  10. Step 900

    900

    #4F306E

    oklch(37.8% 0.106 305)

  11. Step 950

    950

    #2E1C40

    oklch(26.8% 0.068 305.4)

Export this scale for Tailwind in the Tailwind colors tool

#7C45AF 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)#115EB20.136
Deuteranopia (no green cones)#2E60AD0.122
Tritanopia (no blue cones)#735A730.120
Achromatopsia (no color)#6060600.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C45AF

    #7C45AF

    oklch(50.7% 0.165 305.2)

  • #547100

    #547100

    oklch(50.7% 0.128 125.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C45AF

    #7C45AF

    oklch(50.7% 0.165 305.2)

  • #4D56C1

    #4D56C1

    oklch(50.6% 0.165 275.2)

  • #9B368A

    #9B368A

    oklch(50.7% 0.166 335)

Open the analogous palette in the generator

Split complementary

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

  • #7C45AF

    #7C45AF

    oklch(50.7% 0.165 305.2)

  • #786400

    #786400

    oklch(50.8% 0.104 95.3)

  • #007944

    #007944

    oklch(50.6% 0.125 155.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C45AF

    #7C45AF

    oklch(50.7% 0.165 305.2)

  • #915500

    #915500

    oklch(50.7% 0.114 64.8)

  • #00756C

    #00756C

    oklch(50.6% 0.089 185.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C45AF

    #7C45AF

    oklch(50.7% 0.165 305.2)

  • #AF3412

    #AF3412

    oklch(50.6% 0.165 35.2)

  • #547100

    #547100

    oklch(50.7% 0.128 125.4)

  • #007285

    #007285

    oklch(50.8% 0.09 214.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7C45AF.

Similar named colors

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

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