#7B5CE1

Closest named color: Purpley (#8756E4). oklch(57.6% 0.193 289.7), rgb(123, 92, 225).

Aa

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

About this color

#7B5CE1 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.193 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.023 away. White text reads best on it, at 4.70:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.193)
Temperaturecool
Nearest namePurpley (#8756E4)
Black text4.46:1
White text4.70:1

Values

HEX#7B5CE1
RGBrgb(123, 92, 225)
HSLhsl(254, 69%, 62%)
OKLCHoklch(57.6% 0.193 289.7)

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 #7B5CE1 4.70:1 AA Lc -77.7 Fine for body text
Black text on #7B5CE1 4.46:1 AA large text Lc 31.8 Non-text elements, placeholder text
#7B5CE1 text on white 4.70:1 AA Lc 72.3 Content text, not long reading
#7B5CE1 text on black 4.46:1 AA large text Lc -29.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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7FA

    oklch(93.5% 0.026 290.7)

  3. Step 200

    200

    #D8D4F8

    oklch(88.4% 0.049 290.4)

  4. Step 300

    300

    #BFB8F6

    oklch(81% 0.087 289.5)

  5. Step 400

    400

    #A090F1

    oklch(70.7% 0.139 289.9)

  6. Step 500

    500

    #8A71EC

    oklch(63.1% 0.178 289.7)

  7. Step 600

    600 (this color)

    #7B5CE1

    oklch(57.6% 0.193 289.7)

  8. Step 700

    700

    #6345BD

    oklch(49.1% 0.179 289.6)

  9. Step 800

    800

    #513A99

    oklch(42.8% 0.148 289.8)

  10. Step 900

    900

    #42337A

    oklch(37.7% 0.116 289.4)

  11. Step 950

    950

    #271E47

    oklch(26.9% 0.074 290.7)

Export this scale for Tailwind in the Tailwind colors tool

#7B5CE1 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)#0076E50.114
Deuteranopia (no green cones)#0070DE0.113
Tritanopia (no blue cones)#5C7A960.157
Achromatopsia (no color)#7373730.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B5CE1

    #7B5CE1

    oklch(57.6% 0.193 289.7)

  • #7F7E00

    #7F7E00

    oklch(57.5% 0.125 109.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B5CE1

    #7B5CE1

    oklch(57.6% 0.193 289.7)

  • #2872E9

    #2872E9

    oklch(57.5% 0.194 259.8)

  • #A848BF

    #A848BF

    oklch(57.5% 0.194 319.4)

Open the analogous palette in the generator

Split complementary

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

  • #7B5CE1

    #7B5CE1

    oklch(57.6% 0.193 289.7)

  • #9E6F00

    #9E6F00

    oklch(57.5% 0.119 79.2)

  • #2D9100

    #2D9100

    oklch(57.6% 0.184 139.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B5CE1

    #7B5CE1

    oklch(57.6% 0.193 289.7)

  • #BE5700

    #BE5700

    oklch(57.6% 0.154 49.4)

  • #008E6E

    #008E6E

    oklch(57.5% 0.114 169.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B5CE1

    #7B5CE1

    oklch(57.6% 0.193 289.7)

  • #D33547

    #D33547

    oklch(57.6% 0.193 19.9)

  • #7F7E00

    #7F7E00

    oklch(57.5% 0.125 109.2)

  • #008A8F

    #008A8F

    oklch(57.5% 0.098 199.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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