#804ED5

Closest named color: Purpley (#8756E4). oklch(55.1% 0.198 296.4), rgb(128, 78, 213).

Aa

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

About this color

#804ED5 is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.198 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.031 away. White text reads best on it, at 5.29:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.198)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text3.96:1
White text5.29:1

Values

HEX#804ED5
RGBrgb(128, 78, 213)
HSLhsl(262, 62%, 57%)
OKLCHoklch(55.1% 0.198 296.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 #804ED5 5.29:1 AA Lc -81.2 Fine for body text
Black text on #804ED5 3.96:1 AA large text Lc 28.3 Dividers and decoration only
#804ED5 text on white 5.29:1 AA Lc 75.8 Fine for body text
#804ED5 text on black 3.96:1 AA large text Lc -25.9 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 600.

  1. Step 50

    50

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7FA

    oklch(93.7% 0.026 295.5)

  3. Step 200

    200

    #DCD3F7

    oklch(88.5% 0.05 296.8)

  4. Step 300

    300

    #C6B5F4

    oklch(80.9% 0.089 296.7)

  5. Step 400

    400

    #A98CEE

    oklch(70.6% 0.142 296.2)

  6. Step 500

    500

    #966CE9

    oklch(63.2% 0.182 296.3)

  7. Step 600

    600 (this color)

    #804ED5

    oklch(55.1% 0.198 296.4)

  8. Step 700

    700

    #6E3FBA

    oklch(49.1% 0.184 296.6)

  9. Step 800

    800

    #593597

    oklch(42.7% 0.153 296.2)

  10. Step 900

    900

    #493078

    oklch(37.8% 0.118 296.3)

  11. Step 950

    950

    #2A1D46

    oklch(27% 0.074 295.6)

Export this scale for Tailwind in the Tailwind colors tool

#804ED5 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)#006CD90.133
Deuteranopia (no green cones)#006AD20.133
Tritanopia (no blue cones)#6B6D8A0.155
Achromatopsia (no color)#6B6B6B0.199

Harmonies

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

Complementary

The opposite hue (180°).

  • #804ED5

    #804ED5

    oklch(55.1% 0.198 296.4)

  • #6E7A00

    #6E7A00

    oklch(55% 0.126 116.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #804ED5

    #804ED5

    oklch(55.1% 0.198 296.4)

  • #3C65E3

    #3C65E3

    oklch(55.1% 0.197 266.3)

  • #A93AAD

    #A93AAD

    oklch(55.1% 0.197 326.4)

Open the analogous palette in the generator

Split complementary

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

  • #804ED5

    #804ED5

    oklch(55.1% 0.198 296.4)

  • #8F6C00

    #8F6C00

    oklch(55.1% 0.113 86.1)

  • #008A2C

    #008A2C

    oklch(55.1% 0.167 146.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #804ED5

    #804ED5

    oklch(55.1% 0.198 296.4)

  • #AB5900

    #AB5900

    oklch(55.1% 0.134 56.4)

  • #008570

    #008570

    oklch(55.1% 0.103 176.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #804ED5

    #804ED5

    oklch(55.1% 0.198 296.4)

  • #CC2A2B

    #CC2A2B

    oklch(55.1% 0.198 26.4)

  • #6E7A00

    #6E7A00

    oklch(55% 0.126 116.4)

  • #00818D

    #00818D

    oklch(55.1% 0.094 206.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #804ED5 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.