#7F336A

Closest named color: Light Eggplant (#894585). oklch(44.6% 0.125 339.6), rgb(127, 51, 106).

Aa

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

About this color

#7F336A is a dark, moderately saturated purple. In OKLCH its lightness is 45%, its chroma 0.125 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.057 away. White text reads best on it, at 8.12:1.

Hue familyPurples
Lightnessdark (45%)
Chromamoderately saturated (0.125)
Temperaturewarm
Nearest nameLight Eggplant (#894585)
Black text2.58:1
White text8.12:1

Values

HEX#7F336A
RGBrgb(127, 51, 106)
HSLhsl(317, 43%, 35%)
OKLCHoklch(44.6% 0.125 339.6)

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 #7F336A 8.12:1 AAA Lc -92.3 Preferred for body text
Black text on #7F336A 2.58:1 Fails Lc 16.4 Dividers and decoration only
#7F336A text on white 8.12:1 AAA Lc 87.6 Fine for body text
#7F336A text on black 2.58:1 Fails Lc -14.6 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

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F4E5EE

    oklch(93.6% 0.02 340.7)

  3. Step 200

    200

    #ECCFE2

    oklch(88.4% 0.041 338.7)

  4. Step 300

    300

    #E2AFD0

    oklch(81% 0.073 339.9)

  5. Step 400

    400

    #D183B8

    oklch(70.8% 0.117 339.7)

  6. Step 500

    500

    #C361A6

    oklch(63.1% 0.15 339.8)

  7. Step 600

    600

    #AE4591

    oklch(55.6% 0.163 339.8)

  8. Step 700

    700

    #95367C

    oklch(49.1% 0.151 339.5)

  9. Step 800

    800 (this color)

    #7F336A

    oklch(44.6% 0.125 339.6)

  10. Step 900

    900

    #622A52

    oklch(37.8% 0.097 339.7)

  11. Step 950

    950

    #3A1930

    oklch(27.1% 0.062 340)

Export this scale for Tailwind in the Tailwind colors tool

#7F336A 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)#37486C0.132
Deuteranopia (no green cones)#4D54680.118
Tritanopia (no blue cones)#86354A0.057
Achromatopsia (no color)#5050500.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F336A

    #7F336A

    oklch(44.6% 0.125 339.6)

  • #006540

    #006540

    oklch(44.7% 0.102 159.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F336A

    #7F336A

    oklch(44.6% 0.125 339.6)

  • #693C87

    #693C87

    oklch(44.5% 0.126 309.9)

  • #8B2F45

    #8B2F45

    oklch(44.6% 0.126 9.3)

Open the analogous palette in the generator

Split complementary

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

  • #7F336A

    #7F336A

    oklch(44.6% 0.125 339.6)

  • #3E6000

    #3E6000

    oklch(44.6% 0.119 129.5)

  • #00615D

    #00615D

    oklch(44.4% 0.077 189.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F336A

    #7F336A

    oklch(44.6% 0.125 339.6)

  • #615400

    #615400

    oklch(44.5% 0.092 98.9)

  • #005E73

    #005E73

    oklch(44.6% 0.081 220)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F336A

    #7F336A

    oklch(44.6% 0.125 339.6)

  • #764900

    #764900

    oklch(44.7% 0.097 69.8)

  • #006540

    #006540

    oklch(44.7% 0.102 159.7)

  • #005696

    #005696

    oklch(44.6% 0.126 249.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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