#813793

Closest named color: Warm Purple (#952E8F). oklch(47.6% 0.158 319.3), rgb(129, 55, 147).

Aa

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

About this color

#813793 is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.158 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.041 away. White text reads best on it, at 7.23:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.158)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text2.90:1
White text7.23:1

Values

HEX#813793
RGBrgb(129, 55, 147)
HSLhsl(288, 46%, 40%)
OKLCHoklch(47.6% 0.158 319.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 #813793 7.23:1 AAA Lc -89.5 Fine for body text
Black text on #813793 2.90:1 Fails Lc 19.5 Dividers and decoration only
#813793 text on white 7.23:1 AAA Lc 84.5 Fine for body text
#813793 text on black 2.90:1 Fails Lc -17.5 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 700.

  1. Step 50

    50

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F3

    oklch(93.5% 0.023 321.4)

  3. Step 200

    200

    #E6D1EB

    oklch(88.6% 0.042 319.7)

  4. Step 300

    300

    #D7B1E0

    oklch(80.9% 0.077 319.8)

  5. Step 400

    400

    #C287D0

    oklch(70.7% 0.122 319.8)

  6. Step 500

    500

    #B166C4

    oklch(63% 0.157 319.3)

  7. Step 600

    600

    #9C4BB0

    oklch(55.5% 0.169 319.3)

  8. Step 700

    700 (this color)

    #813793

    oklch(47.6% 0.158 319.3)

  9. Step 800

    800

    #6D327B

    oklch(42.8% 0.131 319.6)

  10. Step 900

    900

    #582D63

    oklch(37.7% 0.101 319.2)

  11. Step 950

    950

    #341B3A

    oklch(27.1% 0.064 319.6)

Export this scale for Tailwind in the Tailwind colors tool

#813793 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)#1F52960.152
Deuteranopia (no green cones)#3D59910.132
Tritanopia (no blue cones)#8146600.098
Achromatopsia (no color)#5757570.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #813793

    #813793

    oklch(47.6% 0.158 319.3)

  • #236F00

    #236F00

    oklch(47.6% 0.151 139.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #813793

    #813793

    oklch(47.6% 0.158 319.3)

  • #5D46AE

    #5D46AE

    oklch(47.6% 0.159 289.1)

  • #982B6A

    #982B6A

    oklch(47.6% 0.157 349.2)

Open the analogous palette in the generator

Split complementary

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

  • #813793

    #813793

    oklch(47.6% 0.158 319.3)

  • #616100

    #616100

    oklch(47.7% 0.104 109.8)

  • #006D54

    #006D54

    oklch(47.6% 0.094 169.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #813793

    #813793

    oklch(47.6% 0.158 319.3)

  • #7A5500

    #7A5500

    oklch(47.7% 0.099 79.4)

  • #006A6E

    #006A6E

    oklch(47.6% 0.081 199.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #813793

    #813793

    oklch(47.6% 0.158 319.3)

  • #934100

    #934100

    oklch(47.6% 0.128 49)

  • #236F00

    #236F00

    oklch(47.6% 0.151 139.3)

  • #006687

    #006687

    oklch(47.7% 0.094 229.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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