#815BA3

Closest named color: Deep Lavender (#8D5EB7). oklch(54.1% 0.116 307.3), rgb(129, 91, 163).

Aa

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

About this color

#815BA3 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 54%, its chroma 0.116 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.038 away. White text reads best on it, at 5.30:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.116)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text3.95:1
White text5.30:1

Values

HEX#815BA3
RGBrgb(129, 91, 163)
HSLhsl(272, 28%, 50%)
OKLCHoklch(54.1% 0.116 307.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 #815BA3 5.30:1 AA Lc -81.6 Fine for body text
Black text on #815BA3 3.95:1 AA large text Lc 27.8 Dividers and decoration only
#815BA3 text on white 5.30:1 AA Lc 76.2 Fine for body text
#815BA3 text on black 3.95: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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #ECE7F2

    oklch(93.5% 0.016 306.4)

  3. Step 200

    200

    #DED4E8

    oklch(88.4% 0.029 308.1)

  4. Step 300

    300

    #C9B8DB

    oklch(80.8% 0.052 307.1)

  5. Step 400

    400

    #AE93CA

    oklch(70.7% 0.084 306.7)

  6. Step 500

    500

    #9B77BC

    oklch(63.1% 0.108 307.5)

  7. Step 600

    600 (this color)

    #815BA3

    oklch(54.1% 0.116 307.3)

  8. Step 700

    700

    #714E90

    oklch(49% 0.109 307.3)

  9. Step 800

    800

    #5C4175

    oklch(42.8% 0.089 306.9)

  10. Step 900

    900

    #4B375E

    oklch(37.6% 0.069 306.9)

  11. Step 950

    950

    #2C2037

    oklch(26.9% 0.045 307.6)

Export this scale for Tailwind in the Tailwind colors tool

#815BA3 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)#4A6AA60.086
Deuteranopia (no green cones)#536CA10.079
Tritanopia (no blue cones)#7C66770.084
Achromatopsia (no color)#6B6B6B0.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #815BA3

    #815BA3

    oklch(54.1% 0.116 307.3)

  • #5C7B28

    #5C7B28

    oklch(54.1% 0.116 127.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #815BA3

    #815BA3

    oklch(54.1% 0.116 307.3)

  • #5F67B1

    #5F67B1

    oklch(54.1% 0.115 277.2)

  • #995287

    #995287

    oklch(54.1% 0.117 337.4)

Open the analogous palette in the generator

Split complementary

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

  • #815BA3

    #815BA3

    oklch(54.1% 0.116 307.3)

  • #816E00

    #816E00

    oklch(54% 0.111 97.1)

  • #208353

    #208353

    oklch(54.2% 0.117 157)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #815BA3

    #815BA3

    oklch(54.1% 0.116 307.3)

  • #9B600B

    #9B600B

    oklch(54.2% 0.116 67.5)

  • #008078

    #008078

    oklch(54% 0.094 187.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #815BA3

    #815BA3

    oklch(54.1% 0.116 307.3)

  • #A7543B

    #A7543B

    oklch(54.2% 0.116 37.5)

  • #5C7B28

    #5C7B28

    oklch(54.1% 0.116 127.4)

  • #007C94

    #007C94

    oklch(54.1% 0.097 217.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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