#7C2D6B

Closest named color: Velvet (#750851). oklch(43.4% 0.133 337), rgb(124, 45, 107).

Aa

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

About this color

#7C2D6B is a dark, moderately saturated purple. In OKLCH its lightness is 43%, its chroma 0.133 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Velvet (#750851), ΔE 0.065 away. White text reads best on it, at 8.59:1.

Hue familyPurples
Lightnessdark (43%)
Chromamoderately saturated (0.133)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.44:1
White text8.59:1

Values

HEX#7C2D6B
RGBrgb(124, 45, 107)
HSLhsl(313, 47%, 33%)
OKLCHoklch(43.4% 0.133 337)

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 #7C2D6B 8.59:1 AAA Lc -93.4 Preferred for body text
Black text on #7C2D6B 2.44:1 Fails Lc 15.1 Dividers and decoration only
#7C2D6B text on white 8.59:1 AAA Lc 88.9 Fine for body text
#7C2D6B text on black 2.44:1 Fails Lc -13.4 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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E4EF

    oklch(93.5% 0.023 336.8)

  3. Step 200

    200

    #EDCFE4

    oklch(88.6% 0.043 336.8)

  4. Step 300

    300

    #E2AED3

    oklch(80.9% 0.077 337.1)

  5. Step 400

    400

    #D281BD

    oklch(70.7% 0.125 337.1)

  6. Step 500

    500

    #C45EAC

    oklch(63.1% 0.16 337.1)

  7. Step 600

    600

    #AF4197

    oklch(55.6% 0.174 337.2)

  8. Step 700

    700

    #963281

    oklch(49.1% 0.162 337.1)

  9. Step 800

    800 (this color)

    #7C2D6B

    oklch(43.4% 0.133 337)

  10. Step 900

    900

    #632855

    oklch(37.8% 0.104 337.6)

  11. Step 950

    950

    #3A1832

    oklch(27% 0.066 337)

Export this scale for Tailwind in the Tailwind colors tool

#7C2D6B 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)#2F446D0.141
Deuteranopia (no green cones)#4750690.124
Tritanopia (no blue cones)#8231470.065
Achromatopsia (no color)#4C4C4C0.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C2D6B

    #7C2D6B

    oklch(43.4% 0.133 337)

  • #006139

    #006139

    oklch(43.4% 0.103 157.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C2D6B

    #7C2D6B

    oklch(43.4% 0.133 337)

  • #643889

    #643889

    oklch(43.4% 0.133 306.7)

  • #892744

    #892744

    oklch(43.3% 0.134 6.9)

Open the analogous palette in the generator

Split complementary

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

  • #7C2D6B

    #7C2D6B

    oklch(43.4% 0.133 337)

  • #405B00

    #405B00

    oklch(43.3% 0.112 126.9)

  • #005E58

    #005E58

    oklch(43.4% 0.076 187.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C2D6B

    #7C2D6B

    oklch(43.4% 0.133 337)

  • #5F5000

    #5F5000

    oklch(43.3% 0.089 96.6)

  • #005B6D

    #005B6D

    oklch(43.5% 0.078 217.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C2D6B

    #7C2D6B

    oklch(43.4% 0.133 337)

  • #734500

    #734500

    oklch(43.5% 0.096 67.6)

  • #006139

    #006139

    oklch(43.4% 0.103 157.1)

  • #00548B

    #00548B

    oklch(43.4% 0.114 246.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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