#7C1E8B

Closest named color: Purple (#800080). oklch(43.7% 0.18 321.7), rgb(124, 30, 139).

Aa

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

About this color

#7C1E8B is a dark, vivid purple. In OKLCH its lightness is 44%, its chroma 0.180 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.030 away. White text reads best on it, at 8.69:1.

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

Values

HEX#7C1E8B
RGBrgb(124, 30, 139)
HSLhsl(292, 64%, 33%)
OKLCHoklch(43.7% 0.18 321.7)

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 #7C1E8B 8.69:1 AAA Lc -93.2 Preferred for body text
Black text on #7C1E8B 2.41:1 Fails Lc 15.3 Dividers and decoration only
#7C1E8B text on white 8.69:1 AAA Lc 88.6 Fine for body text
#7C1E8B text on black 2.41:1 Fails Lc -13.5 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

    #F4E4F6

    oklch(93.7% 0.029 322.4)

  3. Step 200

    200

    #ECCDF1

    oklch(88.5% 0.059 321.6)

  4. Step 300

    300

    #E1AAE9

    oklch(80.9% 0.105 322.2)

  5. Step 400

    400

    #D079DE

    oklch(70.7% 0.168 321.9)

  6. Step 500

    500

    #C250D5

    oklch(63.1% 0.215 321.7)

  7. Step 600

    600

    #AD2AC2

    oklch(55.5% 0.233 321.6)

  8. Step 700

    700

    #9519A8

    oklch(49.2% 0.218 321.7)

  9. Step 800

    800 (this color)

    #7C1E8B

    oklch(43.7% 0.18 321.7)

  10. Step 900

    900

    #621E6D

    oklch(37.7% 0.141 321.8)

  11. Step 950

    950

    #391440

    oklch(27% 0.088 321)

Export this scale for Tailwind in the Tailwind colors tool

#7C1E8B 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)#00458E0.180
Deuteranopia (no green cones)#2D4F890.159
Tritanopia (no blue cones)#7D34540.108
Achromatopsia (no color)#4B4B4B0.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C1E8B

    #7C1E8B

    oklch(43.7% 0.18 321.7)

  • #0B6400

    #0B6400

    oklch(43.8% 0.146 141.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C1E8B

    #7C1E8B

    oklch(43.7% 0.18 321.7)

  • #5832AA

    #5832AA

    oklch(43.7% 0.18 291.7)

  • #93025C

    #93025C

    oklch(43.6% 0.18 351.8)

Open the analogous palette in the generator

Split complementary

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

  • #7C1E8B

    #7C1E8B

    oklch(43.7% 0.18 321.7)

  • #545600

    #545600

    oklch(43.7% 0.096 111.3)

  • #00614C

    #00614C

    oklch(43.9% 0.086 171.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C1E8B

    #7C1E8B

    oklch(43.7% 0.18 321.7)

  • #6B4C00

    #6B4C00

    oklch(43.9% 0.09 81.6)

  • #005E63

    #005E63

    oklch(43.8% 0.075 201.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C1E8B

    #7C1E8B

    oklch(43.7% 0.18 321.7)

  • #803C00

    #803C00

    oklch(43.7% 0.112 52.2)

  • #0B6400

    #0B6400

    oklch(43.8% 0.146 141.7)

  • #005A7A

    #005A7A

    oklch(43.9% 0.089 231.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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