#7C6BEB

Closest named color: Medium Slate Blue (#7B68EE). oklch(60.8% 0.186 285.5), rgb(124, 107, 235).

Aa

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

About this color

#7C6BEB is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.186 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.009 away. Black text reads best on it, at 5.15:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.186)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text5.15:1
White text4.06:1

Values

HEX#7C6BEB
RGBrgb(124, 107, 235)
HSLhsl(248, 76%, 67%)
OKLCHoklch(60.8% 0.186 285.5)

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 #7C6BEB 4.06:1 AA large text Lc -73.1 Content text, not long reading
Black text on #7C6BEB 5.15:1 AA Lc 36.5 Non-text elements, placeholder text
#7C6BEB text on white 4.06:1 AA large text Lc 67.6 Content text, not long reading
#7C6BEB text on black 5.15:1 AA Lc -34.1 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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E8E8FB

    oklch(93.7% 0.026 285.9)

  3. Step 200

    200

    #D5D5FA

    oklch(88.5% 0.051 285.3)

  4. Step 300

    300

    #BAB9F9

    oklch(80.9% 0.09 284.9)

  5. Step 400

    400

    #9991F7

    oklch(70.7% 0.146 285.6)

  6. Step 500

    500 (this color)

    #7C6BEB

    oklch(60.8% 0.186 285.5)

  7. Step 600

    600

    #6E56E2

    oklch(55.6% 0.203 285.6)

  8. Step 700

    700

    #5C45C4

    oklch(49% 0.188 285.4)

  9. Step 800

    800

    #4B3A9E

    oklch(42.7% 0.155 285.5)

  10. Step 900

    900

    #3E337E

    oklch(37.7% 0.122 285.6)

  11. Step 950

    950

    #241F4A

    oklch(27.1% 0.077 285.3)

Export this scale for Tailwind in the Tailwind colors tool

#7C6BEB 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)#2181EF0.096
Deuteranopia (no green cones)#1B7AE80.097
Tritanopia (no blue cones)#5687A10.156
Achromatopsia (no color)#7E7E7E0.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C6BEB

    #7C6BEB

    oklch(60.8% 0.186 285.5)

  • #8E8600

    #8E8600

    oklch(60.8% 0.129 105.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C6BEB

    #7C6BEB

    oklch(60.8% 0.186 285.5)

  • #2181EE

    #2181EE

    oklch(60.9% 0.185 255.4)

  • #AC58CD

    #AC58CD

    oklch(60.9% 0.186 315.4)

Open the analogous palette in the generator

Split complementary

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

  • #7C6BEB

    #7C6BEB

    oklch(60.8% 0.186 285.5)

  • #AE7600

    #AE7600

    oklch(60.8% 0.128 75.8)

  • #4C9900

    #4C9900

    oklch(60.9% 0.18 135.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C6BEB

    #7C6BEB

    oklch(60.8% 0.186 285.5)

  • #D25800

    #D25800

    oklch(60.8% 0.172 45.6)

  • #009A70

    #009A70

    oklch(60.8% 0.127 165.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C6BEB

    #7C6BEB

    oklch(60.8% 0.186 285.5)

  • #DB455D

    #DB455D

    oklch(60.9% 0.186 15.4)

  • #8E8600

    #8E8600

    oklch(60.8% 0.129 105.4)

  • #009596

    #009596

    oklch(60.7% 0.103 195.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7C6BEB.

Similar named colors

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

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