#7B4B98

Closest named color: Light Eggplant (#894585). oklch(50.1% 0.128 311.4), rgb(123, 75, 152).

Aa

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

About this color

#7B4B98 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 50%, its chroma 0.128 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.040 away. White text reads best on it, at 6.35:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.30:1
White text6.35:1

Values

HEX#7B4B98
RGBrgb(123, 75, 152)
HSLhsl(277, 34%, 45%)
OKLCHoklch(50.1% 0.128 311.4)

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 #7B4B98 6.35:1 AA Lc -86.5 Fine for body text
Black text on #7B4B98 3.30:1 AA large text Lc 22.7 Dividers and decoration only
#7B4B98 text on white 6.35:1 AA Lc 81.4 Fine for body text
#7B4B98 text on black 3.30:1 AA large text Lc -20.5 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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EEE7F3

    oklch(93.7% 0.018 311.6)

  3. Step 200

    200

    #E1D3EA

    oklch(88.5% 0.035 312.4)

  4. Step 300

    300

    #CEB6DE

    oklch(80.9% 0.061 311.8)

  5. Step 400

    400

    #B58FCE

    oklch(70.8% 0.099 311.4)

  6. Step 500

    500

    #A272C1

    oklch(63.1% 0.126 311.1)

  7. Step 600

    600

    #8D59AD

    oklch(55.6% 0.136 311.3)

  8. Step 700

    700 (this color)

    #7B4B98

    oklch(50.1% 0.128 311.4)

  9. Step 800

    800

    #623C79

    oklch(42.8% 0.106 311.4)

  10. Step 900

    900

    #503461

    oklch(37.8% 0.081 311.7)

  11. Step 950

    950

    #2F1F39

    oklch(27.1% 0.051 311.6)

Export this scale for Tailwind in the Tailwind colors tool

#7B4B98 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)#385D9B0.105
Deuteranopia (no green cones)#4660960.095
Tritanopia (no blue cones)#78576A0.089
Achromatopsia (no color)#5F5F5F0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B4B98

    #7B4B98

    oklch(50.1% 0.128 311.4)

  • #487114

    #487114

    oklch(50% 0.127 131.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B4B98

    #7B4B98

    oklch(50.1% 0.128 311.4)

  • #5958AA

    #5958AA

    oklch(50.2% 0.128 281.3)

  • #924278

    #924278

    oklch(50.1% 0.127 341.6)

Open the analogous palette in the generator

Split complementary

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

  • #7B4B98

    #7B4B98

    oklch(50.1% 0.128 311.4)

  • #706500

    #706500

    oklch(50.1% 0.105 102)

  • #00764F

    #00764F

    oklch(50% 0.11 161.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B4B98

    #7B4B98

    oklch(50.1% 0.128 311.4)

  • #895700

    #895700

    oklch(50.1% 0.108 71.2)

  • #007370

    #007370

    oklch(50.2% 0.086 191.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B4B98

    #7B4B98

    oklch(50.1% 0.128 311.4)

  • #9E4521

    #9E4521

    oklch(50.1% 0.128 41)

  • #487114

    #487114

    oklch(50% 0.127 131.3)

  • #006F89

    #006F89

    oklch(50.2% 0.092 221.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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