#7B41AB

Closest named color: Purply (#983FB2). oklch(49.7% 0.166 306.5), rgb(123, 65, 171).

Aa

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

About this color

#7B41AB is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.166 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.056 away. White text reads best on it, at 6.59:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.166)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.18:1
White text6.59:1

Values

HEX#7B41AB
RGBrgb(123, 65, 171)
HSLhsl(273, 45%, 46%)
OKLCHoklch(49.7% 0.166 306.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 #7B41AB 6.59:1 AA Lc -87.2 Fine for body text
Black text on #7B41AB 3.18:1 AA large text Lc 21.9 Dividers and decoration only
#7B41AB text on white 6.59:1 AA Lc 82.1 Fine for body text
#7B41AB text on black 3.18:1 AA large text Lc -19.8 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 700.

  1. Step 50

    50

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EEE6F6

    oklch(93.6% 0.023 308.2)

  3. Step 200

    200

    #E0D2F1

    oklch(88.5% 0.045 305.9)

  4. Step 300

    300

    #CEB4EA

    oklch(81% 0.08 306.6)

  5. Step 400

    400

    #B58ADF

    oklch(70.6% 0.128 306.6)

  6. Step 500

    500

    #A36AD6

    oklch(63% 0.165 306.6)

  7. Step 600

    600

    #8E4FC4

    oklch(55.6% 0.179 306.2)

  8. Step 700

    700 (this color)

    #7B41AB

    oklch(49.7% 0.166 306.5)

  9. Step 800

    800

    #623589

    oklch(42.7% 0.137 306.1)

  10. Step 900

    900

    #502F6D

    oklch(37.6% 0.107 306.5)

  11. Step 950

    950

    #2F1C40

    oklch(27% 0.068 306.8)

Export this scale for Tailwind in the Tailwind colors tool

#7B41AB 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)#085BAE0.141
Deuteranopia (no green cones)#2C5DA90.125
Tritanopia (no blue cones)#7356700.118
Achromatopsia (no color)#5D5D5D0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B41AB

    #7B41AB

    oklch(49.7% 0.166 306.5)

  • #506F00

    #506F00

    oklch(49.9% 0.128 126.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B41AB

    #7B41AB

    oklch(49.7% 0.166 306.5)

  • #4D52BE

    #4D52BE

    oklch(49.6% 0.166 276.5)

  • #993285

    #993285

    oklch(49.7% 0.167 336.4)

Open the analogous palette in the generator

Split complementary

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

  • #7B41AB

    #7B41AB

    oklch(49.7% 0.166 306.5)

  • #746200

    #746200

    oklch(49.9% 0.103 96.5)

  • #007645

    #007645

    oklch(49.8% 0.12 156.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B41AB

    #7B41AB

    oklch(49.7% 0.166 306.5)

  • #8C5400

    #8C5400

    oklch(49.9% 0.11 66.7)

  • #00726A

    #00726A

    oklch(49.7% 0.087 186.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B41AB

    #7B41AB

    oklch(49.7% 0.166 306.5)

  • #AC3104

    #AC3104

    oklch(49.7% 0.166 36.5)

  • #506F00

    #506F00

    oklch(49.9% 0.128 126.4)

  • #006E83

    #006E83

    oklch(49.6% 0.089 217.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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