#7B47A4

Closest named color: Light Eggplant (#894585). oklch(50.2% 0.149 307.7), rgb(123, 71, 164).

Aa

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

About this color

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

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

Values

HEX#7B47A4
RGBrgb(123, 71, 164)
HSLhsl(274, 40%, 46%)
OKLCHoklch(50.2% 0.149 307.7)

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

    #EEE6F5

    oklch(93.6% 0.022 309.6)

  3. Step 200

    200

    #E0D3EE

    oklch(88.6% 0.039 307.2)

  4. Step 300

    300

    #CDB5E5

    oklch(80.9% 0.071 307.5)

  5. Step 400

    400

    #B48DD8

    oklch(70.7% 0.114 307.5)

  6. Step 500

    500

    #A26ECD

    oklch(63.1% 0.147 308)

  7. Step 600

    600

    #8D54BA

    oklch(55.6% 0.16 307.8)

  8. Step 700

    700 (this color)

    #7B47A4

    oklch(50.2% 0.149 307.7)

  9. Step 800

    800

    #613882

    oklch(42.6% 0.124 307.5)

  10. Step 900

    900

    #503168

    oklch(37.7% 0.096 308.5)

  11. Step 950

    950

    #2F1D3D

    oklch(27% 0.062 308.8)

Export this scale for Tailwind in the Tailwind colors tool

#7B47A4 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)#275DA70.122
Deuteranopia (no green cones)#3A5FA20.109
Tritanopia (no blue cones)#75586E0.107
Achromatopsia (no color)#5F5F5F0.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B47A4

    #7B47A4

    oklch(50.2% 0.149 307.7)

  • #4E7100

    #4E7100

    oklch(50.3% 0.131 127.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B47A4

    #7B47A4

    oklch(50.2% 0.149 307.7)

  • #5256B6

    #5256B6

    oklch(50.1% 0.149 277.8)

  • #963B81

    #963B81

    oklch(50.1% 0.148 337.6)

Open the analogous palette in the generator

Split complementary

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

  • #7B47A4

    #7B47A4

    oklch(50.2% 0.149 307.7)

  • #746300

    #746300

    oklch(50.1% 0.103 97.4)

  • #007748

    #007748

    oklch(50.1% 0.118 157.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B47A4

    #7B47A4

    oklch(50.2% 0.149 307.7)

  • #8C5500

    #8C5500

    oklch(50.1% 0.11 67.5)

  • #00736D

    #00736D

    oklch(50.1% 0.087 188.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B47A4

    #7B47A4

    oklch(50.2% 0.149 307.7)

  • #A73C17

    #A73C17

    oklch(50.2% 0.149 37.9)

  • #4E7100

    #4E7100

    oklch(50.3% 0.131 127.9)

  • #007086

    #007086

    oklch(50.3% 0.09 217.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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