#7F3E99

Closest named color: Light Eggplant (#894585). oklch(48.7% 0.152 315.2), rgb(127, 62, 153).

Aa

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

About this color

#7F3E99 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.152 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.045 away. White text reads best on it, at 6.88:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.152)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.05:1
White text6.88:1

Values

HEX#7F3E99
RGBrgb(127, 62, 153)
HSLhsl(283, 42%, 42%)
OKLCHoklch(48.7% 0.152 315.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 #7F3E99 6.88:1 AA Lc -88.3 Fine for body text
Black text on #7F3E99 3.05:1 AA large text Lc 20.7 Dividers and decoration only
#7F3E99 text on white 6.88:1 AA Lc 83.3 Fine for body text
#7F3E99 text on black 3.05:1 AA large text Lc -18.6 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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F4

    oklch(93.6% 0.021 313.8)

  3. Step 200

    200

    #E4D1EC

    oklch(88.4% 0.042 316)

  4. Step 300

    300

    #D3B3E2

    oklch(81% 0.074 314.9)

  5. Step 400

    400

    #BC89D3

    oklch(70.6% 0.118 314.9)

  6. Step 500

    500

    #AB6AC7

    oklch(63.1% 0.15 315)

  7. Step 600

    600

    #974FB3

    oklch(55.6% 0.164 315.6)

  8. Step 700

    700 (this color)

    #7F3E99

    oklch(48.7% 0.152 315.2)

  9. Step 800

    800

    #68357D

    oklch(42.7% 0.125 315.1)

  10. Step 900

    900

    #552F65

    oklch(37.8% 0.098 315.1)

  11. Step 950

    950

    #321C3B

    oklch(27% 0.062 315.5)

Export this scale for Tailwind in the Tailwind colors tool

#7F3E99 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)#24569C0.139
Deuteranopia (no green cones)#3D5C970.122
Tritanopia (no blue cones)#7D4E650.102
Achromatopsia (no color)#5A5A5A0.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F3E99

    #7F3E99

    oklch(48.7% 0.152 315.2)

  • #377000

    #377000

    oklch(48.7% 0.143 135.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F3E99

    #7F3E99

    oklch(48.7% 0.152 315.2)

  • #5A4DB0

    #5A4DB0

    oklch(48.6% 0.152 285.3)

  • #973272

    #973272

    oklch(48.5% 0.152 345.3)

Open the analogous palette in the generator

Split complementary

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

  • #7F3E99

    #7F3E99

    oklch(48.7% 0.152 315.2)

  • #686200

    #686200

    oklch(48.6% 0.103 105.5)

  • #007151

    #007151

    oklch(48.6% 0.102 165.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F3E99

    #7F3E99

    oklch(48.7% 0.152 315.2)

  • #815600

    #815600

    oklch(48.8% 0.103 75.4)

  • #006E6E

    #006E6E

    oklch(48.7% 0.083 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F3E99

    #7F3E99

    oklch(48.7% 0.152 315.2)

  • #9C3F00

    #9C3F00

    oklch(48.7% 0.138 45.4)

  • #377000

    #377000

    oklch(48.7% 0.143 135.3)

  • #006A87

    #006A87

    oklch(48.8% 0.092 225.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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