#815F97

Closest named color: Dark Lavender (#856798). oklch(54.2% 0.093 311.4), rgb(129, 95, 151).

Aa

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

About this color

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

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

Values

HEX#815F97
RGBrgb(129, 95, 151)
HSLhsl(276, 23%, 48%)
OKLCHoklch(54.2% 0.093 311.4)

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 #815F97 5.22:1 AA Lc -81.2 Fine for body text
Black text on #815F97 4.01:1 AA large text Lc 28.2 Dividers and decoration only
#815F97 text on white 5.22:1 AA Lc 75.8 Fine for body text
#815F97 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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #ECE8F0

    oklch(93.6% 0.011 308.3)

  3. Step 200

    200

    #DED5E5

    oklch(88.5% 0.024 310.7)

  4. Step 300

    300

    #C9B9D5

    oklch(80.8% 0.043 310.8)

  5. Step 400

    400

    #AE95C0

    oklch(70.7% 0.067 310.9)

  6. Step 500

    500

    #9A7BB0

    oklch(63.2% 0.085 310.7)

  7. Step 600

    600 (this color)

    #815F97

    oklch(54.2% 0.093 311.4)

  8. Step 700

    700

    #715285

    oklch(49.2% 0.087 311.3)

  9. Step 800

    800

    #5C436C

    oklch(42.7% 0.073 311.5)

  10. Step 900

    900

    #4B3957

    oklch(37.7% 0.055 311.3)

  11. Step 950

    950

    #2C2133

    oklch(26.9% 0.036 311.8)

Export this scale for Tailwind in the Tailwind colors tool

#815F97 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)#556B990.071
Deuteranopia (no green cones)#5D6D950.065
Tritanopia (no blue cones)#7F67740.066
Achromatopsia (no color)#6C6C6C0.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #815F97

    #815F97

    oklch(54.2% 0.093 311.4)

  • #5C7A3F

    #5C7A3F

    oklch(54.2% 0.092 131)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #815F97

    #815F97

    oklch(54.2% 0.093 311.4)

  • #6668A4

    #6668A4

    oklch(54.2% 0.093 281.4)

  • #94597F

    #94597F

    oklch(54.3% 0.093 341.6)

Open the analogous palette in the generator

Split complementary

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

  • #815F97

    #815F97

    oklch(54.2% 0.093 311.4)

  • #7B7128

    #7B7128

    oklch(54.3% 0.094 101.5)

  • #34805E

    #34805E

    oklch(54.2% 0.093 161.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #815F97

    #815F97

    oklch(54.2% 0.093 311.4)

  • #91652B

    #91652B

    oklch(54.2% 0.093 70.9)

  • #00807D

    #00807D

    oklch(54.2% 0.093 191.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #815F97

    #815F97

    oklch(54.2% 0.093 311.4)

  • #9D5C43

    #9D5C43

    oklch(54.3% 0.093 41.6)

  • #5C7A3F

    #5C7A3F

    oklch(54.2% 0.092 131)

  • #197B96

    #197B96

    oklch(54.2% 0.093 221.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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