#7A508F

Closest named color: Light Eggplant (#894585). oklch(50.3% 0.107 313.7), rgb(122, 80, 143).

Aa

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

About this color

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

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

Values

HEX#7A508F
RGBrgb(122, 80, 143)
HSLhsl(280, 28%, 44%)
OKLCHoklch(50.3% 0.107 313.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 #7A508F 6.22:1 AA Lc -86.0 Fine for body text
Black text on #7A508F 3.37:1 AA large text Lc 23.2 Dividers and decoration only
#7A508F text on white 6.22:1 AA Lc 80.9 Fine for body text
#7A508F text on black 3.37:1 AA large text Lc -21.0 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EDE7F1

    oklch(93.6% 0.015 312.2)

  3. Step 200

    200

    #E0D4E7

    oklch(88.5% 0.029 313.3)

  4. Step 300

    300

    #CDB7D9

    oklch(80.9% 0.053 313.7)

  5. Step 400

    400

    #B391C5

    oklch(70.6% 0.083 313.7)

  6. Step 500

    500

    #A175B7

    oklch(63.1% 0.108 314)

  7. Step 600

    600

    #8B5DA3

    oklch(55.5% 0.116 313.3)

  8. Step 700

    700 (this color)

    #7A508F

    oklch(50.3% 0.107 313.7)

  9. Step 800

    800

    #603F71

    oklch(42.7% 0.089 313.4)

  10. Step 900

    900

    #4F365B

    oklch(37.7% 0.069 314.3)

  11. Step 950

    950

    #2E2036

    oklch(27.1% 0.044 312.7)

Export this scale for Tailwind in the Tailwind colors tool

#7A508F 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)#445E910.088
Deuteranopia (no green cones)#4F628D0.080
Tritanopia (no blue cones)#7859690.073
Achromatopsia (no color)#6161610.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A508F

    #7A508F

    oklch(50.3% 0.107 313.7)

  • #4A712C

    #4A712C

    oklch(50.3% 0.108 133.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A508F

    #7A508F

    oklch(50.3% 0.107 313.7)

  • #5D5A9F

    #5D5A9F

    oklch(50.3% 0.108 283.8)

  • #8E4973

    #8E4973

    oklch(50.4% 0.107 344.3)

Open the analogous palette in the generator

Split complementary

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

  • #7A508F

    #7A508F

    oklch(50.3% 0.107 313.7)

  • #6F6600

    #6F6600

    oklch(50.3% 0.106 103.5)

  • #017753

    #017753

    oklch(50.4% 0.108 163.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A508F

    #7A508F

    oklch(50.3% 0.107 313.7)

  • #885900

    #885900

    oklch(50.3% 0.107 73.6)

  • #007372

    #007372

    oklch(50.3% 0.086 193.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A508F

    #7A508F

    oklch(50.3% 0.107 313.7)

  • #964D2D

    #964D2D

    oklch(50.3% 0.108 43.3)

  • #4A712C

    #4A712C

    oklch(50.3% 0.108 133.6)

  • #006F8C

    #006F8C

    oklch(50.3% 0.095 224.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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