#815D9A

Closest named color: Dark Lavender (#856798). oklch(54% 0.101 310.5), rgb(129, 93, 154).

Aa

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

About this color

#815D9A is a medium-dark, moderately saturated purple. In OKLCH its lightness is 54%, its chroma 0.101 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.029 away. White text reads best on it, at 5.29:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.101)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text3.96:1
White text5.29:1

Values

HEX#815D9A
RGBrgb(129, 93, 154)
HSLhsl(275, 25%, 48%)
OKLCHoklch(54% 0.101 310.5)

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 #815D9A 5.29:1 AA Lc -81.6 Fine for body text
Black text on #815D9A 3.96:1 AA large text Lc 27.9 Dividers and decoration only
#815D9A text on white 5.29:1 AA Lc 76.2 Fine for body text
#815D9A text on black 3.96:1 AA large text Lc -25.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 600.

  1. Step 50

    50

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #ECE8F1

    oklch(93.7% 0.013 306)

  3. Step 200

    200

    #DED5E6

    oklch(88.5% 0.025 309.3)

  4. Step 300

    300

    #CAB9D7

    oklch(80.9% 0.045 310.6)

  5. Step 400

    400

    #AF94C3

    oklch(70.7% 0.073 310.5)

  6. Step 500

    500

    #9B79B3

    oklch(63% 0.093 310.6)

  7. Step 600

    600 (this color)

    #815D9A

    oklch(54% 0.101 310.5)

  8. Step 700

    700

    #715188

    oklch(49.1% 0.093 310.1)

  9. Step 800

    800

    #5C426E

    oklch(42.6% 0.077 310.5)

  10. Step 900

    900

    #4C3859

    oklch(37.7% 0.06 311.4)

  11. Step 950

    950

    #2C2134

    oklch(26.9% 0.038 310.4)

Export this scale for Tailwind in the Tailwind colors tool

#815D9A 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)#516A9C0.077
Deuteranopia (no green cones)#5A6C980.070
Tritanopia (no blue cones)#7E66740.072
Achromatopsia (no color)#6B6B6B0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #815D9A

    #815D9A

    oklch(54% 0.101 310.5)

  • #5A7A38

    #5A7A38

    oklch(53.9% 0.101 130.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #815D9A

    #815D9A

    oklch(54% 0.101 310.5)

  • #6467A8

    #6467A8

    oklch(54% 0.101 280.4)

  • #955681

    #955681

    oklch(54% 0.101 340)

Open the analogous palette in the generator

Split complementary

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

  • #815D9A

    #815D9A

    oklch(54% 0.101 310.5)

  • #7C701D

    #7C701D

    oklch(54.1% 0.101 100.8)

  • #2C805B

    #2C805B

    oklch(53.9% 0.1 160.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #815D9A

    #815D9A

    oklch(54% 0.101 310.5)

  • #936322

    #936322

    oklch(53.9% 0.1 70.4)

  • #00807B

    #00807B

    oklch(54.1% 0.093 190)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #815D9A

    #815D9A

    oklch(54% 0.101 310.5)

  • #9F593F

    #9F593F

    oklch(54% 0.1 40.9)

  • #5A7A38

    #5A7A38

    oklch(53.9% 0.101 130.5)

  • #007B96

    #007B96

    oklch(53.9% 0.098 220.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #815D9A 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.