#7D2F71

Closest named color: Light Eggplant (#894585). oklch(44.1% 0.136 334.1), rgb(125, 47, 113).

Aa

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

About this color

#7D2F71 is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.136 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.060 away. White text reads best on it, at 8.34:1.

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.136)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text2.51:1
White text8.34:1

Values

HEX#7D2F71
RGBrgb(125, 47, 113)
HSLhsl(309, 45%, 34%)
OKLCHoklch(44.1% 0.136 334.1)

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 #7D2F71 8.34:1 AAA Lc -92.8 Preferred for body text
Black text on #7D2F71 2.51:1 Fails Lc 15.8 Dividers and decoration only
#7D2F71 text on white 8.34:1 AAA Lc 88.1 Fine for body text
#7D2F71 text on black 2.51:1 Fails Lc -14.0 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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E4F0

    oklch(93.5% 0.023 334.3)

  3. Step 200

    200

    #ECCFE5

    oklch(88.5% 0.043 334.3)

  4. Step 300

    300

    #E1AED6

    oklch(80.9% 0.079 334)

  5. Step 400

    400

    #D081C1

    oklch(70.7% 0.127 334)

  6. Step 500

    500

    #C25EB1

    oklch(63% 0.163 334.2)

  7. Step 600

    600

    #AD419D

    oklch(55.6% 0.177 334)

  8. Step 700

    700

    #943286

    oklch(49% 0.164 333.9)

  9. Step 800

    800 (this color)

    #7D2F71

    oklch(44.1% 0.136 334.1)

  10. Step 900

    900

    #622858

    oklch(37.8% 0.106 334.6)

  11. Step 950

    950

    #391834

    oklch(26.9% 0.067 333.3)

Export this scale for Tailwind in the Tailwind colors tool

#7D2F71 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)#2E47730.142
Deuteranopia (no green cones)#47526F0.124
Tritanopia (no blue cones)#83344B0.069
Achromatopsia (no color)#4E4E4E0.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #7D2F71

    #7D2F71

    oklch(44.1% 0.136 334.1)

  • #006435

    #006435

    oklch(44.2% 0.111 154.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7D2F71

    #7D2F71

    oklch(44.1% 0.136 334.1)

  • #643A8E

    #643A8E

    oklch(44% 0.136 304.5)

  • #8C284A

    #8C284A

    oklch(44.1% 0.137 4)

Open the analogous palette in the generator

Split complementary

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

  • #7D2F71

    #7D2F71

    oklch(44.1% 0.136 334.1)

  • #465C00

    #465C00

    oklch(44% 0.11 124.2)

  • #006058

    #006058

    oklch(44% 0.077 185)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7D2F71

    #7D2F71

    oklch(44.1% 0.136 334.1)

  • #635100

    #635100

    oklch(44% 0.09 94.1)

  • #005D6D

    #005D6D

    oklch(44% 0.078 214.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7D2F71

    #7D2F71

    oklch(44.1% 0.136 334.1)

  • #784500

    #784500

    oklch(44.2% 0.1 64.4)

  • #006435

    #006435

    oklch(44.2% 0.111 154.1)

  • #00578A

    #00578A

    oklch(44% 0.109 244.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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