#7F5CD5

Closest named color: Purpley (#8756E4). oklch(57.1% 0.178 293.3), rgb(127, 92, 213).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.178)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.39:1
White text4.77:1

Values

HEX#7F5CD5
RGBrgb(127, 92, 213)
HSLhsl(257, 59%, 60%)
OKLCHoklch(57.1% 0.178 293.3)

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 #7F5CD5 4.77:1 AA Lc -78.3 Fine for body text
Black text on #7F5CD5 4.39:1 AA large text Lc 31.2 Non-text elements, placeholder text
#7F5CD5 text on white 4.77:1 AA Lc 72.8 Content text, not long reading
#7F5CD5 text on black 4.39:1 AA large text Lc -28.9 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

    #EAE7F8

    oklch(93.5% 0.023 294.1)

  3. Step 200

    200

    #DAD4F5

    oklch(88.5% 0.045 293.8)

  4. Step 300

    300

    #C2B7F0

    oklch(80.8% 0.08 293.4)

  5. Step 400

    400

    #A490E9

    oklch(70.7% 0.129 293.1)

  6. Step 500

    500

    #8F72E2

    oklch(63.1% 0.164 293)

  7. Step 600

    600 (this color)

    #7F5CD5

    oklch(57.1% 0.178 293.3)

  8. Step 700

    700

    #6847B4

    oklch(49.2% 0.165 293.3)

  9. Step 800

    800

    #543B92

    oklch(42.7% 0.137 292.9)

  10. Step 900

    900

    #453374

    oklch(37.6% 0.107 293.3)

  11. Step 950

    950

    #281F44

    oklch(27% 0.067 292.5)

Export this scale for Tailwind in the Tailwind colors tool

#7F5CD5 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)#1774D90.116
Deuteranopia (no green cones)#2570D20.110
Tritanopia (no blue cones)#6876900.143
Achromatopsia (no color)#7272720.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F5CD5

    #7F5CD5

    oklch(57.1% 0.178 293.3)

  • #787F00

    #787F00

    oklch(57.1% 0.128 113.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F5CD5

    #7F5CD5

    oklch(57.1% 0.178 293.3)

  • #3D70DF

    #3D70DF

    oklch(57.1% 0.178 263.3)

  • #A84BB3

    #A84BB3

    oklch(57.2% 0.178 323.3)

Open the analogous palette in the generator

Split complementary

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

  • #7F5CD5

    #7F5CD5

    oklch(57.1% 0.178 293.3)

  • #997000

    #997000

    oklch(57.1% 0.117 83.1)

  • #1A9020

    #1A9020

    oklch(57% 0.178 143.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F5CD5

    #7F5CD5

    oklch(57.1% 0.178 293.3)

  • #B75A00

    #B75A00

    oklch(57% 0.145 53)

  • #008C72

    #008C72

    oklch(57.1% 0.109 173.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F5CD5

    #7F5CD5

    oklch(57.1% 0.178 293.3)

  • #CC3E42

    #CC3E42

    oklch(57.2% 0.179 23.3)

  • #787F00

    #787F00

    oklch(57.1% 0.128 113.6)

  • #008891

    #008891

    oklch(57.1% 0.097 203)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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