#7E6ACC

Closest named color: Medium Purple (#9370DB). oklch(58.8% 0.146 290.6), rgb(126, 106, 204).

Aa

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

About this color

#7E6ACC is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.146 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.043 away. Black text reads best on it, at 4.82:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.146)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text4.82:1
White text4.35:1

Values

HEX#7E6ACC
RGBrgb(126, 106, 204)
HSLhsl(252, 49%, 61%)
OKLCHoklch(58.8% 0.146 290.6)

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 #7E6ACC 4.35:1 AA large text Lc -75.5 Fine for body text
Black text on #7E6ACC 4.82:1 AA Lc 34.1 Non-text elements, placeholder text
#7E6ACC text on white 4.35:1 AA large text Lc 70.0 Content text, not long reading
#7E6ACC text on black 4.82:1 AA Lc -31.7 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 600.

  1. Step 50

    50

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #E9E8F6

    oklch(93.6% 0.019 289.3)

  3. Step 200

    200

    #D8D5F0

    oklch(88.4% 0.037 290.7)

  4. Step 300

    300

    #C0BAE9

    oklch(81% 0.066 290.7)

  5. Step 400

    400

    #A095DD

    oklch(70.7% 0.104 290.5)

  6. Step 500

    500

    #8A79D4

    oklch(63.1% 0.134 290.6)

  7. Step 600

    600 (this color)

    #7E6ACC

    oklch(58.8% 0.146 290.6)

  8. Step 700

    700

    #624FA7

    oklch(49.1% 0.136 290.4)

  9. Step 800

    800

    #504187

    oklch(42.7% 0.113 290.7)

  10. Step 900

    900

    #42386C

    oklch(37.7% 0.087 290.5)

  11. Step 950

    950

    #27213F

    oklch(27% 0.055 291.5)

Export this scale for Tailwind in the Tailwind colors tool

#7E6ACC 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)#457BD00.078
Deuteranopia (no green cones)#4777CA0.075
Tritanopia (no blue cones)#6A7E910.122
Achromatopsia (no color)#7979790.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E6ACC

    #7E6ACC

    oklch(58.8% 0.146 290.6)

  • #818300

    #818300

    oklch(58.9% 0.129 110.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E6ACC

    #7E6ACC

    oklch(58.8% 0.146 290.6)

  • #477AD2

    #477AD2

    oklch(58.7% 0.146 260.6)

  • #A35CB1

    #A35CB1

    oklch(58.9% 0.146 320.8)

Open the analogous palette in the generator

Split complementary

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

  • #7E6ACC

    #7E6ACC

    oklch(58.8% 0.146 290.6)

  • #A27300

    #A27300

    oklch(58.8% 0.122 80.1)

  • #469138

    #469138

    oklch(58.8% 0.145 140.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E6ACC

    #7E6ACC

    oklch(58.8% 0.146 290.6)

  • #BF5E15

    #BF5E15

    oklch(58.9% 0.146 50.6)

  • #009273

    #009273

    oklch(58.7% 0.115 170.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E6ACC

    #7E6ACC

    oklch(58.8% 0.146 290.6)

  • #C45357

    #C45357

    oklch(58.9% 0.145 20.5)

  • #818300

    #818300

    oklch(58.9% 0.129 110.8)

  • #008E95

    #008E95

    oklch(58.8% 0.1 200.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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