#7E196D

Closest named color: Purple (#800080). oklch(41.8% 0.162 336.1), rgb(126, 25, 109).

Aa

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

About this color

#7E196D is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.162 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Purple (#800080), ΔE 0.039 away. White text reads best on it, at 9.34:1.

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.162)
Temperaturewarm
Nearest namePurple (#800080)
Black text2.24:1
White text9.34:1

Values

HEX#7E196D
RGBrgb(126, 25, 109)
HSLhsl(310, 67%, 30%)
OKLCHoklch(41.8% 0.162 336.1)

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 #7E196D 9.34:1 AAA Lc -94.8 Preferred for body text
Black text on #7E196D 2.24:1 Fails Lc 13.6 Not readable
#7E196D text on white 9.34:1 AAA Lc 90.3 Preferred for body text
#7E196D text on black 2.24:1 Fails Lc -12.0 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

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E3F1

    oklch(93.5% 0.028 334.9)

  3. Step 200

    200

    #F1CDE6

    oklch(88.6% 0.052 337.2)

  4. Step 300

    300

    #E8A9D8

    oklch(80.8% 0.095 335.9)

  5. Step 400

    400

    #DA79C4

    oklch(70.7% 0.151 336.1)

  6. Step 500

    500

    #CD51B5

    oklch(63.1% 0.193 335.9)

  7. Step 600

    600

    #B92DA1

    oklch(55.7% 0.212 336.1)

  8. Step 700

    700

    #9F1D89

    oklch(49.1% 0.196 336.4)

  9. Step 800

    800 (this color)

    #7E196D

    oklch(41.8% 0.162 336.1)

  10. Step 900

    900

    #681F5A

    oklch(37.7% 0.127 336.3)

  11. Step 950

    950

    #3D1435

    oklch(27% 0.08 335.8)

Export this scale for Tailwind in the Tailwind colors tool

#7E196D 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)#1B3D6F0.179
Deuteranopia (no green cones)#3F4C6B0.152
Tritanopia (no blue cones)#8521420.080
Achromatopsia (no color)#4747470.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E196D

    #7E196D

    oklch(41.8% 0.162 336.1)

  • #005C34

    #005C34

    oklch(41.7% 0.101 156.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E196D

    #7E196D

    oklch(41.8% 0.162 336.1)

  • #632A90

    #632A90

    oklch(41.8% 0.162 306.1)

  • #8E093F

    #8E093F

    oklch(41.9% 0.163 6.1)

Open the analogous palette in the generator

Split complementary

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

  • #7E196D

    #7E196D

    oklch(41.8% 0.162 336.1)

  • #3E5600

    #3E5600

    oklch(41.8% 0.106 126)

  • #005953

    #005953

    oklch(41.8% 0.073 186.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E196D

    #7E196D

    oklch(41.8% 0.162 336.1)

  • #5B4C00

    #5B4C00

    oklch(41.9% 0.086 96)

  • #005666

    #005666

    oklch(41.7% 0.074 216)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E196D

    #7E196D

    oklch(41.8% 0.162 336.1)

  • #6E4000

    #6E4000

    oklch(41.8% 0.093 65.7)

  • #005C34

    #005C34

    oklch(41.7% 0.101 156.1)

  • #005083

    #005083

    oklch(41.8% 0.108 246.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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