#7F2C6A

Closest named color: Mulberry (#920A4E). oklch(43.7% 0.136 339), rgb(127, 44, 106).

Aa

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

About this color

#7F2C6A is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.136 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Mulberry (#920A4E), ΔE 0.063 away. White text reads best on it, at 8.49:1.

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.136)
Temperaturewarm
Nearest nameMulberry (#920A4E)
Black text2.47:1
White text8.49:1

Values

HEX#7F2C6A
RGBrgb(127, 44, 106)
HSLhsl(315, 49%, 34%)
OKLCHoklch(43.7% 0.136 339)

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 #7F2C6A 8.49:1 AAA Lc -93.1 Preferred for body text
Black text on #7F2C6A 2.47:1 Fails Lc 15.5 Dividers and decoration only
#7F2C6A text on white 8.49:1 AAA Lc 88.5 Fine for body text
#7F2C6A text on black 2.47:1 Fails Lc -13.7 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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F5E4EF

    oklch(93.6% 0.023 338.6)

  3. Step 200

    200

    #EECEE3

    oklch(88.4% 0.045 338.7)

  4. Step 300

    300

    #E4ADD2

    oklch(80.9% 0.08 338.9)

  5. Step 400

    400

    #D480BB

    oklch(70.7% 0.127 338.9)

  6. Step 500

    500

    #C75CAA

    oklch(63.1% 0.164 339)

  7. Step 600

    600

    #B23F95

    oklch(55.7% 0.177 339.1)

  8. Step 700

    700

    #98307F

    oklch(49.1% 0.164 338.8)

  9. Step 800

    800 (this color)

    #7F2C6A

    oklch(43.7% 0.136 339)

  10. Step 900

    900

    #642754

    oklch(37.7% 0.106 338.9)

  11. Step 950

    950

    #3B1831

    oklch(27.1% 0.066 339.4)

Export this scale for Tailwind in the Tailwind colors tool

#7F2C6A 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)#30446C0.146
Deuteranopia (no green cones)#4951680.128
Tritanopia (no blue cones)#862F470.063
Achromatopsia (no color)#4D4D4D0.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F2C6A

    #7F2C6A

    oklch(43.7% 0.136 339)

  • #00623D

    #00623D

    oklch(43.7% 0.1 159.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F2C6A

    #7F2C6A

    oklch(43.7% 0.136 339)

  • #683789

    #683789

    oklch(43.7% 0.136 309.5)

  • #8C2742

    #8C2742

    oklch(43.8% 0.136 8.9)

Open the analogous palette in the generator

Split complementary

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

  • #7F2C6A

    #7F2C6A

    oklch(43.7% 0.136 339)

  • #3D5D00

    #3D5D00

    oklch(43.7% 0.116 129.1)

  • #005F5A

    #005F5A

    oklch(43.8% 0.076 188.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F2C6A

    #7F2C6A

    oklch(43.7% 0.136 339)

  • #5E5200

    #5E5200

    oklch(43.7% 0.091 99.5)

  • #005B6F

    #005B6F

    oklch(43.6% 0.079 219.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F2C6A

    #7F2C6A

    oklch(43.7% 0.136 339)

  • #734600

    #734600

    oklch(43.7% 0.095 68.7)

  • #00623D

    #00623D

    oklch(43.7% 0.1 159.1)

  • #005490

    #005490

    oklch(43.7% 0.12 248.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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