#784498

Closest named color: Light Eggplant (#894585). oklch(48.6% 0.138 310.9), rgb(120, 68, 152).

Aa

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

About this color

#784498 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 49%, its chroma 0.138 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.046 away. White text reads best on it, at 6.82:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.07:1
White text6.82:1

Values

HEX#784498
RGBrgb(120, 68, 152)
HSLhsl(277, 38%, 43%)
OKLCHoklch(48.6% 0.138 310.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 #784498 6.82:1 AA Lc -88.2 Fine for body text
Black text on #784498 3.07:1 AA large text Lc 20.8 Dividers and decoration only
#784498 text on white 6.82:1 AA Lc 83.2 Fine for body text
#784498 text on black 3.07:1 AA large text Lc -18.7 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EEE6F4

    oklch(93.5% 0.021 311.1)

  3. Step 200

    200

    #E1D3EC

    oklch(88.6% 0.037 310.5)

  4. Step 300

    300

    #CEB5E1

    oklch(80.9% 0.067 310.4)

  5. Step 400

    400

    #B68DD2

    oklch(70.7% 0.108 310.9)

  6. Step 500

    500

    #A46FC6

    oklch(63.1% 0.138 311)

  7. Step 600

    600

    #8F56B2

    oklch(55.6% 0.148 311.1)

  8. Step 700

    700 (this color)

    #784498

    oklch(48.6% 0.138 310.9)

  9. Step 800

    800

    #633A7C

    oklch(42.8% 0.113 311.2)

  10. Step 900

    900

    #513264

    oklch(37.7% 0.09 311.4)

  11. Step 950

    950

    #2F1E3B

    oklch(27.1% 0.056 310.1)

Export this scale for Tailwind in the Tailwind colors tool

#784498 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)#2C589B0.117
Deuteranopia (no green cones)#3D5C960.105
Tritanopia (no blue cones)#7452670.096
Achromatopsia (no color)#5B5B5B0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #784498

    #784498

    oklch(48.6% 0.138 310.9)

  • #446D00

    #446D00

    oklch(48.6% 0.132 130.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #784498

    #784498

    oklch(48.6% 0.138 310.9)

  • #5452AB

    #5452AB

    oklch(48.7% 0.138 281)

  • #903976

    #903976

    oklch(48.5% 0.138 340.9)

Open the analogous palette in the generator

Split complementary

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

  • #784498

    #784498

    oklch(48.6% 0.138 310.9)

  • #6C6000

    #6C6000

    oklch(48.6% 0.101 100.9)

  • #00724A

    #00724A

    oklch(48.7% 0.11 160.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #784498

    #784498

    oklch(48.6% 0.138 310.9)

  • #845300

    #845300

    oklch(48.6% 0.105 70.5)

  • #006E6B

    #006E6B

    oklch(48.6% 0.084 191.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #784498

    #784498

    oklch(48.6% 0.138 310.9)

  • #9D3D12

    #9D3D12

    oklch(48.7% 0.138 41.1)

  • #446D00

    #446D00

    oklch(48.6% 0.132 130.7)

  • #006A83

    #006A83

    oklch(48.6% 0.089 221.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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