#7158D1

Closest named color: Light Indigo (#6D5ACF). oklch(54.9% 0.179 288.6), rgb(113, 88, 209).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.179)
Temperaturecool
Nearest nameLight Indigo (#6D5ACF)
Black text4.01:1
White text5.22:1

Values

HEX#7158D1
RGBrgb(113, 88, 209)
HSLhsl(252, 57%, 58%)
OKLCHoklch(54.9% 0.179 288.6)

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 #7158D1 5.22:1 AA Lc -80.9 Fine for body text
Black text on #7158D1 4.01:1 AA large text Lc 28.5 Dividers and decoration only
#7158D1 text on white 5.22:1 AA Lc 75.6 Fine for body text
#7158D1 text on black 4.01:1 AA large text Lc -26.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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D7D5F6

    oklch(88.5% 0.045 288.2)

  4. Step 300

    300

    #BEB9F2

    oklch(80.9% 0.08 288.5)

  5. Step 400

    400

    #9E92EC

    oklch(70.7% 0.13 288.7)

  6. Step 500

    500

    #8875E5

    oklch(63.2% 0.163 288.6)

  7. Step 600

    600 (this color)

    #7158D1

    oklch(54.9% 0.179 288.6)

  8. Step 700

    700

    #6149B7

    oklch(49.1% 0.166 288.8)

  9. Step 800

    800

    #4F3D94

    oklch(42.8% 0.137 288.8)

  10. Step 900

    900

    #413576

    oklch(37.7% 0.107 288.7)

  11. Step 950

    950

    #262045

    oklch(27.1% 0.067 288.6)

Export this scale for Tailwind in the Tailwind colors tool

#7158D1 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)#006FD50.104
Deuteranopia (no green cones)#0069CE0.104
Tritanopia (no blue cones)#53738C0.147
Achromatopsia (no color)#6C6C6C0.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #7158D1

    #7158D1

    oklch(54.9% 0.179 288.6)

  • #787600

    #787600

    oklch(55% 0.119 108.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7158D1

    #7158D1

    oklch(54.9% 0.179 288.6)

  • #236CD7

    #236CD7

    oklch(54.8% 0.179 258.7)

  • #9B46B2

    #9B46B2

    oklch(54.8% 0.178 318.6)

Open the analogous palette in the generator

Split complementary

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

  • #7158D1

    #7158D1

    oklch(54.9% 0.179 288.6)

  • #956800

    #956800

    oklch(55% 0.114 78.8)

  • #318700

    #318700

    oklch(54.9% 0.172 138.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7158D1

    #7158D1

    oklch(54.9% 0.179 288.6)

  • #B35000

    #B35000

    oklch(54.9% 0.148 48.6)

  • #008566

    #008566

    oklch(54.8% 0.11 169.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7158D1

    #7158D1

    oklch(54.9% 0.179 288.6)

  • #C43447

    #C43447

    oklch(55% 0.18 18.3)

  • #787600

    #787600

    oklch(55% 0.119 108.6)

  • #008185

    #008185

    oklch(54.8% 0.093 198.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7158D1 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.