#815DA1

Closest named color: Dark Lavender (#856798). oklch(54.4% 0.11 307.5), rgb(129, 93, 161).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.110)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.01:1
White text5.23:1

Values

HEX#815DA1
RGBrgb(129, 93, 161)
HSLhsl(272, 27%, 50%)
OKLCHoklch(54.4% 0.11 307.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 #815DA1 5.23:1 AA Lc -81.2 Fine for body text
Black text on #815DA1 4.01:1 AA large text Lc 28.2 Dividers and decoration only
#815DA1 text on white 5.23:1 AA Lc 75.8 Fine for body text
#815DA1 text on black 4.01:1 AA large text Lc -25.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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #ECE7F1

    oklch(93.5% 0.014 308.3)

  3. Step 200

    200

    #DED5E8

    oklch(88.6% 0.027 307)

  4. Step 300

    300

    #C9B9DA

    oklch(81% 0.049 307.1)

  5. Step 400

    400

    #AE94C7

    oklch(70.8% 0.078 307.7)

  6. Step 500

    500

    #9A79B9

    oklch(63.2% 0.1 307.4)

  7. Step 600

    600 (this color)

    #815DA1

    oklch(54.4% 0.11 307.5)

  8. Step 700

    700

    #70508D

    oklch(49.1% 0.101 307.2)

  9. Step 800

    800

    #5B4173

    oklch(42.6% 0.086 307.1)

  10. Step 900

    900

    #4B385D

    oklch(37.8% 0.066 307.1)

  11. Step 950

    950

    #2C2136

    oklch(27% 0.041 307.8)

Export this scale for Tailwind in the Tailwind colors tool

#815DA1 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)#4E6BA40.080
Deuteranopia (no green cones)#566D9F0.075
Tritanopia (no blue cones)#7D68770.081
Achromatopsia (no color)#6C6C6C0.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #815DA1

    #815DA1

    oklch(54.4% 0.11 307.5)

  • #5E7B2F

    #5E7B2F

    oklch(54.3% 0.109 127.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #815DA1

    #815DA1

    oklch(54.4% 0.11 307.5)

  • #6168AF

    #6168AF

    oklch(54.4% 0.11 277.8)

  • #985586

    #985586

    oklch(54.4% 0.109 337.9)

Open the analogous palette in the generator

Split complementary

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

  • #815DA1

    #815DA1

    oklch(54.4% 0.11 307.5)

  • #816F08

    #816F08

    oklch(54.3% 0.11 97.6)

  • #298256

    #298256

    oklch(54.2% 0.109 157.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #815DA1

    #815DA1

    oklch(54.4% 0.11 307.5)

  • #996219

    #996219

    oklch(54.4% 0.109 68.1)

  • #008179

    #008179

    oklch(54.3% 0.095 187.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #815DA1

    #815DA1

    oklch(54.4% 0.11 307.5)

  • #A5563F

    #A5563F

    oklch(54.3% 0.11 37.1)

  • #5E7B2F

    #5E7B2F

    oklch(54.3% 0.109 127.3)

  • #007D95

    #007D95

    oklch(54.4% 0.097 217.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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