#7F5095

Closest named color: Light Eggplant (#894585). oklch(51.2% 0.117 314.2), rgb(127, 80, 149).

Aa

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

About this color

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

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

Values

HEX#7F5095
RGBrgb(127, 80, 149)
HSLhsl(281, 30%, 45%)
OKLCHoklch(51.2% 0.117 314.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 #7F5095 6.02:1 AA Lc -85.1 Fine for body text
Black text on #7F5095 3.48:1 AA large text Lc 24.1 Dividers and decoration only
#7F5095 text on white 6.02:1 AA Lc 79.9 Fine for body text
#7F5095 text on black 3.48:1 AA large text Lc -21.9 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F2

    oklch(93.7% 0.016 313.6)

  3. Step 200

    200

    #E1D3E8

    oklch(88.4% 0.032 314.7)

  4. Step 300

    300

    #CEB6DB

    oklch(80.8% 0.057 313.8)

  5. Step 400

    400

    #B590C8

    oklch(70.7% 0.09 314)

  6. Step 500

    500

    #A373BA

    oklch(63.1% 0.116 314.3)

  7. Step 600

    600

    #8E5AA6

    oklch(55.5% 0.127 314.4)

  8. Step 700

    700 (this color)

    #7F5095

    oklch(51.2% 0.117 314.2)

  9. Step 800

    800

    #623D74

    oklch(42.7% 0.097 313.9)

  10. Step 900

    900

    #50345D

    oklch(37.6% 0.076 314.5)

  11. Step 950

    950

    #2F1F37

    oklch(27% 0.048 313.9)

Export this scale for Tailwind in the Tailwind colors tool

#7F5095 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)#4260970.098
Deuteranopia (no green cones)#4F64930.089
Tritanopia (no blue cones)#7D5A6B0.080
Achromatopsia (no color)#6363630.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F5095

    #7F5095

    oklch(51.2% 0.117 314.2)

  • #497529

    #497529

    oklch(51.3% 0.117 134.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F5095

    #7F5095

    oklch(51.2% 0.117 314.2)

  • #605BA7

    #605BA7

    oklch(51.2% 0.118 284.4)

  • #944877

    #944877

    oklch(51.2% 0.118 344.1)

Open the analogous palette in the generator

Split complementary

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

  • #7F5095

    #7F5095

    oklch(51.2% 0.117 314.2)

  • #716900

    #716900

    oklch(51.2% 0.108 104.3)

  • #007A56

    #007A56

    oklch(51.3% 0.109 164.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F5095

    #7F5095

    oklch(51.2% 0.117 314.2)

  • #8B5C00

    #8B5C00

    oklch(51.3% 0.108 74.5)

  • #007676

    #007676

    oklch(51.2% 0.087 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F5095

    #7F5095

    oklch(51.2% 0.117 314.2)

  • #9C4D28

    #9C4D28

    oklch(51.2% 0.117 44.1)

  • #497529

    #497529

    oklch(51.3% 0.117 134.3)

  • #007290

    #007290

    oklch(51.3% 0.097 224.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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