#7E3696

Closest named color: Warm Purple (#952E8F). oklch(47.3% 0.161 316.7), rgb(126, 54, 150).

Aa

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

About this color

#7E3696 is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.161 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.048 away. White text reads best on it, at 7.35:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.161)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text2.85:1
White text7.35:1

Values

HEX#7E3696
RGBrgb(126, 54, 150)
HSLhsl(285, 47%, 40%)
OKLCHoklch(47.3% 0.161 316.7)

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 #7E3696 7.35:1 AAA Lc -89.8 Fine for body text
Black text on #7E3696 2.85:1 Fails Lc 19.1 Dividers and decoration only
#7E3696 text on white 7.35:1 AAA Lc 84.9 Fine for body text
#7E3696 text on black 2.85:1 Fails Lc -17.1 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

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E6F4

    oklch(93.7% 0.021 316.5)

  3. Step 200

    200

    #E5D1ED

    oklch(88.5% 0.043 316.4)

  4. Step 300

    300

    #D5B2E2

    oklch(81% 0.076 316.8)

  5. Step 400

    400

    #BF87D4

    oklch(70.6% 0.125 316.5)

  6. Step 500

    500

    #AF67C8

    oklch(63.1% 0.158 316.9)

  7. Step 600

    600

    #9A4BB5

    oklch(55.5% 0.173 316.7)

  8. Step 700

    700 (this color)

    #7E3696

    oklch(47.3% 0.161 316.7)

  9. Step 800

    800

    #6B327E

    oklch(42.7% 0.133 316.9)

  10. Step 900

    900

    #572D66

    oklch(37.7% 0.104 316.5)

  11. Step 950

    950

    #331B3B

    oklch(27% 0.065 317.2)

Export this scale for Tailwind in the Tailwind colors tool

#7E3696 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)#1651990.153
Deuteranopia (no green cones)#3758940.133
Tritanopia (no blue cones)#7D47610.104
Achromatopsia (no color)#5656560.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E3696

    #7E3696

    oklch(47.3% 0.161 316.7)

  • #2F6C00

    #2F6C00

    oklch(47.2% 0.142 136.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E3696

    #7E3696

    oklch(47.3% 0.161 316.7)

  • #5946AF

    #5946AF

    oklch(47.3% 0.16 286.9)

  • #96296D

    #96296D

    oklch(47.2% 0.16 346.7)

Open the analogous palette in the generator

Split complementary

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

  • #7E3696

    #7E3696

    oklch(47.3% 0.161 316.7)

  • #635F00

    #635F00

    oklch(47.4% 0.102 106.8)

  • #006C50

    #006C50

    oklch(47.2% 0.096 167.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E3696

    #7E3696

    oklch(47.3% 0.161 316.7)

  • #7A5300

    #7A5300

    oklch(47.3% 0.099 77.4)

  • #00696B

    #00696B

    oklch(47.2% 0.08 197.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E3696

    #7E3696

    oklch(47.3% 0.161 316.7)

  • #943E00

    #943E00

    oklch(47.3% 0.131 46.9)

  • #2F6C00

    #2F6C00

    oklch(47.2% 0.142 136.7)

  • #006583

    #006583

    oklch(47.3% 0.091 227)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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