#7C3168

Closest named color: Light Eggplant (#894585). oklch(43.8% 0.125 339.2), rgb(124, 49, 104).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.125)
Temperaturewarm
Nearest nameLight Eggplant (#894585)
Black text2.49:1
White text8.41:1

Values

HEX#7C3168
RGBrgb(124, 49, 104)
HSLhsl(316, 43%, 34%)
OKLCHoklch(43.8% 0.125 339.2)

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 #7C3168 8.41:1 AAA Lc -93.0 Preferred for body text
Black text on #7C3168 2.49:1 Fails Lc 15.6 Dividers and decoration only
#7C3168 text on white 8.41:1 AAA Lc 88.4 Fine for body text
#7C3168 text on black 2.49:1 Fails Lc -13.8 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

    #F4E5EE

    oklch(93.6% 0.02 340.7)

  3. Step 200

    200

    #ECCFE2

    oklch(88.4% 0.041 338.7)

  4. Step 300

    300

    #E1AFD0

    oklch(80.9% 0.072 339.3)

  5. Step 400

    400

    #D083B8

    oklch(70.7% 0.116 339.3)

  6. Step 500

    500

    #C261A7

    oklch(63% 0.15 338.9)

  7. Step 600

    600

    #AD4692

    oklch(55.6% 0.161 339.1)

  8. Step 700

    700

    #94367C

    oklch(49% 0.151 339)

  9. Step 800

    800 (this color)

    #7C3168

    oklch(43.8% 0.125 339.2)

  10. Step 900

    900

    #622A52

    oklch(37.8% 0.097 339.7)

  11. Step 950

    950

    #391930

    oklch(26.9% 0.061 338.9)

Export this scale for Tailwind in the Tailwind colors tool

#7C3168 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)#34466A0.133
Deuteranopia (no green cones)#4A52660.118
Tritanopia (no blue cones)#8333480.057
Achromatopsia (no color)#4D4D4D0.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C3168

    #7C3168

    oklch(43.8% 0.125 339.2)

  • #00623D

    #00623D

    oklch(43.7% 0.1 159.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C3168

    #7C3168

    oklch(43.8% 0.125 339.2)

  • #663A85

    #663A85

    oklch(43.7% 0.126 309.2)

  • #882D43

    #882D43

    oklch(43.8% 0.125 9.3)

Open the analogous palette in the generator

Split complementary

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

  • #7C3168

    #7C3168

    oklch(43.8% 0.125 339.2)

  • #3D5D00

    #3D5D00

    oklch(43.7% 0.116 129.1)

  • #005F5A

    #005F5A

    oklch(43.8% 0.076 188.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C3168

    #7C3168

    oklch(43.8% 0.125 339.2)

  • #5E5200

    #5E5200

    oklch(43.7% 0.091 99.5)

  • #005C6F

    #005C6F

    oklch(43.8% 0.079 218.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C3168

    #7C3168

    oklch(43.8% 0.125 339.2)

  • #734600

    #734600

    oklch(43.7% 0.095 68.7)

  • #00623D

    #00623D

    oklch(43.7% 0.1 159.1)

  • #005491

    #005491

    oklch(43.8% 0.121 249.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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