#7E3CC6

Closest named color: Blue Violet (#8A2BE2). oklch(51.4% 0.203 301.4), rgb(126, 60, 198).

Aa

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

About this color

#7E3CC6 is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.203 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Blue Violet (#8A2BE2), ΔE 0.051 away. White text reads best on it, at 6.27:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.203)
Temperaturein between
Nearest nameBlue Violet (#8A2BE2)
Black text3.34:1
White text6.27:1

Values

HEX#7E3CC6
RGBrgb(126, 60, 198)
HSLhsl(269, 55%, 51%)
OKLCHoklch(51.4% 0.203 301.4)

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 #7E3CC6 6.27:1 AA Lc -85.7 Fine for body text
Black text on #7E3CC6 3.34:1 AA large text Lc 23.6 Dividers and decoration only
#7E3CC6 text on white 6.27:1 AA Lc 80.5 Fine for body text
#7E3CC6 text on black 3.34:1 AA large text Lc -21.3 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

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #EDE6FA

    oklch(93.6% 0.028 301.7)

  3. Step 200

    200

    #DFD1F8

    oklch(88.4% 0.055 301.6)

  4. Step 300

    300

    #CCB2F6

    oklch(80.9% 0.098 301.8)

  5. Step 400

    400

    #B286F2

    oklch(70.6% 0.158 301.3)

  6. Step 500

    500

    #A163ED

    oklch(63.1% 0.201 301.6)

  7. Step 600

    600

    #8C44DB

    oklch(55.5% 0.219 301.4)

  8. Step 700

    700 (this color)

    #7E3CC6

    oklch(51.4% 0.203 301.4)

  9. Step 800

    800

    #612D9A

    oklch(42.7% 0.168 301.4)

  10. Step 900

    900

    #4F2A7A

    oklch(37.6% 0.131 301.7)

  11. Step 950

    950

    #2E1A48

    oklch(27% 0.083 301.1)

Export this scale for Tailwind in the Tailwind colors tool

#7E3CC6 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)#005FCA0.146
Deuteranopia (no green cones)#005FC30.147
Tritanopia (no blue cones)#6F5D7D0.150
Achromatopsia (no color)#6060600.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E3CC6

    #7E3CC6

    oklch(51.4% 0.203 301.4)

  • #5D7100

    #5D7100

    oklch(51.4% 0.123 121.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E3CC6

    #7E3CC6

    oklch(51.4% 0.203 301.4)

  • #4254D9

    #4254D9

    oklch(51.5% 0.203 271.4)

  • #A4259A

    #A4259A

    oklch(51.4% 0.204 331.7)

Open the analogous palette in the generator

Split complementary

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

  • #7E3CC6

    #7E3CC6

    oklch(51.4% 0.203 301.4)

  • #7D6400

    #7D6400

    oklch(51.3% 0.105 91.6)

  • #007C3C

    #007C3C

    oklch(51.3% 0.136 151.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E3CC6

    #7E3CC6

    oklch(51.4% 0.203 301.4)

  • #975400

    #975400

    oklch(51.4% 0.119 61)

  • #00786B

    #00786B

    oklch(51.4% 0.092 181.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E3CC6

    #7E3CC6

    oklch(51.4% 0.203 301.4)

  • #BF1B00

    #BF1B00

    oklch(51.5% 0.199 31.4)

  • #5D7100

    #5D7100

    oklch(51.4% 0.123 121.1)

  • #007484

    #007484

    oklch(51.3% 0.089 211.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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