#7B336C

Closest named color: Light Eggplant (#894585). oklch(44.1% 0.124 336.3), rgb(123, 51, 108).

Aa

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

About this color

#7B336C is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.124 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.060 away. White text reads best on it, at 8.29:1.

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.124)
Temperaturewarm
Nearest nameLight Eggplant (#894585)
Black text2.53:1
White text8.29:1

Values

HEX#7B336C
RGBrgb(123, 51, 108)
HSLhsl(312, 41%, 34%)
OKLCHoklch(44.1% 0.124 336.3)

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 #7B336C 8.29:1 AAA Lc -92.8 Preferred for body text
Black text on #7B336C 2.53:1 Fails Lc 15.9 Dividers and decoration only
#7B336C text on white 8.29:1 AAA Lc 88.1 Fine for body text
#7B336C text on black 2.53:1 Fails Lc -14.0 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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E5EF

    oklch(93.7% 0.021 337.7)

  3. Step 200

    200

    #EBD0E3

    oklch(88.6% 0.039 336.5)

  4. Step 300

    300

    #DFAFD2

    oklch(80.8% 0.072 336.2)

  5. Step 400

    400

    #CE84BC

    oklch(70.7% 0.116 336.1)

  6. Step 500

    500

    #BF63AB

    oklch(63.1% 0.147 336)

  7. Step 600

    600

    #AB4796

    oklch(55.7% 0.161 336.5)

  8. Step 700

    700

    #923880

    oklch(49.1% 0.149 336.2)

  9. Step 800

    800 (this color)

    #7B336C

    oklch(44.1% 0.124 336.3)

  10. Step 900

    900

    #602B55

    oklch(37.8% 0.096 335.8)

  11. Step 950

    950

    #391A32

    oklch(27.2% 0.061 336.2)

Export this scale for Tailwind in the Tailwind colors tool

#7B336C 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)#34476E0.129
Deuteranopia (no green cones)#49526A0.115
Tritanopia (no blue cones)#81364A0.061
Achromatopsia (no color)#4E4E4E0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B336C

    #7B336C

    oklch(44.1% 0.124 336.3)

  • #006339

    #006339

    oklch(43.9% 0.106 156.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B336C

    #7B336C

    oklch(44.1% 0.124 336.3)

  • #643D88

    #643D88

    oklch(44.1% 0.124 306)

  • #882E48

    #882E48

    oklch(44.1% 0.124 6.1)

Open the analogous palette in the generator

Split complementary

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

  • #7B336C

    #7B336C

    oklch(44.1% 0.124 336.3)

  • #435D00

    #435D00

    oklch(44.1% 0.112 126.2)

  • #006059

    #006059

    oklch(44% 0.077 186.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B336C

    #7B336C

    oklch(44.1% 0.124 336.3)

  • #625200

    #625200

    oklch(44.2% 0.091 96)

  • #005D6E

    #005D6E

    oklch(44.1% 0.078 215.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B336C

    #7B336C

    oklch(44.1% 0.124 336.3)

  • #764600

    #764600

    oklch(44.1% 0.098 66.7)

  • #006339

    #006339

    oklch(43.9% 0.106 156.4)

  • #00568D

    #00568D

    oklch(44% 0.114 246.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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