#9157C3

Closest named color: Deep Lavender (#8D5EB7). oklch(57% 0.167 306.7), rgb(145, 87, 195).

Aa

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

About this color

#9157C3 is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.167 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.027 away. White text reads best on it, at 4.82:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.167)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.35:1
White text4.82:1

Values

HEX#9157C3
RGBrgb(145, 87, 195)
HSLhsl(272, 47%, 55%)
OKLCHoklch(57% 0.167 306.7)

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 #9157C3 4.82:1 AA Lc -78.5 Fine for body text
Black text on #9157C3 4.35:1 AA large text Lc 31.0 Non-text elements, placeholder text
#9157C3 text on white 4.82:1 AA Lc 73.1 Content text, not long reading
#9157C3 text on black 4.35:1 AA large text Lc -28.6 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE6F6

    oklch(93.5% 0.023 305.6)

  3. Step 200

    200

    #E0D2EF

    oklch(88.4% 0.042 307.2)

  4. Step 300

    300

    #CDB4E7

    oklch(80.8% 0.075 307)

  5. Step 400

    400

    #B48CDB

    oklch(70.7% 0.12 306.8)

  6. Step 500

    500

    #A26DD1

    oklch(63.1% 0.153 307)

  7. Step 600

    600 (this color)

    #9157C3

    oklch(57% 0.167 306.7)

  8. Step 700

    700

    #7842A4

    oklch(49.1% 0.156 307)

  9. Step 800

    800

    #613785

    oklch(42.6% 0.129 306.6)

  10. Step 900

    900

    #4F316B

    oklch(37.7% 0.1 306.1)

  11. Step 950

    950

    #2E1D3E

    oklch(26.9% 0.063 306.4)

Export this scale for Tailwind in the Tailwind colors tool

#9157C3 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)#3270C70.134
Deuteranopia (no green cones)#4672C00.121
Tritanopia (no blue cones)#896B850.120
Achromatopsia (no color)#7272720.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #9157C3

    #9157C3

    oklch(57% 0.167 306.7)

  • #618600

    #618600

    oklch(57.1% 0.146 126.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9157C3

    #9157C3

    oklch(57% 0.167 306.7)

  • #6169D7

    #6169D7

    oklch(57.1% 0.166 276.6)

  • #B1499B

    #B1499B

    oklch(57% 0.166 336.6)

Open the analogous palette in the generator

Split complementary

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

  • #9157C3

    #9157C3

    oklch(57% 0.167 306.7)

  • #8C7600

    #8C7600

    oklch(57% 0.117 96)

  • #008E55

    #008E55

    oklch(56.9% 0.136 156.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9157C3

    #9157C3

    oklch(57% 0.167 306.7)

  • #A86600

    #A86600

    oklch(57% 0.126 66.8)

  • #008A81

    #008A81

    oklch(57% 0.1 186.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9157C3

    #9157C3

    oklch(57% 0.167 306.7)

  • #C54924

    #C54924

    oklch(57% 0.166 36.7)

  • #618600

    #618600

    oklch(57.1% 0.146 126.5)

  • #00869E

    #00869E

    oklch(57.1% 0.102 216.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9157C3.

Similar named colors

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

Use #9157C3 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.