#7F57D4

Closest named color: Purpley (#8756E4). oklch(56.3% 0.184 294.5), rgb(127, 87, 212).

Aa

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

About this color

#7F57D4 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.184 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.028 away. White text reads best on it, at 4.98:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.184)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.21:1
White text4.98:1

Values

HEX#7F57D4
RGBrgb(127, 87, 212)
HSLhsl(259, 59%, 59%)
OKLCHoklch(56.3% 0.184 294.5)

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 #7F57D4 4.98:1 AA Lc -79.5 Fine for body text
Black text on #7F57D4 4.21:1 AA large text Lc 30.0 Non-text elements, placeholder text
#7F57D4 text on white 4.98:1 AA Lc 74.1 Content text, not long reading
#7F57D4 text on black 4.21:1 AA large text Lc -27.6 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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EAE7F9

    oklch(93.6% 0.024 293.6)

  3. Step 200

    200

    #DAD4F5

    oklch(88.5% 0.045 293.8)

  4. Step 300

    300

    #C3B7F1

    oklch(80.9% 0.082 294)

  5. Step 400

    400

    #A68FEA

    oklch(70.7% 0.132 294.4)

  6. Step 500

    500

    #9270E4

    oklch(63.1% 0.17 294.6)

  7. Step 600

    600 (this color)

    #7F57D4

    oklch(56.3% 0.184 294.5)

  8. Step 700

    700

    #6A44B6

    oklch(49.1% 0.172 294.6)

  9. Step 800

    800

    #563993

    oklch(42.7% 0.142 294.5)

  10. Step 900

    900

    #473275

    oklch(37.7% 0.111 295)

  11. Step 950

    950

    #291E45

    oklch(27% 0.071 294.2)

Export this scale for Tailwind in the Tailwind colors tool

#7F57D4 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)#0071D80.125
Deuteranopia (no green cones)#196ED10.119
Tritanopia (no blue cones)#69728D0.146
Achromatopsia (no color)#7070700.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F57D4

    #7F57D4

    oklch(56.3% 0.184 294.5)

  • #747D00

    #747D00

    oklch(56.3% 0.127 114.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F57D4

    #7F57D4

    oklch(56.3% 0.184 294.5)

  • #3D6CE0

    #3D6CE0

    oklch(56.3% 0.184 264.6)

  • #A845B0

    #A845B0

    oklch(56.3% 0.184 324.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F57D4

    #7F57D4

    oklch(56.3% 0.184 294.5)

  • #956E00

    #956E00

    oklch(56.2% 0.115 83.9)

  • #008E20

    #008E20

    oklch(56.2% 0.179 144.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F57D4

    #7F57D4

    oklch(56.3% 0.184 294.5)

  • #B25A00

    #B25A00

    oklch(56.3% 0.14 54.6)

  • #008971

    #008971

    oklch(56.2% 0.106 174.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F57D4

    #7F57D4

    oklch(56.3% 0.184 294.5)

  • #CB383A

    #CB383A

    oklch(56.3% 0.184 24.7)

  • #747D00

    #747D00

    oklch(56.3% 0.127 114.7)

  • #00858F

    #00858F

    oklch(56.2% 0.096 204.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7F57D4.

Similar named colors

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

Use #7F57D4 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.