#7A47A6

Closest named color: Purply (#983FB2). oklch(50.2% 0.151 306.5), rgb(122, 71, 166).

Aa

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

About this color

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

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

Values

HEX#7A47A6
RGBrgb(122, 71, 166)
HSLhsl(272, 40%, 46%)
OKLCHoklch(50.2% 0.151 306.5)

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 #7A47A6 6.40:1 AA Lc -86.6 Fine for body text
Black text on #7A47A6 3.27:1 AA large text Lc 22.6 Dividers and decoration only
#7A47A6 text on white 6.40:1 AA Lc 81.5 Fine for body text
#7A47A6 text on black 3.27:1 AA large text Lc -20.4 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

    #EDE6F5

    oklch(93.5% 0.021 306.8)

  3. Step 200

    200

    #E0D3EF

    oklch(88.6% 0.04 306.5)

  4. Step 300

    300

    #CDB5E6

    oklch(81% 0.073 307)

  5. Step 400

    400

    #B38DDA

    oklch(70.7% 0.116 306.3)

  6. Step 500

    500

    #A16ED0

    oklch(63.1% 0.15 306.6)

  7. Step 600

    600

    #8C54BC

    oklch(55.6% 0.162 306.7)

  8. Step 700

    700 (this color)

    #7A47A6

    oklch(50.2% 0.151 306.5)

  9. Step 800

    800

    #613884

    oklch(42.7% 0.126 306.7)

  10. Step 900

    900

    #4F316A

    oklch(37.7% 0.099 306.6)

  11. Step 950

    950

    #2E1D3E

    oklch(26.9% 0.063 306.4)

Export this scale for Tailwind in the Tailwind colors tool

#7A47A6 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)#245DA90.122
Deuteranopia (no green cones)#375FA40.110
Tritanopia (no blue cones)#73596F0.110
Achromatopsia (no color)#5F5F5F0.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A47A6

    #7A47A6

    oklch(50.2% 0.151 306.5)

  • #517000

    #517000

    oklch(50.2% 0.128 126.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A47A6

    #7A47A6

    oklch(50.2% 0.151 306.5)

  • #5057B8

    #5057B8

    oklch(50.3% 0.151 276.4)

  • #963A83

    #963A83

    oklch(50.1% 0.151 336.5)

Open the analogous palette in the generator

Split complementary

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

  • #7A47A6

    #7A47A6

    oklch(50.2% 0.151 306.5)

  • #756300

    #756300

    oklch(50.2% 0.103 96.6)

  • #007746

    #007746

    oklch(50.1% 0.12 156.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A47A6

    #7A47A6

    oklch(50.2% 0.151 306.5)

  • #8D5500

    #8D5500

    oklch(50.2% 0.111 67)

  • #00746C

    #00746C

    oklch(50.3% 0.088 186.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A47A6

    #7A47A6

    oklch(50.2% 0.151 306.5)

  • #A83A19

    #A83A19

    oklch(50.2% 0.151 36.5)

  • #517000

    #517000

    oklch(50.2% 0.128 126.3)

  • #007085

    #007085

    oklch(50.3% 0.09 216.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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