#781F6A

Closest named color: Rich Purple (#720058). oklch(41.2% 0.15 335.1), rgb(120, 31, 106).

Aa

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

About this color

#781F6A is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.150 and its hue 335°. Its hue sits on the warm side of the wheel. The nearest named color is Rich Purple (#720058), ΔE 0.045 away. White text reads best on it, at 9.53:1.

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.150)
Temperaturewarm
Nearest nameRich Purple (#720058)
Black text2.20:1
White text9.53:1

Values

HEX#781F6A
RGBrgb(120, 31, 106)
HSLhsl(309, 59%, 30%)
OKLCHoklch(41.2% 0.15 335.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 #781F6A 9.53:1 AAA Lc -95.4 Preferred for body text
Black text on #781F6A 2.20:1 Fails Lc 12.9 Not readable
#781F6A text on white 9.53:1 AAA Lc 91.1 Preferred for body text
#781F6A text on black 2.20:1 Fails Lc -11.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

    #FBF3F9

    oklch(97.2% 0.012 334.1)

  2. Step 100

    100

    #F5E4F1

    oklch(93.6% 0.025 333.7)

  3. Step 200

    200

    #EECEE6

    oklch(88.5% 0.048 334.8)

  4. Step 300

    300

    #E5ACD7

    oklch(81% 0.087 335.4)

  5. Step 400

    400

    #D57DC3

    oklch(70.7% 0.14 334.9)

  6. Step 500

    500

    #C858B3

    oklch(63.1% 0.178 335.3)

  7. Step 600

    600

    #B3389F

    oklch(55.6% 0.194 335.1)

  8. Step 700

    700

    #9A2988

    oklch(49.2% 0.181 335.2)

  9. Step 800

    800 (this color)

    #781F6A

    oklch(41.2% 0.15 335.1)

  10. Step 900

    900

    #65245A

    oklch(37.8% 0.117 334.8)

  11. Step 950

    950

    #3B1634

    oklch(26.9% 0.073 335.2)

Export this scale for Tailwind in the Tailwind colors tool

#781F6A 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)#1F3D6C0.162
Deuteranopia (no green cones)#3E4A680.139
Tritanopia (no blue cones)#7E26420.075
Achromatopsia (no color)#4545450.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #781F6A

    #781F6A

    oklch(41.2% 0.15 335.1)

  • #005A31

    #005A31

    oklch(41.1% 0.101 155.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #781F6A

    #781F6A

    oklch(41.2% 0.15 335.1)

  • #5E2D8A

    #5E2D8A

    oklch(41.1% 0.149 304.9)

  • #871440

    #871440

    oklch(41.2% 0.15 4.8)

Open the analogous palette in the generator

Split complementary

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

  • #781F6A

    #781F6A

    oklch(41.2% 0.15 335.1)

  • #3E5400

    #3E5400

    oklch(41.2% 0.104 125.1)

  • #005750

    #005750

    oklch(41.1% 0.072 185.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #781F6A

    #781F6A

    oklch(41.2% 0.15 335.1)

  • #594A00

    #594A00

    oklch(41.2% 0.085 95.7)

  • #005463

    #005463

    oklch(41% 0.073 215.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #781F6A

    #781F6A

    oklch(41.2% 0.15 335.1)

  • #6C3E00

    #6C3E00

    oklch(41.1% 0.092 64.8)

  • #005A31

    #005A31

    oklch(41.1% 0.101 155.1)

  • #004F7F

    #004F7F

    oklch(41.3% 0.104 244.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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