#7F3D96

Closest named color: Light Eggplant (#894585). oklch(48.3% 0.151 316.5), rgb(127, 61, 150).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.151)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.01:1
White text6.97:1

Values

HEX#7F3D96
RGBrgb(127, 61, 150)
HSLhsl(284, 42%, 41%)
OKLCHoklch(48.3% 0.151 316.5)

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 #7F3D96 6.97:1 AA Lc -88.7 Fine for body text
Black text on #7F3D96 3.01:1 AA large text Lc 20.4 Dividers and decoration only
#7F3D96 text on white 6.97:1 AA Lc 83.7 Fine for body text
#7F3D96 text on black 3.01:1 AA large text Lc -18.3 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

    #F0E6F4

    oklch(93.7% 0.021 316.5)

  3. Step 200

    200

    #E4D1EB

    oklch(88.4% 0.041 317)

  4. Step 300

    300

    #D4B3E0

    oklch(81% 0.072 317)

  5. Step 400

    400

    #BD89D1

    oklch(70.6% 0.117 316.3)

  6. Step 500

    500

    #AD6AC5

    oklch(63.2% 0.149 316.7)

  7. Step 600

    600

    #984FB1

    oklch(55.6% 0.162 316.8)

  8. Step 700

    700 (this color)

    #7F3D96

    oklch(48.3% 0.151 316.5)

  9. Step 800

    800

    #69357C

    oklch(42.7% 0.125 316.2)

  10. Step 900

    900

    #562F63

    oklch(37.8% 0.096 317.2)

  11. Step 950

    950

    #321C3A

    oklch(27% 0.061 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#7F3D96 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)#2655990.139
Deuteranopia (no green cones)#3E5B940.122
Tritanopia (no blue cones)#7E4C630.099
Achromatopsia (no color)#5959590.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F3D96

    #7F3D96

    oklch(48.3% 0.151 316.5)

  • #327000

    #327000

    oklch(48.4% 0.145 136.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F3D96

    #7F3D96

    oklch(48.3% 0.151 316.5)

  • #5B4CAE

    #5B4CAE

    oklch(48.4% 0.15 286.4)

  • #97326F

    #97326F

    oklch(48.4% 0.15 346.9)

Open the analogous palette in the generator

Split complementary

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

  • #7F3D96

    #7F3D96

    oklch(48.3% 0.151 316.5)

  • #666200

    #666200

    oklch(48.4% 0.104 106.9)

  • #007052

    #007052

    oklch(48.4% 0.1 166.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F3D96

    #7F3D96

    oklch(48.3% 0.151 316.5)

  • #7E5500

    #7E5500

    oklch(48.2% 0.101 76.5)

  • #006D6E

    #006D6E

    oklch(48.5% 0.083 195.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F3D96

    #7F3D96

    oklch(48.3% 0.151 316.5)

  • #994000

    #994000

    oklch(48.4% 0.135 46.7)

  • #327000

    #327000

    oklch(48.4% 0.145 136.5)

  • #006887

    #006887

    oklch(48.3% 0.093 227.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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