#9151A2

Closest named color: Deep Lavender (#8D5EB7). oklch(54.2% 0.139 318.9), rgb(145, 81, 162).

Aa

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

About this color

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

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

Values

HEX#9151A2
RGBrgb(145, 81, 162)
HSLhsl(287, 33%, 48%)
OKLCHoklch(54.2% 0.139 318.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 #9151A2 5.38:1 AA Lc -81.8 Fine for body text
Black text on #9151A2 3.90:1 AA large text Lc 27.6 Dividers and decoration only
#9151A2 text on white 5.38:1 AA Lc 76.5 Fine for body text
#9151A2 text on black 3.90:1 AA large text Lc -25.3 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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F2

    oklch(93.5% 0.019 317.7)

  3. Step 200

    200

    #E3D2E8

    oklch(88.4% 0.035 318.5)

  4. Step 300

    300

    #D3B4DB

    oklch(80.9% 0.064 319.3)

  5. Step 400

    400

    #BC8CC8

    oklch(70.7% 0.1 319.5)

  6. Step 500

    500

    #AA6EBA

    oklch(63% 0.128 319)

  7. Step 600

    600 (this color)

    #9151A2

    oklch(54.2% 0.139 318.9)

  8. Step 700

    700

    #7F458F

    oklch(49.1% 0.13 318.6)

  9. Step 800

    800

    #673974

    oklch(42.6% 0.107 318.5)

  10. Step 900

    900

    #54325D

    oklch(37.7% 0.082 319)

  11. Step 950

    950

    #311D37

    oklch(26.9% 0.054 318.2)

Export this scale for Tailwind in the Tailwind colors tool

#9151A2 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)#4366A50.125
Deuteranopia (no green cones)#566DA00.112
Tritanopia (no blue cones)#915C720.088
Achromatopsia (no color)#6A6A6A0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #9151A2

    #9151A2

    oklch(54.2% 0.139 318.9)

  • #40822A

    #40822A

    oklch(54.4% 0.139 138.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9151A2

    #9151A2

    oklch(54.2% 0.139 318.9)

  • #6E5EBA

    #6E5EBA

    oklch(54.1% 0.139 288.9)

  • #A8487C

    #A8487C

    oklch(54.3% 0.139 349.1)

Open the analogous palette in the generator

Split complementary

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

  • #9151A2

    #9151A2

    oklch(54.2% 0.139 318.9)

  • #757400

    #757400

    oklch(54.2% 0.118 109.2)

  • #008364

    #008364

    oklch(54.2% 0.109 168.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9151A2

    #9151A2

    oklch(54.2% 0.139 318.9)

  • #926600

    #926600

    oklch(54.2% 0.113 79)

  • #007F83

    #007F83

    oklch(54.2% 0.092 198.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9151A2

    #9151A2

    oklch(54.2% 0.139 318.9)

  • #AD510F

    #AD510F

    oklch(54.2% 0.139 49)

  • #40822A

    #40822A

    oklch(54.4% 0.139 138.8)

  • #007AA0

    #007AA0

    oklch(54.2% 0.106 228.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9151A2.

Similar named colors

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

Use #9151A2 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.