#7F214E

Closest named color: Red Purple (#820747). oklch(41.2% 0.135 355.5), rgb(127, 33, 78).

Aa

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

About this color

#7F214E is a dark, moderately saturated red. In OKLCH its lightness is 41%, its chroma 0.135 and its hue 355°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.027 away. White text reads best on it, at 9.41:1.

Hue familyReds
Lightnessdark (41%)
Chromamoderately saturated (0.135)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.22:1
White text9.41:1

Values

HEX#7F214E
RGBrgb(127, 33, 78)
HSLhsl(331, 59%, 31%)
OKLCHoklch(41.2% 0.135 355.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 #7F214E 9.41:1 AAA Lc -95.2 Preferred for body text
Black text on #7F214E 2.22:1 Fails Lc 13.2 Not readable
#7F214E text on white 9.41:1 AAA Lc 90.8 Preferred for body text
#7F214E text on black 2.22:1 Fails Lc -11.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

    #FCF3F6

    oklch(97.2% 0.01 354.9)

  2. Step 100

    100

    #F7E4EA

    oklch(93.6% 0.022 356.3)

  3. Step 200

    200

    #F2CEDA

    oklch(88.5% 0.043 356)

  4. Step 300

    300

    #EBACC3

    oklch(81% 0.079 355.3)

  5. Step 400

    400

    #DE7EA4

    oklch(70.8% 0.126 355.6)

  6. Step 500

    500

    #D1598D

    oklch(63% 0.161 355.6)

  7. Step 600

    600

    #BD3A77

    oklch(55.7% 0.176 355.8)

  8. Step 700

    700

    #A22B64

    oklch(49.1% 0.163 355.7)

  9. Step 800

    800 (this color)

    #7F214E

    oklch(41.2% 0.135 355.5)

  10. Step 900

    900

    #6A2544

    oklch(37.7% 0.104 355.4)

  11. Step 950

    950

    #3F1628

    oklch(27% 0.068 355.2)

Export this scale for Tailwind in the Tailwind colors tool

#7F214E 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)#333B4F0.150
Deuteranopia (no green cones)#4D4D4C0.136
Tritanopia (no blue cones)#8917340.045
Achromatopsia (no color)#4646460.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F214E

    #7F214E

    oklch(41.2% 0.135 355.5)

  • #005849

    #005849

    oklch(41.1% 0.077 175.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F214E

    #7F214E

    oklch(41.2% 0.135 355.5)

  • #6E2A72

    #6E2A72

    oklch(41.3% 0.135 325.4)

  • #852221

    #852221

    oklch(41.3% 0.134 25.8)

Open the analogous palette in the generator

Split complementary

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

  • #7F214E

    #7F214E

    oklch(41.2% 0.135 355.5)

  • #005C17

    #005C17

    oklch(41.3% 0.128 145.5)

  • #00565D

    #00565D

    oklch(41.3% 0.07 204.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F214E

    #7F214E

    oklch(41.2% 0.135 355.5)

  • #495100

    #495100

    oklch(41.3% 0.095 116.1)

  • #005174

    #005174

    oklch(41.1% 0.089 236.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F214E

    #7F214E

    oklch(41.2% 0.135 355.5)

  • #604700

    #604700

    oklch(41.4% 0.085 85.5)

  • #005849

    #005849

    oklch(41.1% 0.077 175.9)

  • #274493

    #274493

    oklch(41.2% 0.135 265.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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