#7E054C

Closest named color: Red Purple (#820747). oklch(39.1% 0.158 353.3), rgb(126, 5, 76).

Aa

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

About this color

#7E054C is a dark, vivid red. In OKLCH its lightness is 39%, its chroma 0.158 and its hue 353°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.014 away. White text reads best on it, at 10.43:1.

Hue familyReds
Lightnessdark (39%)
Chromavivid (0.158)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.01:1
White text10.43:1

Values

HEX#7E054C
RGBrgb(126, 5, 76)
HSLhsl(325, 92%, 26%)
OKLCHoklch(39.1% 0.158 353.3)

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 #7E054C 10.43:1 AAA Lc -96.5 Preferred for body text
Black text on #7E054C 2.01:1 Fails Lc 11.7 Not readable
#7E054C text on white 10.43:1 AAA Lc 92.3 Preferred for body text
#7E054C text on black 2.01:1 Fails Lc -10.1 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 900.

  1. Step 50

    50

    #FFF1F6

    oklch(97.1% 0.016 353.6)

  2. Step 100

    100

    #FEE1EC

    oklch(93.7% 0.035 352.9)

  3. Step 200

    200

    #FDC8DD

    oklch(88.5% 0.066 352.8)

  4. Step 300

    300

    #FCA0C7

    oklch(80.9% 0.118 353.1)

  5. Step 400

    400

    #F565AA

    oklch(70.6% 0.189 353.2)

  6. Step 500

    500

    #EC2695

    oklch(63% 0.241 353.2)

  7. Step 600

    600

    #CD007E

    oklch(55.6% 0.229 353.3)

  8. Step 700

    700

    #AE006A

    oklch(49.2% 0.203 353.3)

  9. Step 800

    800

    #900057

    oklch(42.8% 0.177 353.3)

  10. Step 900

    900 (this color)

    #7E054C

    oklch(39.1% 0.158 353.3)

  11. Step 950

    950

    #48072A

    oklch(27% 0.1 353.7)

Export this scale for Tailwind in the Tailwind colors tool

#7E054C 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)#25324D0.180
Deuteranopia (no green cones)#46474A0.157
Tritanopia (no blue cones)#89002B0.060
Achromatopsia (no color)#4040400.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E054C

    #7E054C

    oklch(39.1% 0.158 353.3)

  • #005242

    #005242

    oklch(39.1% 0.075 173.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E054C

    #7E054C

    oklch(39.1% 0.158 353.3)

  • #6B1974

    #6B1974

    oklch(39.1% 0.158 323.6)

  • #860017

    #860017

    oklch(39.1% 0.158 23.2)

Open the analogous palette in the generator

Split complementary

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

  • #7E054C

    #7E054C

    oklch(39.1% 0.158 353.3)

  • #005506

    #005506

    oklch(39% 0.129 143.2)

  • #004F55

    #004F55

    oklch(39% 0.066 203.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E054C

    #7E054C

    oklch(39.1% 0.158 353.3)

  • #464A00

    #464A00

    oklch(39.2% 0.088 113.3)

  • #004C69

    #004C69

    oklch(39.2% 0.08 232.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E054C

    #7E054C

    oklch(39.1% 0.158 353.3)

  • #5A4100

    #5A4100

    oklch(39.2% 0.081 83.7)

  • #005242

    #005242

    oklch(39.1% 0.075 173.7)

  • #143C98

    #143C98

    oklch(39.2% 0.157 263.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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