#815FA1

Closest named color: Dark Lavender (#856798). oklch(54.7% 0.106 306.9), rgb(129, 95, 161).

Aa

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

About this color

#815FA1 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 55%, its chroma 0.106 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.030 away. White text reads best on it, at 5.14:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.08:1
White text5.14:1

Values

HEX#815FA1
RGBrgb(129, 95, 161)
HSLhsl(271, 26%, 50%)
OKLCHoklch(54.7% 0.106 306.9)

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 #815FA1 5.14:1 AA Lc -80.7 Fine for body text
Black text on #815FA1 4.08:1 AA large text Lc 28.8 Dividers and decoration only
#815FA1 text on white 5.14:1 AA Lc 75.3 Fine for body text
#815FA1 text on black 4.08:1 AA large text Lc -26.4 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

    #F6F4F9

    oklch(97% 0.007 304.2)

  2. Step 100

    100

    #ECE8F1

    oklch(93.7% 0.013 306)

  3. Step 200

    200

    #DED5E7

    oklch(88.6% 0.026 308.1)

  4. Step 300

    300

    #C9B9D9

    oklch(80.9% 0.048 307.8)

  5. Step 400

    400

    #AD94C6

    oklch(70.6% 0.077 307.3)

  6. Step 500

    500

    #9979B8

    oklch(63% 0.099 307)

  7. Step 600

    600 (this color)

    #815FA1

    oklch(54.7% 0.106 306.9)

  8. Step 700

    700

    #6F508C

    oklch(49% 0.099 306.9)

  9. Step 800

    800

    #5B4272

    oklch(42.7% 0.082 307.2)

  10. Step 900

    900

    #4A385C

    oklch(37.6% 0.064 306.5)

  11. Step 950

    950

    #2C2136

    oklch(27% 0.041 307.8)

Export this scale for Tailwind in the Tailwind colors tool

#815FA1 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)#506CA30.077
Deuteranopia (no green cones)#586E9F0.071
Tritanopia (no blue cones)#7C69780.078
Achromatopsia (no color)#6D6D6D0.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #815FA1

    #815FA1

    oklch(54.7% 0.106 306.9)

  • #607C32

    #607C32

    oklch(54.8% 0.107 127)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #815FA1

    #815FA1

    oklch(54.7% 0.106 306.9)

  • #616AAE

    #616AAE

    oklch(54.7% 0.106 276.6)

  • #975787

    #975787

    oklch(54.6% 0.106 336.9)

Open the analogous palette in the generator

Split complementary

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

  • #815FA1

    #815FA1

    oklch(54.7% 0.106 306.9)

  • #827014

    #827014

    oklch(54.6% 0.106 97.1)

  • #308357

    #308357

    oklch(54.7% 0.106 156.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #815FA1

    #815FA1

    oklch(54.7% 0.106 306.9)

  • #9A6320

    #9A6320

    oklch(54.8% 0.107 66.7)

  • #00827A

    #00827A

    oklch(54.6% 0.095 187.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #815FA1

    #815FA1

    oklch(54.7% 0.106 306.9)

  • #A55842

    #A55842

    oklch(54.7% 0.107 36.8)

  • #607C32

    #607C32

    oklch(54.8% 0.107 127)

  • #007E96

    #007E96

    oklch(54.7% 0.098 217.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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