#7B1771

Closest named color: Purple (#800080). oklch(41.4% 0.166 332.8), rgb(123, 23, 113).

Aa

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

About this color

#7B1771 is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.166 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.032 away. White text reads best on it, at 9.53:1.

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.166)
Temperaturein between
Nearest namePurple (#800080)
Black text2.20:1
White text9.53:1

Values

HEX#7B1771
RGBrgb(123, 23, 113)
HSLhsl(306, 68%, 29%)
OKLCHoklch(41.4% 0.166 332.8)

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 #7B1771 9.53:1 AAA Lc -95.2 Preferred for body text
Black text on #7B1771 2.20:1 Fails Lc 13.2 Not readable
#7B1771 text on white 9.53:1 AAA Lc 90.8 Preferred for body text
#7B1771 text on black 2.20:1 Fails Lc -11.6 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

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E3F2

    oklch(93.5% 0.029 332.8)

  3. Step 200

    200

    #F0CDE9

    oklch(88.6% 0.054 332.9)

  4. Step 300

    300

    #E7AADC

    oklch(81% 0.096 332.9)

  5. Step 400

    400

    #D879CA

    oklch(70.7% 0.155 332.7)

  6. Step 500

    500

    #CB51BC

    oklch(63.1% 0.197 332.7)

  7. Step 600

    600

    #B62DA8

    oklch(55.6% 0.215 332.7)

  8. Step 700

    700

    #9D1D90

    oklch(49.2% 0.2 333)

  9. Step 800

    800 (this color)

    #7B1771

    oklch(41.4% 0.166 332.8)

  10. Step 900

    900

    #671F5E

    oklch(37.7% 0.129 333.2)

  11. Step 950

    950

    #3C1437

    oklch(26.9% 0.081 332.7)

Export this scale for Tailwind in the Tailwind colors tool

#7B1771 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)#103C730.183
Deuteranopia (no green cones)#3A4A6F0.152
Tritanopia (no blue cones)#8123440.085
Achromatopsia (no color)#4545450.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B1771

    #7B1771

    oklch(41.4% 0.166 332.8)

  • #005B2D

    #005B2D

    oklch(41.3% 0.107 152.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B1771

    #7B1771

    oklch(41.4% 0.166 332.8)

  • #5F2993

    #5F2993

    oklch(41.4% 0.165 303.1)

  • #8C0243

    #8C0243

    oklch(41.4% 0.166 2.8)

Open the analogous palette in the generator

Split complementary

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

  • #7B1771

    #7B1771

    oklch(41.4% 0.166 332.8)

  • #425400

    #425400

    oklch(41.5% 0.102 122.7)

  • #00584F

    #00584F

    oklch(41.3% 0.074 183)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B1771

    #7B1771

    oklch(41.4% 0.166 332.8)

  • #5B4900

    #5B4900

    oklch(41.2% 0.084 92.6)

  • #005563

    #005563

    oklch(41.3% 0.073 213.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B1771

    #7B1771

    oklch(41.4% 0.166 332.8)

  • #6F3E00

    #6F3E00

    oklch(41.5% 0.095 62.9)

  • #005B2D

    #005B2D

    oklch(41.3% 0.107 152.8)

  • #00507D

    #00507D

    oklch(41.4% 0.1 243)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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