#7A2D7E

Closest named color: Purple (#800080). oklch(44.1% 0.149 325.7), rgb(122, 45, 126).

Aa

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

About this color

#7A2D7E is a dark, vivid purple. In OKLCH its lightness is 44%, its chroma 0.149 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.050 away. White text reads best on it, at 8.38:1.

Hue familyPurples
Lightnessdark (44%)
Chromavivid (0.149)
Temperaturein between
Nearest namePurple (#800080)
Black text2.50:1
White text8.38:1

Values

HEX#7A2D7E
RGBrgb(122, 45, 126)
HSLhsl(297, 47%, 34%)
OKLCHoklch(44.1% 0.149 325.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 #7A2D7E 8.38:1 AAA Lc -92.9 Preferred for body text
Black text on #7A2D7E 2.50:1 Fails Lc 15.8 Dividers and decoration only
#7A2D7E text on white 8.38:1 AAA Lc 88.2 Fine for body text
#7A2D7E text on black 2.50:1 Fails Lc -13.9 Not readable

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 800.

  1. Step 50

    50

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F3E4F3

    oklch(93.5% 0.026 325.8)

  3. Step 200

    200

    #EACFEB

    oklch(88.5% 0.048 324.9)

  4. Step 300

    300

    #DEADDF

    oklch(80.8% 0.087 325.7)

  5. Step 400

    400

    #CC80CF

    oklch(70.6% 0.139 325.6)

  6. Step 500

    500

    #BE5CC2

    oklch(63.1% 0.178 325.9)

  7. Step 600

    600

    #A93EAF

    oklch(55.6% 0.194 325.6)

  8. Step 700

    700

    #912F96

    oklch(49.1% 0.18 325.8)

  9. Step 800

    800 (this color)

    #7A2D7E

    oklch(44.1% 0.149 325.7)

  10. Step 900

    900

    #5F2762

    oklch(37.7% 0.115 325.6)

  11. Step 950

    950

    #381839

    oklch(27.1% 0.072 326.2)

Export this scale for Tailwind in the Tailwind colors tool

#7A2D7E 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)#2047800.151
Deuteranopia (no green cones)#3D517C0.130
Tritanopia (no blue cones)#7D38510.085
Achromatopsia (no color)#4E4E4E0.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A2D7E

    #7A2D7E

    oklch(44.1% 0.149 325.7)

  • #00651B

    #00651B

    oklch(44.1% 0.136 145.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A2D7E

    #7A2D7E

    oklch(44.1% 0.149 325.7)

  • #5C3B9A

    #5C3B9A

    oklch(44.2% 0.148 295.7)

  • #8D2256

    #8D2256

    oklch(44.1% 0.149 355.6)

Open the analogous palette in the generator

Split complementary

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

  • #7A2D7E

    #7A2D7E

    oklch(44.1% 0.149 325.7)

  • #515900

    #515900

    oklch(44.2% 0.101 115.6)

  • #006151

    #006151

    oklch(44% 0.082 176.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A2D7E

    #7A2D7E

    oklch(44.1% 0.149 325.7)

  • #694E00

    #694E00

    oklch(44.1% 0.09 85.6)

  • #005E67

    #005E67

    oklch(44% 0.075 206.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A2D7E

    #7A2D7E

    oklch(44.1% 0.149 325.7)

  • #7F3F00

    #7F3F00

    oklch(44.1% 0.109 55.1)

  • #00651B

    #00651B

    oklch(44.1% 0.136 145.7)

  • #005A80

    #005A80

    oklch(44.2% 0.095 235.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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