#7F316C

Closest named color: Light Eggplant (#894585). oklch(44.4% 0.13 338.2), rgb(127, 49, 108).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.130)
Temperaturewarm
Nearest nameLight Eggplant (#894585)
Black text2.55:1
White text8.20:1

Values

HEX#7F316C
RGBrgb(127, 49, 108)
HSLhsl(315, 44%, 35%)
OKLCHoklch(44.4% 0.13 338.2)

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 #7F316C 8.20:1 AAA Lc -92.4 Preferred for body text
Black text on #7F316C 2.55:1 Fails Lc 16.2 Dividers and decoration only
#7F316C text on white 8.20:1 AAA Lc 87.8 Fine for body text
#7F316C text on black 2.55:1 Fails Lc -14.4 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

    #F4E5EF

    oklch(93.7% 0.021 337.7)

  3. Step 200

    200

    #EDCFE3

    oklch(88.5% 0.043 338.2)

  4. Step 300

    300

    #E2AED2

    oklch(80.9% 0.077 337.9)

  5. Step 400

    400

    #D182BB

    oklch(70.7% 0.121 337.8)

  6. Step 500

    500

    #C35FA9

    oklch(63% 0.155 338.2)

  7. Step 600

    600

    #AF4395

    oklch(55.7% 0.169 338.2)

  8. Step 700

    700

    #96347F

    oklch(49.2% 0.157 338.2)

  9. Step 800

    800 (this color)

    #7F316C

    oklch(44.4% 0.13 338.2)

  10. Step 900

    900

    #622954

    oklch(37.7% 0.101 337.8)

  11. Step 950

    950

    #3A1931

    oklch(27.1% 0.063 338.6)

Export this scale for Tailwind in the Tailwind colors tool

#7F316C 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)#34476E0.137
Deuteranopia (no green cones)#4B536A0.121
Tritanopia (no blue cones)#86344A0.061
Achromatopsia (no color)#4F4F4F0.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F316C

    #7F316C

    oklch(44.4% 0.13 338.2)

  • #00643D

    #00643D

    oklch(44.3% 0.103 158.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F316C

    #7F316C

    oklch(44.4% 0.13 338.2)

  • #683B8A

    #683B8A

    oklch(44.4% 0.131 308.3)

  • #8C2C45

    #8C2C45

    oklch(44.4% 0.131 8.5)

Open the analogous palette in the generator

Split complementary

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

  • #7F316C

    #7F316C

    oklch(44.4% 0.13 338.2)

  • #405F00

    #405F00

    oklch(44.4% 0.117 128.3)

  • #00615C

    #00615C

    oklch(44.4% 0.077 188.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F316C

    #7F316C

    oklch(44.4% 0.13 338.2)

  • #615300

    #615300

    oklch(44.3% 0.091 97.9)

  • #005E71

    #005E71

    oklch(44.5% 0.08 217.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F316C

    #7F316C

    oklch(44.4% 0.13 338.2)

  • #764800

    #764800

    oklch(44.5% 0.097 68.7)

  • #00643D

    #00643D

    oklch(44.3% 0.103 158.3)

  • #005692

    #005692

    oklch(44.3% 0.12 248.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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