#7157F1

Closest named color: Purpley (#8756E4). oklch(57.2% 0.22 284.8), rgb(113, 87, 241).

Aa

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

About this color

#7157F1 is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.220 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.042 away. White text reads best on it, at 4.84:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.220)
Temperaturecool
Nearest namePurpley (#8756E4)
Black text4.33:1
White text4.84:1

Values

HEX#7157F1
RGBrgb(113, 87, 241)
HSLhsl(250, 85%, 64%)
OKLCHoklch(57.2% 0.22 284.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 #7157F1 4.84:1 AA Lc -78.5 Fine for body text
Black text on #7157F1 4.33:1 AA large text Lc 31.0 Non-text elements, placeholder text
#7157F1 text on white 4.84:1 AA Lc 73.0 Content text, not long reading
#7157F1 text on black 4.33:1 AA large text Lc -28.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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E7E8FD

    oklch(93.7% 0.028 283.7)

  3. Step 200

    200

    #D4D5FD

    oklch(88.5% 0.055 284.1)

  4. Step 300

    300

    #B9B8FF

    oklch(80.9% 0.1 284.6)

  5. Step 400

    400

    #9790FE

    oklch(70.7% 0.158 284.5)

  6. Step 500

    500

    #816FFC

    oklch(63.1% 0.202 284.8)

  7. Step 600

    600 (this color)

    #7157F1

    oklch(57.2% 0.22 284.8)

  8. Step 700

    700

    #5C41CD

    oklch(49.2% 0.204 284.9)

  9. Step 800

    800

    #4A37A6

    oklch(42.7% 0.17 284.5)

  10. Step 900

    900

    #3D3183

    oklch(37.6% 0.132 284.8)

  11. Step 950

    950

    #231E4D

    oklch(27% 0.084 284.1)

Export this scale for Tailwind in the Tailwind colors tool

#7157F1 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)#0076F60.104
Deuteranopia (no green cones)#006DEE0.099
Tritanopia (no blue cones)#3A7D9C0.184
Achromatopsia (no color)#7272720.221

Harmonies

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

Complementary

The opposite hue (180°).

  • #7157F1

    #7157F1

    oklch(57.2% 0.22 284.8)

  • #837B00

    #837B00

    oklch(57.2% 0.121 105.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7157F1

    #7157F1

    oklch(57.2% 0.22 284.8)

  • #0075E2

    #0075E2

    oklch(57.1% 0.187 254.9)

  • #A63ECE

    #A63ECE

    oklch(57.1% 0.22 314.9)

Open the analogous palette in the generator

Split complementary

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

  • #7157F1

    #7157F1

    oklch(57.2% 0.22 284.8)

  • #A16B00

    #A16B00

    oklch(57.1% 0.121 74.3)

  • #488C00

    #488C00

    oklch(57.2% 0.167 134.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7157F1

    #7157F1

    oklch(57.2% 0.22 284.8)

  • #C24F00

    #C24F00

    oklch(57.1% 0.164 44.9)

  • #008E65

    #008E65

    oklch(57.3% 0.121 164.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7157F1

    #7157F1

    oklch(57.2% 0.22 284.8)

  • #DA164D

    #DA164D

    oklch(57.1% 0.22 14.6)

  • #837B00

    #837B00

    oklch(57.2% 0.121 105.1)

  • #008989

    #008989

    oklch(57% 0.097 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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