#7151E1

Closest named color: Light Indigo (#6D5ACF). oklch(55% 0.208 287.8), rgb(113, 81, 225).

Aa

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

About this color

#7151E1 is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.208 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Light Indigo (#6D5ACF), ΔE 0.035 away. White text reads best on it, at 5.29:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.208)
Temperaturecool
Nearest nameLight Indigo (#6D5ACF)
Black text3.96:1
White text5.29:1

Values

HEX#7151E1
RGBrgb(113, 81, 225)
HSLhsl(253, 71%, 60%)
OKLCHoklch(55% 0.208 287.8)

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 #7151E1 5.29:1 AA Lc -81.2 Fine for body text
Black text on #7151E1 3.96:1 AA large text Lc 28.3 Dividers and decoration only
#7151E1 text on white 5.29:1 AA Lc 75.8 Fine for body text
#7151E1 text on black 3.96:1 AA large text Lc -25.9 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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E8E7FC

    oklch(93.5% 0.028 288)

  3. Step 200

    200

    #D7D4FA

    oklch(88.4% 0.052 288.9)

  4. Step 300

    300

    #BDB7FA

    oklch(80.8% 0.094 288.2)

  5. Step 400

    400

    #9D8FF8

    oklch(70.7% 0.15 288)

  6. Step 500

    500

    #876FF4

    oklch(63% 0.191 287.9)

  7. Step 600

    600 (this color)

    #7151E1

    oklch(55% 0.208 287.8)

  8. Step 700

    700

    #6142C5

    oklch(49.1% 0.193 288)

  9. Step 800

    800

    #4E38A0

    oklch(42.8% 0.16 287.3)

  10. Step 900

    900

    #41327F

    oklch(37.8% 0.125 287.9)

  11. Step 950

    950

    #251E4A

    oklch(27% 0.079 287.2)

Export this scale for Tailwind in the Tailwind colors tool

#7151E1 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)#006FE60.109
Deuteranopia (no green cones)#0068DE0.106
Tritanopia (no blue cones)#4974920.170
Achromatopsia (no color)#6B6B6B0.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #7151E1

    #7151E1

    oklch(55% 0.208 287.8)

  • #797600

    #797600

    oklch(55.1% 0.119 108)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7151E1

    #7151E1

    oklch(55% 0.208 287.8)

  • #006BE4

    #006BE4

    oklch(55.1% 0.202 257.7)

  • #A13ABE

    #A13ABE

    oklch(55% 0.208 317.9)

Open the analogous palette in the generator

Split complementary

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

  • #7151E1

    #7151E1

    oklch(55% 0.208 287.8)

  • #966700

    #966700

    oklch(54.9% 0.115 77.4)

  • #378700

    #378700

    oklch(55.1% 0.169 137.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7151E1

    #7151E1

    oklch(55% 0.208 287.8)

  • #B54F00

    #B54F00

    oklch(55.1% 0.151 47.6)

  • #008665

    #008665

    oklch(55.1% 0.112 167.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7151E1

    #7151E1

    oklch(55% 0.208 287.8)

  • #CF1B41

    #CF1B41

    oklch(55.1% 0.208 17.9)

  • #797600

    #797600

    oklch(55.1% 0.119 108)

  • #008285

    #008285

    oklch(55% 0.094 197.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7151E1 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.