#7157EF

Closest named color: Purpley (#8756E4). oklch(57% 0.218 285), rgb(113, 87, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.218)
Temperaturecool
Nearest namePurpley (#8756E4)
Black text4.31:1
White text4.87:1

Values

HEX#7157EF
RGBrgb(113, 87, 239)
HSLhsl(250, 83%, 64%)
OKLCHoklch(57% 0.218 285)

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 #7157EF 4.87:1 AA Lc -78.6 Fine for body text
Black text on #7157EF 4.31:1 AA large text Lc 30.9 Non-text elements, placeholder text
#7157EF text on white 4.87:1 AA Lc 73.2 Content text, not long reading
#7157EF text on black 4.31:1 AA large text Lc -28.5 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

    #D5D5FD

    oklch(88.6% 0.055 285.2)

  4. Step 300

    300

    #BAB8FE

    oklch(80.9% 0.098 285.3)

  5. Step 400

    400

    #9890FD

    oklch(70.7% 0.156 285)

  6. Step 500

    500

    #816FFB

    oklch(63% 0.201 284.9)

  7. Step 600

    600 (this color)

    #7157EF

    oklch(57% 0.218 285)

  8. Step 700

    700

    #5C41CC

    oklch(49.1% 0.203 285)

  9. Step 800

    800

    #4B37A5

    oklch(42.8% 0.168 285.1)

  10. Step 900

    900

    #3D3282

    oklch(37.7% 0.129 284.6)

  11. Step 950

    950

    #241E4C

    oklch(27% 0.082 285.5)

Export this scale for Tailwind in the Tailwind colors tool

#7157EF 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)#0075F40.104
Deuteranopia (no green cones)#006CEC0.099
Tritanopia (no blue cones)#3C7C9B0.182
Achromatopsia (no color)#7171710.219

Harmonies

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

Complementary

The opposite hue (180°).

  • #7157EF

    #7157EF

    oklch(57% 0.218 285)

  • #837A00

    #837A00

    oklch(57% 0.12 104.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7157EF

    #7157EF

    oklch(57% 0.218 285)

  • #0075E2

    #0075E2

    oklch(57.1% 0.187 254.9)

  • #A53FCD

    #A53FCD

    oklch(57% 0.218 314.7)

Open the analogous palette in the generator

Split complementary

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

  • #7157EF

    #7157EF

    oklch(57% 0.218 285)

  • #A06B00

    #A06B00

    oklch(57% 0.12 74.9)

  • #478B00

    #478B00

    oklch(56.9% 0.166 135)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7157EF

    #7157EF

    oklch(57% 0.218 285)

  • #C14F00

    #C14F00

    oklch(56.9% 0.163 45)

  • #008D65

    #008D65

    oklch(57% 0.12 164.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7157EF

    #7157EF

    oklch(57% 0.218 285)

  • #D9194C

    #D9194C

    oklch(57% 0.217 15.1)

  • #837A00

    #837A00

    oklch(57% 0.12 104.4)

  • #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 #7157EF, closest first.

Similar named colors

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

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