#7F3E98

Closest named color: Light Eggplant (#894585). oklch(48.6% 0.151 315.6), rgb(127, 62, 152).

Aa

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

About this color

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

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

Values

HEX#7F3E98
RGBrgb(127, 62, 152)
HSLhsl(283, 42%, 42%)
OKLCHoklch(48.6% 0.151 315.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 #7F3E98 6.89:1 AA Lc -88.4 Fine for body text
Black text on #7F3E98 3.04:1 AA large text Lc 20.7 Dividers and decoration only
#7F3E98 text on white 6.89:1 AA Lc 83.4 Fine for body text
#7F3E98 text on black 3.04: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

    #D3B3E1

    oklch(80.9% 0.072 315.5)

  5. Step 400

    400

    #BD89D2

    oklch(70.7% 0.118 315.9)

  6. Step 500

    500

    #AC6AC6

    oklch(63.1% 0.15 315.8)

  7. Step 600

    600

    #974FB3

    oklch(55.6% 0.164 315.6)

  8. Step 700

    700 (this color)

    #7F3E98

    oklch(48.6% 0.151 315.6)

  9. Step 800

    800

    #69357D

    oklch(42.8% 0.126 315.7)

  10. Step 900

    900

    #552F64

    oklch(37.7% 0.097 315.7)

  11. Step 950

    950

    #321C3B

    oklch(27% 0.062 315.5)

Export this scale for Tailwind in the Tailwind colors tool

#7F3E98 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)#25569B0.139
Deuteranopia (no green cones)#3E5C960.121
Tritanopia (no blue cones)#7D4D650.099
Achromatopsia (no color)#5A5A5A0.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F3E98

    #7F3E98

    oklch(48.6% 0.151 315.6)

  • #367000

    #367000

    oklch(48.6% 0.143 135.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F3E98

    #7F3E98

    oklch(48.6% 0.151 315.6)

  • #5A4DAF

    #5A4DAF

    oklch(48.6% 0.15 285.4)

  • #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°).

  • #7F3E98

    #7F3E98

    oklch(48.6% 0.151 315.6)

  • #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.

  • #7F3E98

    #7F3E98

    oklch(48.6% 0.151 315.6)

  • #805600

    #805600

    oklch(48.7% 0.102 76.1)

  • #006D6E

    #006D6E

    oklch(48.5% 0.083 195.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F3E98

    #7F3E98

    oklch(48.6% 0.151 315.6)

  • #9B3F00

    #9B3F00

    oklch(48.6% 0.137 45.6)

  • #367000

    #367000

    oklch(48.6% 0.143 135.5)

  • #006987

    #006987

    oklch(48.5% 0.093 226.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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