#7E6FC5

Closest named color: Deep Lilac (#966EBD). oklch(59.4% 0.129 289.9), rgb(126, 111, 197).

Aa

Black text reads best on this color (4.96:1).

About this color

#7E6FC5 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.129 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.040 away. Black text reads best on it, at 4.96:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.129)
Temperaturecool
Nearest nameDeep Lilac (#966EBD)
Black text4.96:1
White text4.22:1

Values

HEX#7E6FC5
RGBrgb(126, 111, 197)
HSLhsl(250, 43%, 60%)
OKLCHoklch(59.4% 0.129 289.9)

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 #7E6FC5 4.22:1 AA large text Lc -74.6 Content text, not long reading
Black text on #7E6FC5 4.96:1 AA Lc 35.0 Non-text elements, placeholder text
#7E6FC5 text on white 4.22:1 AA large text Lc 69.1 Content text, not long reading
#7E6FC5 text on black 4.96:1 AA Lc -32.6 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E9E8F6

    oklch(93.6% 0.019 289.3)

  3. Step 200

    200

    #D8D6EF

    oklch(88.5% 0.034 289.4)

  4. Step 300

    300

    #BFBAE7

    oklch(80.8% 0.063 290)

  5. Step 400

    400

    #9F96DB

    oklch(70.7% 0.1 289.6)

  6. Step 500

    500 (this color)

    #7E6FC5

    oklch(59.4% 0.129 289.9)

  7. Step 600

    600

    #7462BE

    oklch(55.7% 0.139 290.1)

  8. Step 700

    700

    #6150A4

    oklch(49% 0.13 290)

  9. Step 800

    800

    #4F4285

    oklch(42.6% 0.108 290)

  10. Step 900

    900

    #41396B

    oklch(37.8% 0.084 289.1)

  11. Step 950

    950

    #26213E

    oklch(26.9% 0.053 290.3)

Export this scale for Tailwind in the Tailwind colors tool

#7E6FC5 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)#527DC80.064
Deuteranopia (no green cones)#5379C30.061
Tritanopia (no blue cones)#6C7F900.107
Achromatopsia (no color)#7B7B7B0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E6FC5

    #7E6FC5

    oklch(59.4% 0.129 289.9)

  • #848403

    #848403

    oklch(59.4% 0.129 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E6FC5

    #7E6FC5

    oklch(59.4% 0.129 289.9)

  • #4F7DCA

    #4F7DCA

    oklch(59.3% 0.129 260.2)

  • #A063AE

    #A063AE

    oklch(59.5% 0.129 320)

Open the analogous palette in the generator

Split complementary

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

  • #7E6FC5

    #7E6FC5

    oklch(59.4% 0.129 289.9)

  • #A47400

    #A47400

    oklch(59.2% 0.123 79.7)

  • #519043

    #519043

    oklch(59.2% 0.128 140)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E6FC5

    #7E6FC5

    oklch(59.4% 0.129 289.9)

  • #BA642E

    #BA642E

    oklch(59.4% 0.129 49.9)

  • #009473

    #009473

    oklch(59.3% 0.118 169.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E6FC5

    #7E6FC5

    oklch(59.4% 0.129 289.9)

  • #BF5B5E

    #BF5B5E

    oklch(59.4% 0.129 19.9)

  • #848403

    #848403

    oklch(59.4% 0.129 109.8)

  • #009096

    #009096

    oklch(59.4% 0.101 200)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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