#7F477C

Closest named color: Light Eggplant (#894585). oklch(48.5% 0.106 329), rgb(127, 71, 124).

Aa

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

About this color

#7F477C is a medium-dark, moderately saturated purple. In OKLCH its lightness is 48%, its chroma 0.106 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.024 away. White text reads best on it, at 6.78:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.09:1
White text6.78:1

Values

HEX#7F477C
RGBrgb(127, 71, 124)
HSLhsl(303, 28%, 39%)
OKLCHoklch(48.5% 0.106 329)

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 #7F477C 6.78:1 AA Lc -88.2 Fine for body text
Black text on #7F477C 3.09:1 AA large text Lc 20.9 Dividers and decoration only
#7F477C text on white 6.78:1 AA Lc 83.2 Fine for body text
#7F477C text on black 3.09:1 AA large text Lc -18.8 Dividers and decoration only

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

  1. Step 50

    50

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #F0E6EF

    oklch(93.5% 0.016 328.8)

  3. Step 200

    200

    #E4D3E2

    oklch(88.5% 0.027 329.5)

  4. Step 300

    300

    #D4B5D1

    oklch(80.8% 0.052 329.2)

  5. Step 400

    400

    #BE8EBA

    oklch(70.7% 0.083 329.2)

  6. Step 500

    500

    #AC72A9

    oklch(63.1% 0.104 328.5)

  7. Step 600

    600

    #975994

    oklch(55.5% 0.114 328.7)

  8. Step 700

    700 (this color)

    #7F477C

    oklch(48.5% 0.106 329)

  9. Step 800

    800

    #693C66

    oklch(42.7% 0.087 329.4)

  10. Step 900

    900

    #553453

    oklch(37.7% 0.067 328.9)

  11. Step 950

    950

    #321F31

    oklch(27.1% 0.042 328.5)

Export this scale for Tailwind in the Tailwind colors tool

#7F477C 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)#44567E0.102
Deuteranopia (no green cones)#535E7A0.093
Tritanopia (no blue cones)#834C5C0.058
Achromatopsia (no color)#5B5B5B0.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F477C

    #7F477C

    oklch(48.5% 0.106 329)

  • #2B6F3C

    #2B6F3C

    oklch(48.5% 0.106 149.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F477C

    #7F477C

    oklch(48.5% 0.106 329)

  • #685092

    #685092

    oklch(48.6% 0.106 299.2)

  • #8D425D

    #8D425D

    oklch(48.3% 0.106 359.1)

Open the analogous palette in the generator

Split complementary

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

  • #7F477C

    #7F477C

    oklch(48.5% 0.106 329)

  • #596712

    #596712

    oklch(48.6% 0.106 119)

  • #006F60

    #006F60

    oklch(48.5% 0.089 179.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F477C

    #7F477C

    oklch(48.5% 0.106 329)

  • #755B00

    #755B00

    oklch(48.4% 0.099 89.3)

  • #006B78

    #006B78

    oklch(48.3% 0.083 209.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F477C

    #7F477C

    oklch(48.5% 0.106 329)

  • #8A4E13

    #8A4E13

    oklch(48.5% 0.106 59.1)

  • #2B6F3C

    #2B6F3C

    oklch(48.5% 0.106 149.1)

  • #0A6694

    #0A6694

    oklch(48.6% 0.106 238.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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