#7F57D1

Closest named color: Light Indigo (#6D5ACF). oklch(56% 0.18 295), rgb(127, 87, 209).

Aa

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

About this color

#7F57D1 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.180 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Indigo (#6D5ACF), ΔE 0.030 away. White text reads best on it, at 5.01:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.180)
Temperaturein between
Nearest nameLight Indigo (#6D5ACF)
Black text4.18:1
White text5.01:1

Values

HEX#7F57D1
RGBrgb(127, 87, 209)
HSLhsl(260, 57%, 58%)
OKLCHoklch(56% 0.18 295)

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 #7F57D1 5.01:1 AA Lc -79.7 Fine for body text
Black text on #7F57D1 4.18:1 AA large text Lc 29.8 Dividers and decoration only
#7F57D1 text on white 5.01:1 AA Lc 74.3 Content text, not long reading
#7F57D1 text on black 4.18:1 AA large text Lc -27.4 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

    #EBE7F8

    oklch(93.6% 0.023 296.7)

  3. Step 200

    200

    #DBD4F5

    oklch(88.6% 0.046 295.2)

  4. Step 300

    300

    #C4B7F0

    oklch(81% 0.081 295)

  5. Step 400

    400

    #A78FE9

    oklch(70.7% 0.13 295.1)

  6. Step 500

    500

    #9270E2

    oklch(63% 0.167 294.9)

  7. Step 600

    600 (this color)

    #7F57D1

    oklch(56% 0.18 295)

  8. Step 700

    700

    #6A45B4

    oklch(49.1% 0.168 294.8)

  9. Step 800

    800

    #563A91

    oklch(42.7% 0.138 294.7)

  10. Step 900

    900

    #473374

    oklch(37.8% 0.108 294.9)

  11. Step 950

    950

    #291E44

    oklch(26.9% 0.069 294.7)

Export this scale for Tailwind in the Tailwind colors tool

#7F57D1 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)#0770D50.124
Deuteranopia (no green cones)#206DCE0.116
Tritanopia (no blue cones)#6A718C0.142
Achromatopsia (no color)#6F6F6F0.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F57D1

    #7F57D1

    oklch(56% 0.18 295)

  • #737C00

    #737C00

    oklch(56% 0.127 114.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F57D1

    #7F57D1

    oklch(56% 0.18 295)

  • #3F6BDD

    #3F6BDD

    oklch(56% 0.181 265.1)

  • #A746AD

    #A746AD

    oklch(56.1% 0.18 325.3)

Open the analogous palette in the generator

Split complementary

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

  • #7F57D1

    #7F57D1

    oklch(56% 0.18 295)

  • #936E00

    #936E00

    oklch(56% 0.115 85.2)

  • #008D25

    #008D25

    oklch(55.9% 0.175 145.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F57D1

    #7F57D1

    oklch(56% 0.18 295)

  • #B05A00

    #B05A00

    oklch(56% 0.138 55.2)

  • #008871

    #008871

    oklch(56% 0.105 175.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F57D1

    #7F57D1

    oklch(56% 0.18 295)

  • #C9393A

    #C9393A

    oklch(56.1% 0.181 24.9)

  • #737C00

    #737C00

    oklch(56% 0.127 114.7)

  • #00848F

    #00848F

    oklch(56% 0.096 205.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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