#772D8C

Closest named color: Rebecca Purple (#663399). oklch(44.6% 0.161 318), rgb(119, 45, 140).

Aa

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

About this color

#772D8C is a dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.161 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.041 away. White text reads best on it, at 8.27:1.

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.161)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.53:1
White text8.27:1

Values

HEX#772D8C
RGBrgb(119, 45, 140)
HSLhsl(287, 51%, 36%)
OKLCHoklch(44.6% 0.161 318)

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 #772D8C 8.27:1 AAA Lc -92.5 Preferred for body text
Black text on #772D8C 2.53:1 Fails Lc 16.1 Dividers and decoration only
#772D8C text on white 8.27:1 AAA Lc 87.9 Fine for body text
#772D8C text on black 2.53:1 Fails Lc -14.3 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E5F6

    oklch(93.7% 0.027 318.2)

  3. Step 200

    200

    #E8CFF0

    oklch(88.5% 0.052 317.9)

  4. Step 300

    300

    #DAAEE8

    oklch(80.9% 0.093 317.9)

  5. Step 400

    400

    #C780DD

    oklch(70.7% 0.151 317.9)

  6. Step 500

    500

    #B85BD3

    oklch(63.1% 0.193 318.1)

  7. Step 600

    600

    #A33CC0

    oklch(55.6% 0.209 317.9)

  8. Step 700

    700

    #8C2CA6

    oklch(49.1% 0.195 318.1)

  9. Step 800

    800 (this color)

    #772D8C

    oklch(44.6% 0.161 318)

  10. Step 900

    900

    #5C266C

    oklch(37.8% 0.126 317.8)

  11. Step 950

    950

    #36173F

    oklch(27% 0.08 318.1)

Export this scale for Tailwind in the Tailwind colors tool

#772D8C 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)#074A8F0.158
Deuteranopia (no green cones)#31518A0.135
Tritanopia (no blue cones)#763E580.102
Achromatopsia (no color)#4E4E4E0.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #772D8C

    #772D8C

    oklch(44.6% 0.161 318)

  • #266400

    #266400

    oklch(44.5% 0.137 137.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #772D8C

    #772D8C

    oklch(44.6% 0.161 318)

  • #543DA6

    #543DA6

    oklch(44.6% 0.161 288.2)

  • #8E1F63

    #8E1F63

    oklch(44.5% 0.16 348.2)

Open the analogous palette in the generator

Split complementary

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

  • #772D8C

    #772D8C

    oklch(44.6% 0.161 318)

  • #5A5700

    #5A5700

    oklch(44.5% 0.096 107.4)

  • #00644A

    #00644A

    oklch(44.7% 0.091 167.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #772D8C

    #772D8C

    oklch(44.6% 0.161 318)

  • #704C00

    #704C00

    oklch(44.5% 0.093 77.5)

  • #006163

    #006163

    oklch(44.7% 0.076 197.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #772D8C

    #772D8C

    oklch(44.6% 0.161 318)

  • #873A00

    #873A00

    oklch(44.5% 0.121 48.2)

  • #266400

    #266400

    oklch(44.5% 0.137 137.9)

  • #005D7A

    #005D7A

    oklch(44.7% 0.087 227.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #772D8C 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.