#781266

Closest named color: Rich Purple (#720058). oklch(39.9% 0.16 336.9), rgb(120, 18, 102).

Aa

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

About this color

#781266 is a dark, vivid purple. In OKLCH its lightness is 40%, its chroma 0.160 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Rich Purple (#720058), ΔE 0.030 away. White text reads best on it, at 10.11:1.

Hue familyPurples
Lightnessdark (40%)
Chromavivid (0.160)
Temperaturewarm
Nearest nameRich Purple (#720058)
Black text2.07:1
White text10.11:1

Values

HEX#781266
RGBrgb(120, 18, 102)
HSLhsl(311, 74%, 27%)
OKLCHoklch(39.9% 0.16 336.9)

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 #781266 10.11:1 AAA Lc -96.3 Preferred for body text
Black text on #781266 2.07:1 Fails Lc 11.9 Not readable
#781266 text on white 10.11:1 AAA Lc 92.1 Preferred for body text
#781266 text on black 2.07:1 Fails Lc -10.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 900.

  1. Step 50

    50

    #FDF2F9

    oklch(97.2% 0.015 338.9)

  2. Step 100

    100

    #FAE1F2

    oklch(93.5% 0.035 337.4)

  3. Step 200

    200

    #F7C9E9

    oklch(88.5% 0.066 337.4)

  4. Step 300

    300

    #F2A2DD

    oklch(80.8% 0.12 336.8)

  5. Step 400

    400

    #E86ACC

    oklch(70.8% 0.192 336.8)

  6. Step 500

    500

    #DD32BE

    oklch(63.1% 0.245 336.8)

  7. Step 600

    600

    #C300A6

    oklch(55.7% 0.245 336.9)

  8. Step 700

    700

    #A5008C

    oklch(49.2% 0.217 337)

  9. Step 800

    800

    #880073

    oklch(42.7% 0.188 337)

  10. Step 900

    900 (this color)

    #781266

    oklch(39.9% 0.16 336.9)

  11. Step 950

    950

    #430A38

    oklch(27% 0.102 337.2)

Export this scale for Tailwind in the Tailwind colors tool

#781266 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)#1538680.179
Deuteranopia (no green cones)#3B47640.151
Tritanopia (no blue cones)#7F1A3C0.079
Achromatopsia (no color)#4242420.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #781266

    #781266

    oklch(39.9% 0.16 336.9)

  • #005632

    #005632

    oklch(39.9% 0.095 157.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #781266

    #781266

    oklch(39.9% 0.16 336.9)

  • #5E2489

    #5E2489

    oklch(39.9% 0.16 306.6)

  • #870039

    #870039

    oklch(40% 0.16 6.8)

Open the analogous palette in the generator

Split complementary

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

  • #781266

    #781266

    oklch(39.9% 0.16 336.9)

  • #385100

    #385100

    oklch(39.9% 0.103 127.2)

  • #00534E

    #00534E

    oklch(39.8% 0.069 187.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #781266

    #781266

    oklch(39.9% 0.16 336.9)

  • #544700

    #544700

    oklch(39.9% 0.082 97.2)

  • #005060

    #005060

    oklch(39.8% 0.071 217.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #781266

    #781266

    oklch(39.9% 0.16 336.9)

  • #663C00

    #663C00

    oklch(39.8% 0.088 66.9)

  • #005632

    #005632

    oklch(39.9% 0.095 157.1)

  • #004A7C

    #004A7C

    oklch(39.8% 0.105 247.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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