#7C277E

Closest named color: Purple (#800080). oklch(43.7% 0.158 326.9), rgb(124, 39, 126).

Aa

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

About this color

#7C277E is a dark, vivid purple. In OKLCH its lightness is 44%, its chroma 0.158 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.039 away. White text reads best on it, at 8.57:1.

Hue familyPurples
Lightnessdark (44%)
Chromavivid (0.158)
Temperaturein between
Nearest namePurple (#800080)
Black text2.44:1
White text8.57:1

Values

HEX#7C277E
RGBrgb(124, 39, 126)
HSLhsl(299, 53%, 32%)
OKLCHoklch(43.7% 0.158 326.9)

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 #7C277E 8.57:1 AAA Lc -93.2 Preferred for body text
Black text on #7C277E 2.44:1 Fails Lc 15.4 Dividers and decoration only
#7C277E text on white 8.57:1 AAA Lc 88.6 Fine for body text
#7C277E text on black 2.44:1 Fails Lc -13.6 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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F4E4F3

    oklch(93.6% 0.026 327.7)

  3. Step 200

    200

    #ECCEEB

    oklch(88.5% 0.051 327)

  4. Step 300

    300

    #E1ACE0

    oklch(80.9% 0.092 327)

  5. Step 400

    400

    #D07DD0

    oklch(70.7% 0.148 327)

  6. Step 500

    500

    #C258C4

    oklch(63.2% 0.188 326.8)

  7. Step 600

    600

    #AD37B0

    oklch(55.5% 0.205 326.9)

  8. Step 700

    700

    #952897

    oklch(49.1% 0.191 327.2)

  9. Step 800

    800 (this color)

    #7C277E

    oklch(43.7% 0.158 326.9)

  10. Step 900

    900

    #622463

    oklch(37.8% 0.123 327)

  11. Step 950

    950

    #39163A

    oklch(26.9% 0.078 326.4)

Export this scale for Tailwind in the Tailwind colors tool

#7C277E 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)#1845810.165
Deuteranopia (no green cones)#3B507C0.141
Tritanopia (no blue cones)#80344F0.090
Achromatopsia (no color)#4C4C4C0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C277E

    #7C277E

    oklch(43.7% 0.158 326.9)

  • #006420

    #006420

    oklch(43.8% 0.131 146.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C277E

    #7C277E

    oklch(43.7% 0.158 326.9)

  • #5D369C

    #5D369C

    oklch(43.7% 0.158 296.9)

  • #8F1A53

    #8F1A53

    oklch(43.7% 0.158 356.9)

Open the analogous palette in the generator

Split complementary

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

  • #7C277E

    #7C277E

    oklch(43.7% 0.158 326.9)

  • #4E5800

    #4E5800

    oklch(43.6% 0.101 117.1)

  • #006051

    #006051

    oklch(43.7% 0.081 177.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C277E

    #7C277E

    oklch(43.7% 0.158 326.9)

  • #674E00

    #674E00

    oklch(43.8% 0.09 87.3)

  • #005D67

    #005D67

    oklch(43.7% 0.075 207.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C277E

    #7C277E

    oklch(43.7% 0.158 326.9)

  • #7C3F00

    #7C3F00

    oklch(43.6% 0.106 56.5)

  • #006420

    #006420

    oklch(43.8% 0.131 146.8)

  • #00587F

    #00587F

    oklch(43.6% 0.095 237.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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