#7157B3

Closest named color: Iris (#6258C4). oklch(52.7% 0.141 294.1), rgb(113, 87, 179).

Aa

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

About this color

#7157B3 is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.141 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.036 away. White text reads best on it, at 5.65:1.

Hue familyPurples
Lightnessmedium-dark (53%)
Chromavivid (0.141)
Temperaturein between
Nearest nameIris (#6258C4)
Black text3.71:1
White text5.65:1

Values

HEX#7157B3
RGBrgb(113, 87, 179)
HSLhsl(257, 38%, 52%)
OKLCHoklch(52.7% 0.141 294.1)

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 #7157B3 5.65:1 AA Lc -83.3 Fine for body text
Black text on #7157B3 3.71:1 AA large text Lc 26.0 Dividers and decoration only
#7157B3 text on white 5.65:1 AA Lc 78.0 Fine for body text
#7157B3 text on black 3.71:1 AA large text Lc -23.7 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

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #DAD5EF

    oklch(88.5% 0.036 294.5)

  4. Step 300

    300

    #C2B9E6

    oklch(80.8% 0.063 294.1)

  5. Step 400

    400

    #A494DA

    oklch(70.7% 0.102 294.1)

  6. Step 500

    500

    #8E78CF

    oklch(63% 0.129 294)

  7. Step 600

    600 (this color)

    #7157B3

    oklch(52.7% 0.141 294.1)

  8. Step 700

    700

    #664EA3

    oklch(49% 0.132 294)

  9. Step 800

    800

    #534184

    oklch(42.8% 0.108 293.7)

  10. Step 900

    900

    #45376A

    oklch(37.7% 0.086 294.6)

  11. Step 950

    950

    #28213E

    oklch(27.1% 0.053 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#7157B3 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)#3368B60.085
Deuteranopia (no green cones)#3866B10.081
Tritanopia (no blue cones)#61697D0.112
Achromatopsia (no color)#6767670.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #7157B3

    #7157B3

    oklch(52.7% 0.141 294.1)

  • #6B7200

    #6B7200

    oklch(52.8% 0.119 114)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7157B3

    #7157B3

    oklch(52.7% 0.141 294.1)

  • #4066BB

    #4066BB

    oklch(52.6% 0.14 264.1)

  • #914A98

    #914A98

    oklch(52.6% 0.141 323.9)

Open the analogous palette in the generator

Split complementary

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

  • #7157B3

    #7157B3

    oklch(52.7% 0.141 294.1)

  • #886400

    #886400

    oklch(52.6% 0.108 83.8)

  • #2B7F2F

    #2B7F2F

    oklch(52.8% 0.141 144)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7157B3

    #7157B3

    oklch(52.7% 0.141 294.1)

  • #A35100

    #A35100

    oklch(52.6% 0.132 54)

  • #007D67

    #007D67

    oklch(52.6% 0.1 174.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7157B3

    #7157B3

    oklch(52.7% 0.141 294.1)

  • #AD4341

    #AD4341

    oklch(52.7% 0.14 24.2)

  • #6B7200

    #6B7200

    oklch(52.8% 0.119 114)

  • #007A83

    #007A83

    oklch(52.8% 0.09 203.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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