#7B3166

Closest named color: Brownish Purple (#76424E). oklch(43.5% 0.122 340), rgb(123, 49, 102).

Aa

White text reads best on this color (8.49:1).

About this color

#7B3166 is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.122 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Brownish Purple (#76424E), ΔE 0.065 away. White text reads best on it, at 8.49:1.

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.122)
Temperaturewarm
Nearest nameBrownish Purple (#76424E)
Black text2.47:1
White text8.49:1

Values

HEX#7B3166
RGBrgb(123, 49, 102)
HSLhsl(317, 43%, 34%)
OKLCHoklch(43.5% 0.122 340)

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 #7B3166 8.49:1 AAA Lc -93.3 Preferred for body text
Black text on #7B3166 2.47:1 Fails Lc 15.3 Dividers and decoration only
#7B3166 text on white 8.49:1 AAA Lc 88.7 Fine for body text
#7B3166 text on black 2.47:1 Fails Lc -13.5 Not readable

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

  1. Step 50

    50

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F4E5EE

    oklch(93.6% 0.02 340.7)

  3. Step 200

    200

    #ECCFE1

    oklch(88.4% 0.04 340.3)

  4. Step 300

    300

    #E1AFCF

    oklch(80.9% 0.071 340.2)

  5. Step 400

    400

    #D083B7

    oklch(70.6% 0.115 339.9)

  6. Step 500

    500

    #C262A5

    oklch(63.1% 0.147 340)

  7. Step 600

    600

    #AD4790

    oklch(55.7% 0.158 340.1)

  8. Step 700

    700

    #94377B

    oklch(49.1% 0.148 339.6)

  9. Step 800

    800 (this color)

    #7B3166

    oklch(43.5% 0.122 340)

  10. Step 900

    900

    #612A51

    oklch(37.6% 0.095 339.9)

  11. Step 950

    950

    #391930

    oklch(26.9% 0.061 338.9)

Export this scale for Tailwind in the Tailwind colors tool

#7B3166 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)#3545680.129
Deuteranopia (no green cones)#4A51640.116
Tritanopia (no blue cones)#8233470.056
Achromatopsia (no color)#4D4D4D0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B3166

    #7B3166

    oklch(43.5% 0.122 340)

  • #00613E

    #00613E

    oklch(43.5% 0.098 160.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B3166

    #7B3166

    oklch(43.5% 0.122 340)

  • #663A83

    #663A83

    oklch(43.6% 0.123 310.1)

  • #862D42

    #862D42

    oklch(43.4% 0.122 9.5)

Open the analogous palette in the generator

Split complementary

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

  • #7B3166

    #7B3166

    oklch(43.5% 0.122 340)

  • #3B5D00

    #3B5D00

    oklch(43.5% 0.117 129.9)

  • #005E5A

    #005E5A

    oklch(43.5% 0.075 189.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B3166

    #7B3166

    oklch(43.5% 0.122 340)

  • #5D5200

    #5D5200

    oklch(43.6% 0.091 100.4)

  • #005B6F

    #005B6F

    oklch(43.6% 0.079 219.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B3166

    #7B3166

    oklch(43.5% 0.122 340)

  • #724600

    #724600

    oklch(43.5% 0.095 69.4)

  • #00613E

    #00613E

    oklch(43.5% 0.098 160.2)

  • #015391

    #015391

    oklch(43.5% 0.122 249.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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