#7E399C

Closest named color: Rebecca Purple (#663399). oklch(48% 0.163 314.1), rgb(126, 57, 156).

Aa

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

About this color

#7E399C is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.163 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.050 away. White text reads best on it, at 7.11:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.163)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.95:1
White text7.11:1

Values

HEX#7E399C
RGBrgb(126, 57, 156)
HSLhsl(282, 46%, 42%)
OKLCHoklch(48% 0.163 314.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 #7E399C 7.11:1 AAA Lc -89.0 Fine for body text
Black text on #7E399C 2.95:1 Fails Lc 19.9 Dividers and decoration only
#7E399C text on white 7.11:1 AAA Lc 84.1 Fine for body text
#7E399C text on black 2.95:1 Fails Lc -17.9 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

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E4D1EE

    oklch(88.5% 0.044 314.1)

  4. Step 300

    300

    #D3B2E5

    oklch(80.9% 0.079 313.6)

  5. Step 400

    400

    #BD88D7

    oklch(70.7% 0.125 314.1)

  6. Step 500

    500

    #AC67CC

    oklch(63% 0.161 314.2)

  7. Step 600

    600

    #974CB9

    oklch(55.5% 0.175 313.9)

  8. Step 700

    700 (this color)

    #7E399C

    oklch(48% 0.163 314.1)

  9. Step 800

    800

    #693381

    oklch(42.7% 0.134 314.1)

  10. Step 900

    900

    #552D68

    oklch(37.6% 0.106 313.7)

  11. Step 950

    950

    #321B3D

    oklch(27% 0.067 313.9)

Export this scale for Tailwind in the Tailwind colors tool

#7E399C 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)#13549F0.151
Deuteranopia (no green cones)#355A9A0.132
Tritanopia (no blue cones)#7B4B650.108
Achromatopsia (no color)#5858580.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E399C

    #7E399C

    oklch(48% 0.163 314.1)

  • #3A6D00

    #3A6D00

    oklch(48% 0.138 134)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E399C

    #7E399C

    oklch(48% 0.163 314.1)

  • #5749B4

    #5749B4

    oklch(48% 0.163 284.4)

  • #982B74

    #982B74

    oklch(48.1% 0.163 343.9)

Open the analogous palette in the generator

Split complementary

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

  • #7E399C

    #7E399C

    oklch(48% 0.163 314.1)

  • #676000

    #676000

    oklch(48% 0.102 104.6)

  • #006F4E

    #006F4E

    oklch(48% 0.102 164.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E399C

    #7E399C

    oklch(48% 0.163 314.1)

  • #7F5300

    #7F5300

    oklch(47.9% 0.102 73.8)

  • #006C6B

    #006C6B

    oklch(48.1% 0.082 193.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E399C

    #7E399C

    oklch(48% 0.163 314.1)

  • #9A3C00

    #9A3C00

    oklch(48% 0.139 44.3)

  • #3A6D00

    #3A6D00

    oklch(48% 0.138 134)

  • #006883

    #006883

    oklch(48% 0.09 223.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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