#7C138A

Closest named color: Purple (#800080). oklch(42.9% 0.189 322.5), rgb(124, 19, 138).

Aa

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

About this color

#7C138A is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.189 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.022 away. White text reads best on it, at 9.06:1.

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

Values

HEX#7C138A
RGBrgb(124, 19, 138)
HSLhsl(293, 76%, 31%)
OKLCHoklch(42.9% 0.189 322.5)

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 #7C138A 9.06:1 AAA Lc -93.9 Preferred for body text
Black text on #7C138A 2.31:1 Fails Lc 14.6 Not readable
#7C138A text on white 9.06:1 AAA Lc 89.3 Fine for body text
#7C138A 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

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F5E3F7

    oklch(93.6% 0.033 322.8)

  3. Step 200

    200

    #EDCCF1

    oklch(88.4% 0.061 322.6)

  4. Step 300

    300

    #E3A9EB

    oklch(81% 0.11 322.4)

  5. Step 400

    400

    #D376E0

    oklch(70.7% 0.177 322.6)

  6. Step 500

    500

    #C64BD7

    oklch(63.2% 0.225 322.6)

  7. Step 600

    600

    #B11FC4

    oklch(55.6% 0.245 322.6)

  8. Step 700

    700

    #9809AA

    oklch(49.2% 0.228 322.4)

  9. Step 800

    800 (this color)

    #7C138A

    oklch(42.9% 0.189 322.5)

  10. Step 900

    900

    #641B6E

    oklch(37.8% 0.147 322.6)

  11. Step 950

    950

    #3B1240

    oklch(27.1% 0.093 323.2)

Export this scale for Tailwind in the Tailwind colors tool

#7C138A 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)#00418D0.186
Deuteranopia (no green cones)#294C870.168
Tritanopia (no blue cones)#7E2E510.112
Achromatopsia (no color)#4949490.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C138A

    #7C138A

    oklch(42.9% 0.189 322.5)

  • #016200

    #016200

    oklch(43% 0.146 142.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C138A

    #7C138A

    oklch(42.9% 0.189 322.5)

  • #582BAB

    #582BAB

    oklch(42.9% 0.189 292.6)

  • #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°).

  • #7C138A

    #7C138A

    oklch(42.9% 0.189 322.5)

  • #515400

    #515400

    oklch(42.9% 0.095 112.1)

  • #005E4B

    #005E4B

    oklch(43% 0.083 172.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C138A

    #7C138A

    oklch(42.9% 0.189 322.5)

  • #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.

  • #7C138A

    #7C138A

    oklch(42.9% 0.189 322.5)

  • #7C3A00

    #7C3A00

    oklch(42.8% 0.11 52.3)

  • #016200

    #016200

    oklch(43% 0.146 142.4)

  • #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 #7C138A, closest first.

Similar named colors

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

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