#7A46A2

Closest named color: Light Eggplant (#894585). oklch(49.8% 0.148 308), rgb(122, 70, 162).

Aa

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

About this color

#7A46A2 is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.148 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.055 away. White text reads best on it, at 6.51:1.

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

Values

HEX#7A46A2
RGBrgb(122, 70, 162)
HSLhsl(274, 40%, 45%)
OKLCHoklch(49.8% 0.148 308)

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 #7A46A2 6.51:1 AA Lc -87.0 Fine for body text
Black text on #7A46A2 3.22:1 AA large text Lc 22.1 Dividers and decoration only
#7A46A2 text on white 6.51:1 AA Lc 81.9 Fine for body text
#7A46A2 text on black 3.22:1 AA large text Lc -20.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 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

    #B48DD7

    oklch(70.7% 0.113 307.9)

  6. Step 500

    500

    #A26ECD

    oklch(63.1% 0.147 308)

  7. Step 600

    600

    #8D54B9

    oklch(55.5% 0.159 308.1)

  8. Step 700

    700 (this color)

    #7A46A2

    oklch(49.8% 0.148 308)

  9. Step 800

    800

    #623982

    oklch(42.9% 0.122 308)

  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

#7A46A2 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)#275CA50.122
Deuteranopia (no green cones)#3A5EA00.108
Tritanopia (no blue cones)#74576D0.106
Achromatopsia (no color)#5E5E5E0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A46A2

    #7A46A2

    oklch(49.8% 0.148 308)

  • #4D6F00

    #4D6F00

    oklch(49.7% 0.129 127.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A46A2

    #7A46A2

    oklch(49.8% 0.148 308)

  • #5255B4

    #5255B4

    oklch(49.8% 0.147 278.2)

  • #953A7F

    #953A7F

    oklch(49.8% 0.148 338.1)

Open the analogous palette in the generator

Split complementary

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

  • #7A46A2

    #7A46A2

    oklch(49.8% 0.148 308)

  • #726200

    #726200

    oklch(49.7% 0.103 98)

  • #007648

    #007648

    oklch(49.8% 0.117 157.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A46A2

    #7A46A2

    oklch(49.8% 0.148 308)

  • #8B5500

    #8B5500

    oklch(49.9% 0.109 68.1)

  • #00726C

    #00726C

    oklch(49.8% 0.086 188.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A46A2

    #7A46A2

    oklch(49.8% 0.148 308)

  • #A53B16

    #A53B16

    oklch(49.8% 0.148 38)

  • #4D6F00

    #4D6F00

    oklch(49.7% 0.129 127.7)

  • #006E84

    #006E84

    oklch(49.7% 0.089 218)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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