#804DBC

Closest named color: Light Indigo (#6D5ACF). oklch(53.2% 0.169 302.1), rgb(128, 77, 188).

Aa

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

About this color

#804DBC is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.169 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Indigo (#6D5ACF), ΔE 0.049 away. White text reads best on it, at 5.66:1.

Hue familyPurples
Lightnessmedium-dark (53%)
Chromavivid (0.169)
Temperaturein between
Nearest nameLight Indigo (#6D5ACF)
Black text3.70:1
White text5.66:1

Values

HEX#804DBC
RGBrgb(128, 77, 188)
HSLhsl(268, 45%, 52%)
OKLCHoklch(53.2% 0.169 302.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 #804DBC 5.66:1 AA Lc -83.2 Fine for body text
Black text on #804DBC 3.70:1 AA large text Lc 26.1 Dividers and decoration only
#804DBC text on white 5.66:1 AA Lc 77.9 Fine for body text
#804DBC text on black 3.70:1 AA large text Lc -23.8 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #ECE7F7

    oklch(93.7% 0.022 300.2)

  3. Step 200

    200

    #DED3F1

    oklch(88.5% 0.042 302.2)

  4. Step 300

    300

    #CAB5EA

    oklch(80.9% 0.077 302.8)

  5. Step 400

    400

    #AF8DE0

    oklch(70.6% 0.123 302.2)

  6. Step 500

    500

    #9C6FD7

    oklch(63.2% 0.156 302.1)

  7. Step 600

    600 (this color)

    #804DBC

    oklch(53.2% 0.169 302.1)

  8. Step 700

    700

    #7344A9

    oklch(49.1% 0.157 302.4)

  9. Step 800

    800

    #5D3989

    oklch(42.7% 0.13 301.9)

  10. Step 900

    900

    #4C326E

    oklch(37.8% 0.102 301.7)

  11. Step 950

    950

    #2D1E40

    oklch(27.1% 0.063 302.8)

Export this scale for Tailwind in the Tailwind colors tool

#804DBC 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)#1666C00.132
Deuteranopia (no green cones)#2F66B90.119
Tritanopia (no blue cones)#74647D0.128
Achromatopsia (no color)#6767670.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #804DBC

    #804DBC

    oklch(53.2% 0.169 302.1)

  • #607700

    #607700

    oklch(53.2% 0.129 122.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #804DBC

    #804DBC

    oklch(53.2% 0.169 302.1)

  • #4D5FCD

    #4D5FCD

    oklch(53.2% 0.17 272.3)

  • #A23E97

    #A23E97

    oklch(53.3% 0.169 332.2)

Open the analogous palette in the generator

Split complementary

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

  • #804DBC

    #804DBC

    oklch(53.2% 0.169 302.1)

  • #836900

    #836900

    oklch(53.1% 0.109 91.7)

  • #008241

    #008241

    oklch(53.1% 0.139 152.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #804DBC

    #804DBC

    oklch(53.2% 0.169 302.1)

  • #9D5900

    #9D5900

    oklch(53.1% 0.122 62.1)

  • #007E71

    #007E71

    oklch(53.2% 0.095 182.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #804DBC

    #804DBC

    oklch(53.2% 0.169 302.1)

  • #BA3923

    #BA3923

    oklch(53.2% 0.169 32.2)

  • #607700

    #607700

    oklch(53.2% 0.129 122.1)

  • #007A8C

    #007A8C

    oklch(53.2% 0.093 212.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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