#771B7D

Closest named color: Purple (#800080). oklch(41.8% 0.169 325.3), rgb(119, 27, 125).

Aa

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

About this color

#771B7D is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.169 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.026 away. White text reads best on it, at 9.38:1.

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.169)
Temperaturein between
Nearest namePurple (#800080)
Black text2.23:1
White text9.38:1

Values

HEX#771B7D
RGBrgb(119, 27, 125)
HSLhsl(296, 64%, 30%)
OKLCHoklch(41.8% 0.169 325.3)

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 #771B7D 9.38:1 AAA Lc -94.9 Preferred for body text
Black text on #771B7D 2.23:1 Fails Lc 13.4 Not readable
#771B7D text on white 9.38:1 AAA Lc 90.5 Preferred for body text
#771B7D text on black 2.23:1 Fails Lc -11.8 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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F4E4F5

    oklch(93.7% 0.028 324)

  3. Step 200

    200

    #EDCDED

    oklch(88.5% 0.055 326)

  4. Step 300

    300

    #E2ABE4

    oklch(81% 0.099 325.3)

  5. Step 400

    400

    #D17BD6

    oklch(70.7% 0.158 325.1)

  6. Step 500

    500

    #C453CA

    oklch(63.1% 0.202 325.6)

  7. Step 600

    600

    #AF30B7

    oklch(55.6% 0.22 325.4)

  8. Step 700

    700

    #96209E

    oklch(49.1% 0.205 325.2)

  9. Step 800

    800 (this color)

    #771B7D

    oklch(41.8% 0.169 325.3)

  10. Step 900

    900

    #622167

    oklch(37.7% 0.131 324.8)

  11. Step 950

    950

    #3A153C

    oklch(27.1% 0.083 325.5)

Export this scale for Tailwind in the Tailwind colors tool

#771B7D 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)#003F800.178
Deuteranopia (no green cones)#314A7B0.151
Tritanopia (no blue cones)#7A2D4B0.098
Achromatopsia (no color)#4646460.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #771B7D

    #771B7D

    oklch(41.8% 0.169 325.3)

  • #005E17

    #005E17

    oklch(41.9% 0.13 145.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #771B7D

    #771B7D

    oklch(41.8% 0.169 325.3)

  • #572D9C

    #572D9C

    oklch(41.7% 0.169 295.4)

  • #8B0450

    #8B0450

    oklch(41.7% 0.168 355.5)

Open the analogous palette in the generator

Split complementary

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

  • #771B7D

    #771B7D

    oklch(41.8% 0.169 325.3)

  • #4B5200

    #4B5200

    oklch(41.8% 0.095 115.3)

  • #005A4A

    #005A4A

    oklch(41.7% 0.079 175.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #771B7D

    #771B7D

    oklch(41.8% 0.169 325.3)

  • #624800

    #624800

    oklch(41.8% 0.086 84.9)

  • #00575F

    #00575F

    oklch(41.7% 0.071 205.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #771B7D

    #771B7D

    oklch(41.8% 0.169 325.3)

  • #763A00

    #763A00

    oklch(41.8% 0.104 55)

  • #005E17

    #005E17

    oklch(41.9% 0.13 145.4)

  • #005376

    #005376

    oklch(41.8% 0.089 235.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #771B7D 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.