#7A6CCB

Closest named color: Medium Purple (#9370DB). oklch(58.8% 0.142 288), rgb(122, 108, 203).

Aa

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

About this color

#7A6CCB is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.142 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.048 away. Black text reads best on it, at 4.83:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.142)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text4.83:1
White text4.34:1

Values

HEX#7A6CCB
RGBrgb(122, 108, 203)
HSLhsl(249, 48%, 61%)
OKLCHoklch(58.8% 0.142 288)

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 #7A6CCB 4.34:1 AA large text Lc -75.4 Fine for body text
Black text on #7A6CCB 4.83:1 AA Lc 34.2 Non-text elements, placeholder text
#7A6CCB text on white 4.34:1 AA large text Lc 69.9 Content text, not long reading
#7A6CCB text on black 4.83: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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E9E8F6

    oklch(93.6% 0.019 289.3)

  3. Step 200

    200

    #D7D6F0

    oklch(88.5% 0.036 287.4)

  4. Step 300

    300

    #BEBBE8

    oklch(81% 0.063 288)

  5. Step 400

    400

    #9D96DD

    oklch(70.6% 0.103 288)

  6. Step 500

    500

    #867BD3

    oklch(63.1% 0.13 287.8)

  7. Step 600

    600 (this color)

    #7A6CCB

    oklch(58.8% 0.142 288)

  8. Step 700

    700

    #5F51A6

    oklch(49.1% 0.132 288.1)

  9. Step 800

    800

    #4D4387

    oklch(42.8% 0.109 287.6)

  10. Step 900

    900

    #40396C

    oklch(37.7% 0.085 287.9)

  11. Step 950

    950

    #25223F

    oklch(27.1% 0.053 287)

Export this scale for Tailwind in the Tailwind colors tool

#7A6CCB 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)#487BCE0.069
Deuteranopia (no green cones)#4877C90.067
Tritanopia (no blue cones)#637F920.119
Achromatopsia (no color)#7979790.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A6CCB

    #7A6CCB

    oklch(58.8% 0.142 288)

  • #858100

    #858100

    oklch(58.8% 0.126 107.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A6CCB

    #7A6CCB

    oklch(58.8% 0.142 288)

  • #437CCF

    #437CCF

    oklch(58.8% 0.141 257.9)

  • #9F5EB2

    #9F5EB2

    oklch(58.7% 0.142 318.3)

Open the analogous palette in the generator

Split complementary

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

  • #7A6CCB

    #7A6CCB

    oklch(58.8% 0.142 288)

  • #A47200

    #A47200

    oklch(58.8% 0.123 78.2)

  • #4E9035

    #4E9035

    oklch(58.9% 0.142 138.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A6CCB

    #7A6CCB

    oklch(58.8% 0.142 288)

  • #BE5E23

    #BE5E23

    oklch(58.9% 0.142 48.1)

  • #00936F

    #00936F

    oklch(58.9% 0.119 167.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A6CCB

    #7A6CCB

    oklch(58.8% 0.142 288)

  • #C2545C

    #C2545C

    oklch(58.8% 0.141 18.1)

  • #858100

    #858100

    oklch(58.8% 0.126 107.5)

  • #008E92

    #008E92

    oklch(58.7% 0.1 198.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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