#7E316B

Closest named color: Light Eggplant (#894585). oklch(44.2% 0.129 338.3), rgb(126, 49, 107).

Aa

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

About this color

#7E316B is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.129 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.060 away. White text reads best on it, at 8.27:1.

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.129)
Temperaturewarm
Nearest nameLight Eggplant (#894585)
Black text2.53:1
White text8.27:1

Values

HEX#7E316B
RGBrgb(126, 49, 107)
HSLhsl(315, 44%, 34%)
OKLCHoklch(44.2% 0.129 338.3)

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 #7E316B 8.27:1 AAA Lc -92.6 Preferred for body text
Black text on #7E316B 2.53:1 Fails Lc 16.0 Dividers and decoration only
#7E316B text on white 8.27:1 AAA Lc 88.0 Fine for body text
#7E316B text on black 2.53:1 Fails Lc -14.2 Not readable

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

  1. Step 50

    50

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E5EF

    oklch(93.7% 0.021 337.7)

  3. Step 200

    200

    #EDCFE3

    oklch(88.5% 0.043 338.2)

  4. Step 300

    300

    #E2AED1

    oklch(80.9% 0.076 338.8)

  5. Step 400

    400

    #D182BA

    oklch(70.7% 0.12 338.4)

  6. Step 500

    500

    #C360A9

    oklch(63.1% 0.154 338.3)

  7. Step 600

    600

    #AE4494

    oklch(55.6% 0.166 338.4)

  8. Step 700

    700

    #95347E

    oklch(49% 0.156 338.3)

  9. Step 800

    800 (this color)

    #7E316B

    oklch(44.2% 0.129 338.3)

  10. Step 900

    900

    #622954

    oklch(37.7% 0.101 337.8)

  11. Step 950

    950

    #3A1931

    oklch(27.1% 0.063 338.6)

Export this scale for Tailwind in the Tailwind colors tool

#7E316B 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)#34476D0.136
Deuteranopia (no green cones)#4B53690.120
Tritanopia (no blue cones)#8534490.061
Achromatopsia (no color)#4E4E4E0.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E316B

    #7E316B

    oklch(44.2% 0.129 338.3)

  • #00643D

    #00643D

    oklch(44.3% 0.103 158.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E316B

    #7E316B

    oklch(44.2% 0.129 338.3)

  • #673B89

    #673B89

    oklch(44.2% 0.129 308)

  • #8B2C45

    #8B2C45

    oklch(44.2% 0.13 8.3)

Open the analogous palette in the generator

Split complementary

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

  • #7E316B

    #7E316B

    oklch(44.2% 0.129 338.3)

  • #405E00

    #405E00

    oklch(44.2% 0.115 128)

  • #00605B

    #00605B

    oklch(44.1% 0.076 188.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E316B

    #7E316B

    oklch(44.2% 0.129 338.3)

  • #605300

    #605300

    oklch(44.2% 0.091 98.8)

  • #005D70

    #005D70

    oklch(44.2% 0.079 218)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E316B

    #7E316B

    oklch(44.2% 0.129 338.3)

  • #754700

    #754700

    oklch(44.1% 0.097 68.4)

  • #00643D

    #00643D

    oklch(44.3% 0.103 158.3)

  • #005691

    #005691

    oklch(44.3% 0.119 248)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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