#804CBC

Closest named color: Light Indigo (#6D5ACF). oklch(53.1% 0.171 302.3), rgb(128, 76, 188).

Aa

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

About this color

#804CBC is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.171 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.050 away. White text reads best on it, at 5.70:1.

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

Values

HEX#804CBC
RGBrgb(128, 76, 188)
HSLhsl(268, 46%, 52%)
OKLCHoklch(53.1% 0.171 302.3)

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 #804CBC 5.70:1 AA Lc -83.4 Fine for body text
Black text on #804CBC 3.67:1 AA large text Lc 25.9 Dividers and decoration only
#804CBC text on white 5.70:1 AA Lc 78.1 Fine for body text
#804CBC text on black 3.67:1 AA large text Lc -23.6 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

    #9C6ED7

    oklch(63% 0.158 302.3)

  7. Step 600

    600 (this color)

    #804CBC

    oklch(53.1% 0.171 302.3)

  8. Step 700

    700

    #7343AA

    oklch(49% 0.16 302.3)

  9. Step 800

    800

    #5E3889

    oklch(42.7% 0.132 302.9)

  10. Step 900

    900

    #4C316E

    oklch(37.6% 0.103 302.1)

  11. Step 950

    950

    #2D1D40

    oklch(26.9% 0.065 303.4)

Export this scale for Tailwind in the Tailwind colors tool

#804CBC 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)#1265C00.134
Deuteranopia (no green cones)#2E66B90.121
Tritanopia (no blue cones)#74637D0.127
Achromatopsia (no color)#6666660.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #804CBC

    #804CBC

    oklch(53.1% 0.171 302.3)

  • #5F7700

    #5F7700

    oklch(53.1% 0.13 122.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #804CBC

    #804CBC

    oklch(53.1% 0.171 302.3)

  • #4D5ECD

    #4D5ECD

    oklch(53% 0.172 272.6)

  • #A23C96

    #A23C96

    oklch(53% 0.172 332.6)

Open the analogous palette in the generator

Split complementary

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

  • #804CBC

    #804CBC

    oklch(53.1% 0.171 302.3)

  • #826900

    #826900

    oklch(53% 0.108 92.4)

  • #008241

    #008241

    oklch(53.1% 0.139 152.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #804CBC

    #804CBC

    oklch(53.1% 0.171 302.3)

  • #9C5900

    #9C5900

    oklch(53% 0.121 62.6)

  • #007D70

    #007D70

    oklch(52.9% 0.095 182.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #804CBC

    #804CBC

    oklch(53.1% 0.171 302.3)

  • #BA3821

    #BA3821

    oklch(53.1% 0.17 32.4)

  • #5F7700

    #5F7700

    oklch(53.1% 0.13 122.5)

  • #007A8B

    #007A8B

    oklch(53.2% 0.092 211.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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