#804DE3

Closest named color: Purpley (#8756E4). oklch(56% 0.215 293.9), rgb(128, 77, 227).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.215)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.08:1
White text5.13:1

Values

HEX#804DE3
RGBrgb(128, 77, 227)
HSLhsl(260, 73%, 60%)
OKLCHoklch(56% 0.215 293.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 #804DE3 5.13:1 AA Lc -80.2 Fine for body text
Black text on #804DE3 4.08:1 AA large text Lc 29.3 Dividers and decoration only
#804DE3 text on white 5.13:1 AA Lc 74.8 Content text, not long reading
#804DE3 text on black 4.08:1 AA large text Lc -26.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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #EAE7FB

    oklch(93.6% 0.027 292.8)

  3. Step 200

    200

    #DAD3FA

    oklch(88.5% 0.054 293.5)

  4. Step 300

    300

    #C4B5FA

    oklch(81% 0.097 294.1)

  5. Step 400

    400

    #A78BF7

    oklch(70.7% 0.155 294)

  6. Step 500

    500

    #9369F3

    oklch(63% 0.198 294)

  7. Step 600

    600 (this color)

    #804DE3

    oklch(56% 0.215 293.9)

  8. Step 700

    700

    #6C3BC4

    oklch(49.1% 0.2 294.2)

  9. Step 800

    800

    #57329E

    oklch(42.6% 0.165 293.9)

  10. Step 900

    900

    #472E7E

    oklch(37.7% 0.129 293.6)

  11. Step 950

    950

    #2A1C4A

    oklch(27.1% 0.082 294.3)

Export this scale for Tailwind in the Tailwind colors tool

#804DE3 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)#006FE80.132
Deuteranopia (no green cones)#006BE00.131
Tritanopia (no blue cones)#6471920.169
Achromatopsia (no color)#6E6E6E0.216

Harmonies

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

Complementary

The opposite hue (180°).

  • #804DE3

    #804DE3

    oklch(56% 0.215 293.9)

  • #747C00

    #747C00

    oklch(56% 0.126 114.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #804DE3

    #804DE3

    oklch(56% 0.215 293.9)

  • #2F67F0

    #2F67F0

    oklch(56.1% 0.215 263.9)

  • #AD35BA

    #AD35BA

    oklch(55.9% 0.216 323.7)

Open the analogous palette in the generator

Split complementary

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

  • #804DE3

    #804DE3

    oklch(56% 0.215 293.9)

  • #946D00

    #946D00

    oklch(55.9% 0.115 83.7)

  • #008E1A

    #008E1A

    oklch(56.1% 0.182 143.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #804DE3

    #804DE3

    oklch(56% 0.215 293.9)

  • #B15900

    #B15900

    oklch(56% 0.14 54.3)

  • #008870

    #008870

    oklch(55.9% 0.106 174.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #804DE3

    #804DE3

    oklch(56% 0.215 293.9)

  • #D61A2E

    #D61A2E

    oklch(56.1% 0.215 24)

  • #747C00

    #747C00

    oklch(56% 0.126 114.2)

  • #00848E

    #00848E

    oklch(55.9% 0.095 204.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #804DE3.

Similar named colors

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

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