#7B2A5E

Closest named color: Red Purple (#820747). oklch(42.2% 0.128 344.5), rgb(123, 42, 94).

Aa

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

About this color

#7B2A5E is a dark, moderately saturated purple. In OKLCH its lightness is 42%, its chroma 0.128 and its hue 345°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.050 away. White text reads best on it, at 8.99:1.

Hue familyPurples
Lightnessdark (42%)
Chromamoderately saturated (0.128)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.33:1
White text8.99:1

Values

HEX#7B2A5E
RGBrgb(123, 42, 94)
HSLhsl(321, 49%, 32%)
OKLCHoklch(42.2% 0.128 344.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 #7B2A5E 8.99:1 AAA Lc -94.4 Preferred for body text
Black text on #7B2A5E 2.33:1 Fails Lc 14.0 Not readable
#7B2A5E text on white 8.99:1 AAA Lc 89.9 Fine for body text
#7B2A5E text on black 2.33:1 Fails Lc -12.3 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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F5E4ED

    oklch(93.5% 0.022 344.2)

  3. Step 200

    200

    #EECFE0

    oklch(88.5% 0.041 343.8)

  4. Step 300

    300

    #E4AECC

    oklch(80.9% 0.074 344.4)

  5. Step 400

    400

    #D581B2

    oklch(70.7% 0.12 344.7)

  6. Step 500

    500

    #C75F9F

    oklch(63.1% 0.152 344.5)

  7. Step 600

    600

    #B2428A

    oklch(55.5% 0.166 344.3)

  8. Step 700

    700

    #993375

    oklch(49.1% 0.154 344.5)

  9. Step 800

    800 (this color)

    #7B2A5E

    oklch(42.2% 0.128 344.5)

  10. Step 900

    900

    #65284E

    oklch(37.7% 0.1 344.7)

  11. Step 950

    950

    #3B182E

    oklch(26.9% 0.064 343.7)

Export this scale for Tailwind in the Tailwind colors tool

#7B2A5E 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)#3240600.138
Deuteranopia (no green cones)#494E5C0.124
Tritanopia (no blue cones)#8329400.053
Achromatopsia (no color)#4949490.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B2A5E

    #7B2A5E

    oklch(42.2% 0.128 344.5)

  • #005D41

    #005D41

    oklch(42.4% 0.09 164.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B2A5E

    #7B2A5E

    oklch(42.2% 0.128 344.5)

  • #67337D

    #67337D

    oklch(42.2% 0.128 314.7)

  • #852737

    #852737

    oklch(42.3% 0.128 14.7)

Open the analogous palette in the generator

Split complementary

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

  • #7B2A5E

    #7B2A5E

    oklch(42.2% 0.128 344.5)

  • #2E5B00

    #2E5B00

    oklch(42.2% 0.122 134.4)

  • #005A5A

    #005A5A

    oklch(42.3% 0.072 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B2A5E

    #7B2A5E

    oklch(42.2% 0.128 344.5)

  • #565000

    #565000

    oklch(42.4% 0.09 104.6)

  • #00566E

    #00566E

    oklch(42.1% 0.08 224.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B2A5E

    #7B2A5E

    oklch(42.2% 0.128 344.5)

  • #6A4500

    #6A4500

    oklch(42.2% 0.089 74.3)

  • #005D41

    #005D41

    oklch(42.4% 0.09 164.4)

  • #0C4D91

    #0C4D91

    oklch(42.2% 0.128 254.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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