#7B6CEE

Closest named color: Medium Slate Blue (#7B68EE). oklch(61.1% 0.189 284.6), rgb(123, 108, 238).

Aa

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

About this color

#7B6CEE is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.189 and its hue 285°. 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.22:1.

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

Values

HEX#7B6CEE
RGBrgb(123, 108, 238)
HSLhsl(247, 79%, 68%)
OKLCHoklch(61.1% 0.189 284.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 #7B6CEE 4.02:1 AA large text Lc -72.7 Content text, not long reading
Black text on #7B6CEE 5.22:1 AA Lc 36.9 Non-text elements, placeholder text
#7B6CEE text on white 4.02:1 AA large text Lc 67.2 Content text, not long reading
#7B6CEE text on black 5.22:1 AA Lc -34.5 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

    #E7E8FC

    oklch(93.6% 0.027 283.6)

  3. Step 200

    200

    #D5D5FB

    oklch(88.5% 0.052 285.3)

  4. Step 300

    300

    #B9B9FA

    oklch(80.9% 0.091 284.2)

  5. Step 400

    400

    #9792F8

    oklch(70.7% 0.147 284.2)

  6. Step 500

    500 (this color)

    #7B6CEE

    oklch(61.1% 0.189 284.6)

  7. Step 600

    600

    #6C56E4

    oklch(55.6% 0.206 284.6)

  8. Step 700

    700

    #5B45C6

    oklch(49.1% 0.191 284.7)

  9. Step 800

    800

    #4A3AA0

    oklch(42.7% 0.158 284.7)

  10. Step 900

    900

    #3D337F

    oklch(37.6% 0.124 284.8)

  11. Step 950

    950

    #231F4A

    oklch(27% 0.077 284.2)

Export this scale for Tailwind in the Tailwind colors tool

#7B6CEE 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)#1E83F20.096
Deuteranopia (no green cones)#147BEB0.097
Tritanopia (no blue cones)#5289A30.159
Achromatopsia (no color)#7F7F7F0.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B6CEE

    #7B6CEE

    oklch(61.1% 0.189 284.6)

  • #908700

    #908700

    oklch(61.2% 0.13 104.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B6CEE

    #7B6CEE

    oklch(61.1% 0.189 284.6)

  • #1782F0

    #1782F0

    oklch(61.1% 0.188 254.5)

  • #AC58D0

    #AC58D0

    oklch(61.1% 0.189 314.5)

Open the analogous palette in the generator

Split complementary

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

  • #7B6CEE

    #7B6CEE

    oklch(61.1% 0.189 284.6)

  • #B07600

    #B07600

    oklch(61.1% 0.129 74.8)

  • #519900

    #519900

    oklch(61.1% 0.177 134.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B6CEE

    #7B6CEE

    oklch(61.1% 0.189 284.6)

  • #D55700

    #D55700

    oklch(61.2% 0.176 44.7)

  • #009B6F

    #009B6F

    oklch(61.1% 0.129 164.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B6CEE

    #7B6CEE

    oklch(61.1% 0.189 284.6)

  • #DD445F

    #DD445F

    oklch(61.2% 0.189 14.6)

  • #908700

    #908700

    oklch(61.2% 0.13 104.9)

  • #009796

    #009796

    oklch(61.2% 0.105 193.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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