#7C128B

Closest named color: Purple (#800080). oklch(42.9% 0.19 322.1), rgb(124, 18, 139).

Aa

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

About this color

#7C128B is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.190 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.023 away. White text reads best on it, at 9.06:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.190)
Temperaturein between
Nearest namePurple (#800080)
Black text2.31:1
White text9.06:1

Values

HEX#7C128B
RGBrgb(124, 18, 139)
HSLhsl(293, 77%, 31%)
OKLCHoklch(42.9% 0.19 322.1)

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 #7C128B 9.06:1 AAA Lc -93.8 Preferred for body text
Black text on #7C128B 2.31:1 Fails Lc 14.7 Not readable
#7C128B text on white 9.06:1 AAA Lc 89.3 Fine for body text
#7C128B text on black 2.31:1 Fails Lc -12.9 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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F5E3F7

    oklch(93.6% 0.033 322.8)

  3. Step 200

    200

    #EDCCF2

    oklch(88.5% 0.062 321.8)

  4. Step 300

    300

    #E3A8EB

    oklch(80.8% 0.112 322.4)

  5. Step 400

    400

    #D376E1

    oklch(70.7% 0.178 322.2)

  6. Step 500

    500

    #C54AD8

    oklch(63% 0.227 322.1)

  7. Step 600

    600

    #B11EC6

    oklch(55.7% 0.247 322)

  8. Step 700

    700

    #9806AB

    oklch(49.1% 0.23 322.1)

  9. Step 800

    800 (this color)

    #7C128B

    oklch(42.9% 0.19 322.1)

  10. Step 900

    900

    #641A6F

    oklch(37.8% 0.149 322.2)

  11. Step 950

    950

    #3B1241

    oklch(27.1% 0.094 322.4)

Export this scale for Tailwind in the Tailwind colors tool

#7C128B 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)#00418E0.186
Deuteranopia (no green cones)#274C880.170
Tritanopia (no blue cones)#7D2F520.113
Achromatopsia (no color)#4949490.192

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C128B

    #7C128B

    oklch(42.9% 0.19 322.1)

  • #056200

    #056200

    oklch(43.1% 0.145 142.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C128B

    #7C128B

    oklch(42.9% 0.19 322.1)

  • #572BAC

    #572BAC

    oklch(42.9% 0.19 291.9)

  • #900059

    #900059

    oklch(42.9% 0.178 352.2)

Open the analogous palette in the generator

Split complementary

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

  • #7C128B

    #7C128B

    oklch(42.9% 0.19 322.1)

  • #515400

    #515400

    oklch(42.9% 0.095 112.1)

  • #005E4A

    #005E4A

    oklch(42.9% 0.083 171.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C128B

    #7C128B

    oklch(42.9% 0.19 322.1)

  • #674A00

    #674A00

    oklch(42.9% 0.088 82.7)

  • #005B61

    #005B61

    oklch(42.9% 0.073 202.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C128B

    #7C128B

    oklch(42.9% 0.19 322.1)

  • #7D3A00

    #7D3A00

    oklch(42.9% 0.111 51.9)

  • #056200

    #056200

    oklch(43.1% 0.145 142.1)

  • #005777

    #005777

    oklch(42.9% 0.088 232)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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