#7F2F6D

Closest named color: Light Eggplant (#894585). oklch(44.2% 0.134 337.4), rgb(127, 47, 109).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.134)
Temperaturewarm
Nearest nameLight Eggplant (#894585)
Black text2.52:1
White text8.30:1

Values

HEX#7F2F6D
RGBrgb(127, 47, 109)
HSLhsl(313, 46%, 34%)
OKLCHoklch(44.2% 0.134 337.4)

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 #7F2F6D 8.30:1 AAA Lc -92.7 Preferred for body text
Black text on #7F2F6D 2.52:1 Fails Lc 16.0 Dividers and decoration only
#7F2F6D text on white 8.30:1 AAA Lc 88.0 Fine for body text
#7F2F6D text on black 2.52:1 Fails Lc -14.1 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

    #F5E4EF

    oklch(93.6% 0.023 338.6)

  3. Step 200

    200

    #EDCFE3

    oklch(88.5% 0.043 338.2)

  4. Step 300

    300

    #E3AED3

    oklch(81% 0.078 337.7)

  5. Step 400

    400

    #D281BC

    oklch(70.7% 0.124 337.6)

  6. Step 500

    500

    #C45EAC

    oklch(63.1% 0.16 337.1)

  7. Step 600

    600

    #AF4197

    oklch(55.6% 0.174 337.2)

  8. Step 700

    700

    #963281

    oklch(49.1% 0.162 337.1)

  9. Step 800

    800 (this color)

    #7F2F6D

    oklch(44.2% 0.134 337.4)

  10. Step 900

    900

    #632855

    oklch(37.8% 0.104 337.6)

  11. Step 950

    950

    #3A1832

    oklch(27% 0.066 337)

Export this scale for Tailwind in the Tailwind colors tool

#7F2F6D 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)#31466F0.142
Deuteranopia (no green cones)#4A536B0.125
Tritanopia (no blue cones)#8632490.065
Achromatopsia (no color)#4E4E4E0.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F2F6D

    #7F2F6D

    oklch(44.2% 0.134 337.4)

  • #00643B

    #00643B

    oklch(44.3% 0.105 157.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F2F6D

    #7F2F6D

    oklch(44.2% 0.134 337.4)

  • #673A8B

    #673A8B

    oklch(44.2% 0.133 307.5)

  • #8C2A46

    #8C2A46

    oklch(44.2% 0.133 7.2)

Open the analogous palette in the generator

Split complementary

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

  • #7F2F6D

    #7F2F6D

    oklch(44.2% 0.134 337.4)

  • #415E00

    #415E00

    oklch(44.2% 0.115 127.5)

  • #00605A

    #00605A

    oklch(44% 0.077 187.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F2F6D

    #7F2F6D

    oklch(44.2% 0.134 337.4)

  • #615300

    #615300

    oklch(44.3% 0.091 97.9)

  • #005D70

    #005D70

    oklch(44.2% 0.079 218)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F2F6D

    #7F2F6D

    oklch(44.2% 0.134 337.4)

  • #764700

    #764700

    oklch(44.3% 0.097 67.7)

  • #00643B

    #00643B

    oklch(44.3% 0.105 157.2)

  • #005690

    #005690

    oklch(44.2% 0.118 247.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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