#7B4AB5

Closest named color: Iris (#6258C4). oklch(51.7% 0.165 302.1), rgb(123, 74, 181).

Aa

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

About this color

#7B4AB5 is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.165 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.054 away. White text reads best on it, at 6.01:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.165)
Temperaturein between
Nearest nameIris (#6258C4)
Black text3.48:1
White text6.01:1

Values

HEX#7B4AB5
RGBrgb(123, 74, 181)
HSLhsl(267, 42%, 50%)
OKLCHoklch(51.7% 0.165 302.1)

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 #7B4AB5 6.01:1 AA Lc -84.9 Fine for body text
Black text on #7B4AB5 3.48:1 AA large text Lc 24.4 Dividers and decoration only
#7B4AB5 text on white 6.01:1 AA Lc 79.7 Fine for body text
#7B4AB5 text on black 3.48:1 AA large text Lc -22.1 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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #ECE7F7

    oklch(93.7% 0.022 300.2)

  3. Step 200

    200

    #DED3F2

    oklch(88.5% 0.044 301.7)

  4. Step 300

    300

    #CAB5EC

    oklch(80.9% 0.079 302.1)

  5. Step 400

    400

    #B08CE2

    oklch(70.7% 0.128 302.5)

  6. Step 500

    500

    #9D6DDA

    oklch(63.1% 0.163 302.3)

  7. Step 600

    600

    #8852C7

    oklch(55.5% 0.177 302.3)

  8. Step 700

    700 (this color)

    #7B4AB5

    oklch(51.7% 0.165 302.1)

  9. Step 800

    800

    #5E378C

    oklch(42.7% 0.137 302.1)

  10. Step 900

    900

    #4D3170

    oklch(37.8% 0.106 302.1)

  11. Step 950

    950

    #2D1D41

    oklch(27% 0.067 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#7B4AB5 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)#1562B80.128
Deuteranopia (no green cones)#2D62B30.115
Tritanopia (no blue cones)#7060780.124
Achromatopsia (no color)#6363630.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B4AB5

    #7B4AB5

    oklch(51.7% 0.165 302.1)

  • #5C7300

    #5C7300

    oklch(51.8% 0.126 122.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B4AB5

    #7B4AB5

    oklch(51.7% 0.165 302.1)

  • #4A5CC5

    #4A5CC5

    oklch(51.8% 0.164 272.1)

  • #9B3B91

    #9B3B91

    oklch(51.6% 0.164 332)

Open the analogous palette in the generator

Split complementary

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

  • #7B4AB5

    #7B4AB5

    oklch(51.7% 0.165 302.1)

  • #7E6500

    #7E6500

    oklch(51.7% 0.106 91.8)

  • #007D3E

    #007D3E

    oklch(51.6% 0.136 152)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B4AB5

    #7B4AB5

    oklch(51.7% 0.165 302.1)

  • #975600

    #975600

    oklch(51.8% 0.119 62.6)

  • #00796C

    #00796C

    oklch(51.7% 0.093 182)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B4AB5

    #7B4AB5

    oklch(51.7% 0.165 302.1)

  • #B33622

    #B33622

    oklch(51.7% 0.165 31.8)

  • #5C7300

    #5C7300

    oklch(51.8% 0.126 122.4)

  • #007586

    #007586

    oklch(51.6% 0.09 212.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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