#782587

Closest named color: Purple (#800080). oklch(43.5% 0.167 321.1), rgb(120, 37, 135).

Aa

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

About this color

#782587 is a dark, vivid purple. In OKLCH its lightness is 44%, its chroma 0.167 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.038 away. White text reads best on it, at 8.70:1.

Hue familyPurples
Lightnessdark (44%)
Chromavivid (0.167)
Temperaturein between
Nearest namePurple (#800080)
Black text2.41:1
White text8.70:1

Values

HEX#782587
RGBrgb(120, 37, 135)
HSLhsl(291, 57%, 34%)
OKLCHoklch(43.5% 0.167 321.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 #782587 8.70:1 AAA Lc -93.5 Preferred for body text
Black text on #782587 2.41:1 Fails Lc 15.1 Dividers and decoration only
#782587 text on white 8.70:1 AAA Lc 88.9 Fine for body text
#782587 text on black 2.41:1 Fails Lc -13.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

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F3E4F6

    oklch(93.6% 0.029 320.6)

  3. Step 200

    200

    #EACEEF

    oklch(88.5% 0.054 321.1)

  4. Step 300

    300

    #DEACE7

    oklch(80.9% 0.098 321.2)

  5. Step 400

    400

    #CC7DDB

    oklch(70.7% 0.156 321)

  6. Step 500

    500

    #BE57D1

    oklch(63.2% 0.2 321.2)

  7. Step 600

    600

    #A935BE

    oklch(55.6% 0.218 321)

  8. Step 700

    700

    #9126A4

    oklch(49.2% 0.202 321)

  9. Step 800

    800 (this color)

    #782587

    oklch(43.5% 0.167 321.1)

  10. Step 900

    900

    #5F236A

    oklch(37.7% 0.13 321.1)

  11. Step 950

    950

    #38163E

    oklch(27% 0.082 321.4)

Export this scale for Tailwind in the Tailwind colors tool

#782587 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)#00458A0.169
Deuteranopia (no green cones)#304E850.145
Tritanopia (no blue cones)#7937530.102
Achromatopsia (no color)#4B4B4B0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #782587

    #782587

    oklch(43.5% 0.167 321.1)

  • #126300

    #126300

    oklch(43.6% 0.144 141.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #782587

    #782587

    oklch(43.5% 0.167 321.1)

  • #5636A3

    #5636A3

    oklch(43.5% 0.166 291.4)

  • #8E145C

    #8E145C

    oklch(43.5% 0.166 351)

Open the analogous palette in the generator

Split complementary

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

  • #782587

    #782587

    oklch(43.5% 0.167 321.1)

  • #545500

    #545500

    oklch(43.4% 0.095 110.6)

  • #00604B

    #00604B

    oklch(43.5% 0.085 171.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #782587

    #782587

    oklch(43.5% 0.167 321.1)

  • #6A4B00

    #6A4B00

    oklch(43.5% 0.09 81.3)

  • #005D62

    #005D62

    oklch(43.5% 0.074 201.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #782587

    #782587

    oklch(43.5% 0.167 321.1)

  • #803B00

    #803B00

    oklch(43.6% 0.113 51.5)

  • #126300

    #126300

    oklch(43.6% 0.144 141.1)

  • #005978

    #005978

    oklch(43.5% 0.087 230.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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