#7F215F

Closest named color: Red Purple (#820747). oklch(42% 0.144 344.7), rgb(127, 33, 95).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.144)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.28:1
White text9.18:1

Values

HEX#7F215F
RGBrgb(127, 33, 95)
HSLhsl(320, 59%, 31%)
OKLCHoklch(42% 0.144 344.7)

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 #7F215F 9.18:1 AAA Lc -94.6 Preferred for body text
Black text on #7F215F 2.28:1 Fails Lc 13.8 Not readable
#7F215F text on white 9.18:1 AAA Lc 90.2 Preferred for body text
#7F215F text on black 2.28:1 Fails Lc -12.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 800.

  1. Step 50

    50

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F7E4EE

    oklch(93.7% 0.024 344.4)

  3. Step 200

    200

    #F1CDE0

    oklch(88.4% 0.047 345)

  4. Step 300

    300

    #E9ABCD

    oklch(80.9% 0.084 345.1)

  5. Step 400

    400

    #DB7CB4

    oklch(70.7% 0.135 344.8)

  6. Step 500

    500

    #CE57A2

    oklch(63.1% 0.172 344.4)

  7. Step 600

    600

    #B9378C

    oklch(55.5% 0.187 344.8)

  8. Step 700

    700

    #9F2877

    oklch(49.1% 0.174 344.7)

  9. Step 800

    800 (this color)

    #7F215F

    oklch(42% 0.144 344.7)

  10. Step 900

    900

    #68234F

    oklch(37.6% 0.112 344.6)

  11. Step 950

    950

    #3D162E

    oklch(26.9% 0.07 344.9)

Export this scale for Tailwind in the Tailwind colors tool

#7F215F 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)#2C3E610.159
Deuteranopia (no green cones)#484D5D0.139
Tritanopia (no blue cones)#88203D0.061
Achromatopsia (no color)#4848480.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F215F

    #7F215F

    oklch(42% 0.144 344.7)

  • #005C40

    #005C40

    oklch(42% 0.089 164.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F215F

    #7F215F

    oklch(42% 0.144 344.7)

  • #692D82

    #692D82

    oklch(42% 0.144 314.5)

  • #8A1C33

    #8A1C33

    oklch(42% 0.144 14.8)

Open the analogous palette in the generator

Split complementary

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

  • #7F215F

    #7F215F

    oklch(42% 0.144 344.7)

  • #2D5A00

    #2D5A00

    oklch(41.9% 0.121 134.6)

  • #005959

    #005959

    oklch(42% 0.072 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F215F

    #7F215F

    oklch(42% 0.144 344.7)

  • #554F00

    #554F00

    oklch(42% 0.089 104.6)

  • #00556D

    #00556D

    oklch(41.8% 0.079 225.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F215F

    #7F215F

    oklch(42% 0.144 344.7)

  • #694400

    #694400

    oklch(41.9% 0.089 74)

  • #005C40

    #005C40

    oklch(42% 0.089 164.2)

  • #004B95

    #004B95

    oklch(41.9% 0.138 254.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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