#815BA2

Closest named color: Deep Lavender (#8D5EB7). oklch(54.1% 0.115 307.6), rgb(129, 91, 162).

Aa

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

About this color

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

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

Values

HEX#815BA2
RGBrgb(129, 91, 162)
HSLhsl(272, 28%, 50%)
OKLCHoklch(54.1% 0.115 307.6)

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 #815BA2 5.31:1 AA Lc -81.6 Fine for body text
Black text on #815BA2 3.95:1 AA large text Lc 27.8 Dividers and decoration only
#815BA2 text on white 5.31:1 AA Lc 76.3 Fine for body text
#815BA2 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

    #CAB8DB

    oklch(80.9% 0.052 308.3)

  5. Step 400

    400

    #AF93C9

    oklch(70.7% 0.083 308)

  6. Step 500

    500

    #9B78BB

    oklch(63.2% 0.105 307.6)

  7. Step 600

    600 (this color)

    #815BA2

    oklch(54.1% 0.115 307.6)

  8. Step 700

    700

    #714F8F

    oklch(49.2% 0.106 307.4)

  9. Step 800

    800

    #5C4174

    oklch(42.7% 0.087 307.5)

  10. Step 900

    900

    #4C375E

    oklch(37.7% 0.069 308.1)

  11. Step 950

    950

    #2C2037

    oklch(26.9% 0.045 307.6)

Export this scale for Tailwind in the Tailwind colors tool

#815BA2 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)#4B6AA50.085
Deuteranopia (no green cones)#546CA00.078
Tritanopia (no blue cones)#7C66770.083
Achromatopsia (no color)#6B6B6B0.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #815BA2

    #815BA2

    oklch(54.1% 0.115 307.6)

  • #5C7B2A

    #5C7B2A

    oklch(54.1% 0.114 127.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #815BA2

    #815BA2

    oklch(54.1% 0.115 307.6)

  • #5F67B0

    #5F67B0

    oklch(54.1% 0.114 277.2)

  • #985286

    #985286

    oklch(53.9% 0.115 337.5)

Open the analogous palette in the generator

Split complementary

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

  • #815BA2

    #815BA2

    oklch(54.1% 0.115 307.6)

  • #816E00

    #816E00

    oklch(54% 0.111 97.1)

  • #218254

    #218254

    oklch(54% 0.114 157.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #815BA2

    #815BA2

    oklch(54.1% 0.115 307.6)

  • #9A600D

    #9A600D

    oklch(54.1% 0.115 67.8)

  • #008079

    #008079

    oklch(54.1% 0.094 188.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #815BA2

    #815BA2

    oklch(54.1% 0.115 307.6)

  • #A6543B

    #A6543B

    oklch(54% 0.115 37.7)

  • #5C7B2A

    #5C7B2A

    oklch(54.1% 0.114 127.6)

  • #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 #815BA2, closest first.

Similar named colors

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

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