#7E3DCA

Closest named color: Blue Violet (#8A2BE2). oklch(51.8% 0.207 300.3), rgb(126, 61, 202).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.207)
Temperaturein between
Nearest nameBlue Violet (#8A2BE2)
Black text3.40:1
White text6.16:1

Values

HEX#7E3DCA
RGBrgb(126, 61, 202)
HSLhsl(268, 57%, 52%)
OKLCHoklch(51.8% 0.207 300.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 #7E3DCA 6.16:1 AA Lc -85.2 Fine for body text
Black text on #7E3DCA 3.40:1 AA large text Lc 24.1 Dividers and decoration only
#7E3DCA text on white 6.16:1 AA Lc 80.0 Fine for body text
#7E3DCA text on black 3.40:1 AA large text Lc -21.8 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

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #DED1F9

    oklch(88.4% 0.056 300.1)

  4. Step 300

    300

    #CBB2F8

    oklch(80.9% 0.1 300.6)

  5. Step 400

    400

    #B186F4

    oklch(70.6% 0.16 300.4)

  6. Step 500

    500

    #9F63F0

    oklch(63.1% 0.205 300.2)

  7. Step 600

    600

    #8B44DE

    oklch(55.6% 0.222 300.3)

  8. Step 700

    700 (this color)

    #7E3DCA

    oklch(51.8% 0.207 300.3)

  9. Step 800

    800

    #602D9C

    oklch(42.8% 0.171 300.2)

  10. Step 900

    900

    #4E2A7C

    oklch(37.7% 0.133 300.2)

  11. Step 950

    950

    #2E1A49

    oklch(27.1% 0.085 300.5)

Export this scale for Tailwind in the Tailwind colors tool

#7E3DCA 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)#0061CE0.145
Deuteranopia (no green cones)#0060C70.146
Tritanopia (no blue cones)#6D5F7F0.154
Achromatopsia (no color)#6161610.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E3DCA

    #7E3DCA

    oklch(51.8% 0.207 300.3)

  • #5F7200

    #5F7200

    oklch(51.8% 0.124 120.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E3DCA

    #7E3DCA

    oklch(51.8% 0.207 300.3)

  • #3F55DD

    #3F55DD

    oklch(51.8% 0.207 270.3)

  • #A5269E

    #A5269E

    oklch(51.9% 0.206 330.5)

Open the analogous palette in the generator

Split complementary

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

  • #7E3DCA

    #7E3DCA

    oklch(51.8% 0.207 300.3)

  • #806500

    #806500

    oklch(51.9% 0.106 90.3)

  • #007E39

    #007E39

    oklch(51.9% 0.142 150.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E3DCA

    #7E3DCA

    oklch(51.8% 0.207 300.3)

  • #995400

    #995400

    oklch(51.7% 0.121 60.1)

  • #007A6B

    #007A6B

    oklch(51.9% 0.094 180.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E3DCA

    #7E3DCA

    oklch(51.8% 0.207 300.3)

  • #C31200

    #C31200

    oklch(51.8% 0.206 30.4)

  • #5F7200

    #5F7200

    oklch(51.8% 0.124 120.5)

  • #007685

    #007685

    oklch(51.8% 0.09 210.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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