#781B78

Closest named color: Purple (#800080). oklch(41.6% 0.165 328.1), rgb(120, 27, 120).

Aa

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

About this color

#781B78 is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.165 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.028 away. White text reads best on it, at 9.43:1.

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.165)
Temperaturein between
Nearest namePurple (#800080)
Black text2.22:1
White text9.43:1

Values

HEX#781B78
RGBrgb(120, 27, 120)
HSLhsl(300, 63%, 29%)
OKLCHoklch(41.6% 0.165 328.1)

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 #781B78 9.43:1 AAA Lc -95.1 Preferred for body text
Black text on #781B78 2.22:1 Fails Lc 13.3 Not readable
#781B78 text on white 9.43:1 AAA Lc 90.6 Preferred for body text
#781B78 text on black 2.22:1 Fails Lc -11.7 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

    #FBF3FA

    oklch(97.2% 0.013 329.6)

  2. Step 100

    100

    #F5E4F3

    oklch(93.7% 0.027 329.5)

  3. Step 200

    200

    #EDCDEB

    oklch(88.4% 0.053 328)

  4. Step 300

    300

    #E3ABE0

    oklch(81% 0.095 328.2)

  5. Step 400

    400

    #D37BD1

    oklch(70.7% 0.154 327.9)

  6. Step 500

    500

    #C653C4

    oklch(63.1% 0.198 328.3)

  7. Step 600

    600

    #B131B1

    oklch(55.6% 0.215 328)

  8. Step 700

    700

    #982198

    oklch(49.1% 0.2 328.1)

  9. Step 800

    800 (this color)

    #781B78

    oklch(41.6% 0.165 328.1)

  10. Step 900

    900

    #642163

    oklch(37.8% 0.129 328.4)

  11. Step 950

    950

    #3B153A

    oklch(27.1% 0.081 328.6)

Export this scale for Tailwind in the Tailwind colors tool

#781B78 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)#053E7A0.179
Deuteranopia (no green cones)#354A760.149
Tritanopia (no blue cones)#7C2A480.093
Achromatopsia (no color)#4646460.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #781B78

    #781B78

    oklch(41.6% 0.165 328.1)

  • #005D21

    #005D21

    oklch(41.7% 0.121 147.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #781B78

    #781B78

    oklch(41.6% 0.165 328.1)

  • #5A2D98

    #5A2D98

    oklch(41.7% 0.165 298.1)

  • #8B064C

    #8B064C

    oklch(41.6% 0.166 357.8)

Open the analogous palette in the generator

Split complementary

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

  • #781B78

    #781B78

    oklch(41.6% 0.165 328.1)

  • #485300

    #485300

    oklch(41.8% 0.097 118.2)

  • #00594C

    #00594C

    oklch(41.5% 0.076 178.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #781B78

    #781B78

    oklch(41.6% 0.165 328.1)

  • #5F4900

    #5F4900

    oklch(41.7% 0.085 88.8)

  • #005760

    #005760

    oklch(41.7% 0.072 206.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #781B78

    #781B78

    oklch(41.6% 0.165 328.1)

  • #733C00

    #733C00

    oklch(41.7% 0.099 58.4)

  • #005D21

    #005D21

    oklch(41.7% 0.121 147.9)

  • #005278

    #005278

    oklch(41.6% 0.092 238)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #781B78 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.