#7151D8

Closest named color: Light Indigo (#6D5ACF). oklch(54.3% 0.197 289), rgb(113, 81, 216).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (54%)
Chromavivid (0.197)
Temperaturecool
Nearest nameLight Indigo (#6D5ACF)
Black text3.87:1
White text5.42:1

Values

HEX#7151D8
RGBrgb(113, 81, 216)
HSLhsl(254, 63%, 58%)
OKLCHoklch(54.3% 0.197 289)

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 #7151D8 5.42:1 AA Lc -81.9 Fine for body text
Black text on #7151D8 3.87:1 AA large text Lc 27.5 Dividers and decoration only
#7151D8 text on white 5.42:1 AA Lc 76.6 Fine for body text
#7151D8 text on black 3.87:1 AA large text Lc -25.2 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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7FA

    oklch(93.5% 0.026 290.7)

  3. Step 200

    200

    #D7D4F8

    oklch(88.4% 0.049 289.2)

  4. Step 300

    300

    #BEB8F7

    oklch(81% 0.088 288.6)

  5. Step 400

    400

    #9F90F3

    oklch(70.7% 0.142 289.2)

  6. Step 500

    500

    #8971EE

    oklch(63.1% 0.181 289)

  7. Step 600

    600 (this color)

    #7151D8

    oklch(54.3% 0.197 289)

  8. Step 700

    700

    #6244BF

    oklch(49% 0.183 289)

  9. Step 800

    800

    #50399B

    oklch(42.7% 0.152 289.1)

  10. Step 900

    900

    #42337B

    oklch(37.8% 0.117 289.1)

  11. Step 950

    950

    #261E48

    oklch(26.9% 0.075 289.1)

Export this scale for Tailwind in the Tailwind colors tool

#7151D8 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)#006DDC0.109
Deuteranopia (no green cones)#0066D50.107
Tritanopia (no blue cones)#4F718D0.161
Achromatopsia (no color)#6A6A6A0.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #7151D8

    #7151D8

    oklch(54.3% 0.197 289)

  • #757400

    #757400

    oklch(54.2% 0.118 109.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7151D8

    #7151D8

    oklch(54.3% 0.197 289)

  • #1468DF

    #1468DF

    oklch(54.3% 0.197 259)

  • #9E3CB6

    #9E3CB6

    oklch(54.3% 0.197 319.1)

Open the analogous palette in the generator

Split complementary

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

  • #7151D8

    #7151D8

    oklch(54.3% 0.197 289)

  • #926600

    #926600

    oklch(54.2% 0.113 79)

  • #2E8500

    #2E8500

    oklch(54.3% 0.171 139)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7151D8

    #7151D8

    oklch(54.3% 0.197 289)

  • #B04F00

    #B04F00

    oklch(54.3% 0.146 48.9)

  • #008365

    #008365

    oklch(54.2% 0.108 169.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7151D8

    #7151D8

    oklch(54.3% 0.197 289)

  • #C8243F

    #C8243F

    oklch(54.3% 0.197 18.9)

  • #757400

    #757400

    oklch(54.2% 0.118 109.2)

  • #007F84

    #007F84

    oklch(54.2% 0.092 199.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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