#7157B1

Closest named color: Iris (#6258C4). oklch(52.6% 0.138 294.5), rgb(113, 87, 177).

Aa

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

About this color

#7157B1 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 53%, its chroma 0.138 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.038 away. White text reads best on it, at 5.67:1.

Hue familyPurples
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameIris (#6258C4)
Black text3.70:1
White text5.67:1

Values

HEX#7157B1
RGBrgb(113, 87, 177)
HSLhsl(257, 37%, 52%)
OKLCHoklch(52.6% 0.138 294.5)

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 #7157B1 5.67:1 AA Lc -83.5 Fine for body text
Black text on #7157B1 3.70:1 AA large text Lc 25.9 Dividers and decoration only
#7157B1 text on white 5.67:1 AA Lc 78.2 Fine for body text
#7157B1 text on black 3.70:1 AA large text Lc -23.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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #DAD5EE

    oklch(88.5% 0.034 294.9)

  4. Step 300

    300

    #C3B9E5

    oklch(80.9% 0.062 295.4)

  5. Step 400

    400

    #A494D8

    oklch(70.6% 0.099 294.5)

  6. Step 500

    500

    #8F79CE

    oklch(63.2% 0.126 294.4)

  7. Step 600

    600 (this color)

    #7157B1

    oklch(52.6% 0.138 294.5)

  8. Step 700

    700

    #674FA1

    oklch(49.2% 0.128 294.7)

  9. Step 800

    800

    #534183

    oklch(42.7% 0.107 294)

  10. Step 900

    900

    #453869

    oklch(37.8% 0.082 294.3)

  11. Step 950

    950

    #28213D

    oklch(27% 0.052 294.2)

Export this scale for Tailwind in the Tailwind colors tool

#7157B1 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)#3568B40.084
Deuteranopia (no green cones)#3A65AF0.079
Tritanopia (no blue cones)#62697C0.111
Achromatopsia (no color)#6767670.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #7157B1

    #7157B1

    oklch(52.6% 0.138 294.5)

  • #6A7200

    #6A7200

    oklch(52.7% 0.119 114.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7157B1

    #7157B1

    oklch(52.6% 0.138 294.5)

  • #4266B9

    #4266B9

    oklch(52.6% 0.137 264.5)

  • #914B96

    #914B96

    oklch(52.7% 0.137 324.8)

Open the analogous palette in the generator

Split complementary

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

  • #7157B1

    #7157B1

    oklch(52.6% 0.138 294.5)

  • #876400

    #876400

    oklch(52.5% 0.108 84.5)

  • #2B7E32

    #2B7E32

    oklch(52.5% 0.137 144.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7157B1

    #7157B1

    oklch(52.6% 0.138 294.5)

  • #A25100

    #A25100

    oklch(52.5% 0.131 54.3)

  • #007D67

    #007D67

    oklch(52.6% 0.1 174.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7157B1

    #7157B1

    oklch(52.6% 0.138 294.5)

  • #AC4441

    #AC4441

    oklch(52.7% 0.137 24.6)

  • #6A7200

    #6A7200

    oklch(52.7% 0.119 114.5)

  • #007983

    #007983

    oklch(52.6% 0.09 204.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7157B1.

Similar named colors

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

Use #7157B1 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.