#780397

Closest named color: Purple (#800080). oklch(42.6% 0.206 316.4), rgb(120, 3, 151).

Aa

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

About this color

#780397 is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.206 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.044 away. White text reads best on it, at 9.29:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.206)
Temperaturein between
Nearest namePurple (#800080)
Black text2.25:1
White text9.29:1

Values

HEX#780397
RGBrgb(120, 3, 151)
HSLhsl(287, 96%, 30%)
OKLCHoklch(42.6% 0.206 316.4)

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 #780397 9.29:1 AAA Lc -93.9 Preferred for body text
Black text on #780397 2.25:1 Fails Lc 14.6 Not readable
#780397 text on white 9.29:1 AAA Lc 89.4 Fine for body text
#780397 text on black 2.25:1 Fails Lc -12.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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F3E3FA

    oklch(93.5% 0.035 315.7)

  3. Step 200

    200

    #EBCCF7

    oklch(88.5% 0.067 316.5)

  4. Step 300

    300

    #E0A8F5

    oklch(80.9% 0.121 316.6)

  5. Step 400

    400

    #CF74EF

    oklch(70.7% 0.193 316.6)

  6. Step 500

    500

    #C145EA

    oklch(63.1% 0.247 316.3)

  7. Step 600

    600

    #AD0AD8

    oklch(55.6% 0.268 316.5)

  8. Step 700

    700

    #9300B8

    oklch(49.2% 0.24 316.6)

  9. Step 800

    800 (this color)

    #780397

    oklch(42.6% 0.206 316.4)

  10. Step 900

    900

    #611679

    oklch(37.7% 0.161 316.1)

  11. Step 950

    950

    #391047

    oklch(27% 0.103 316.1)

Export this scale for Tailwind in the Tailwind colors tool

#780397 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)#00419A0.181
Deuteranopia (no green cones)#004A940.185
Tritanopia (no blue cones)#7632570.130
Achromatopsia (no color)#4747470.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #780397

    #780397

    oklch(42.6% 0.206 316.4)

  • #295D00

    #295D00

    oklch(42.5% 0.127 136.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #780397

    #780397

    oklch(42.6% 0.206 316.4)

  • #4F27B7

    #4F27B7

    oklch(42.7% 0.207 286.5)

  • #8C0062

    #8C0062

    oklch(42.5% 0.18 346.4)

Open the analogous palette in the generator

Split complementary

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

  • #780397

    #780397

    oklch(42.6% 0.206 316.4)

  • #555100

    #555100

    oklch(42.5% 0.091 106.4)

  • #005D44

    #005D44

    oklch(42.4% 0.087 166.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #780397

    #780397

    oklch(42.6% 0.206 316.4)

  • #6A4700

    #6A4700

    oklch(42.6% 0.089 76.7)

  • #005B5C

    #005B5C

    oklch(42.7% 0.073 196.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #780397

    #780397

    oklch(42.6% 0.206 316.4)

  • #813400

    #813400

    oklch(42.6% 0.119 46.2)

  • #295D00

    #295D00

    oklch(42.5% 0.127 136.3)

  • #005771

    #005771

    oklch(42.6% 0.082 226.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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