#7E72A2

Closest named color: Dark Lavender (#856798). oklch(58.2% 0.074 295.5), rgb(126, 114, 162).

Aa

Black text reads best on this color (4.81:1).

About this color

#7E72A2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 58%, its chroma 0.074 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.030 away. Black text reads best on it, at 4.81:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.074)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.81:1
White text4.36:1

Values

HEX#7E72A2
RGBrgb(126, 114, 162)
HSLhsl(255, 21%, 54%)
OKLCHoklch(58.2% 0.074 295.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 #7E72A2 4.36:1 AA large text Lc -75.7 Fine for body text
Black text on #7E72A2 4.81:1 AA Lc 33.9 Non-text elements, placeholder text
#7E72A2 text on white 4.36:1 AA large text Lc 70.2 Content text, not long reading
#7E72A2 text on black 4.81:1 AA Lc -31.5 Non-text elements, placeholder text

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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #EAE9F0

    oklch(93.7% 0.009 292.8)

  3. Step 200

    200

    #DAD7E4

    oklch(88.5% 0.018 296.6)

  4. Step 300

    300

    #C2BDD4

    oklch(81% 0.032 295.6)

  5. Step 400

    400

    #A39ABF

    oklch(70.7% 0.054 296.1)

  6. Step 500

    500

    #8C81AE

    oklch(63% 0.068 295.6)

  7. Step 600

    600 (this color)

    #7E72A2

    oklch(58.2% 0.074 295.5)

  8. Step 700

    700

    #645984

    oklch(49.2% 0.069 295.5)

  9. Step 800

    800

    #51496B

    oklch(42.8% 0.056 294.7)

  10. Step 900

    900

    #433D57

    oklch(37.7% 0.044 294.8)

  11. Step 950

    950

    #272433

    oklch(27% 0.028 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#7E72A2 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)#6779A40.036
Deuteranopia (no green cones)#6878A10.035
Tritanopia (no blue cones)#777A830.061
Achromatopsia (no color)#7979790.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E72A2

    #7E72A2

    oklch(58.2% 0.074 295.5)

  • #79804C

    #79804C

    oklch(58.1% 0.074 115)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E72A2

    #7E72A2

    oklch(58.2% 0.074 295.5)

  • #667AA7

    #667AA7

    oklch(58.2% 0.074 265.7)

  • #926C93

    #926C93

    oklch(58.3% 0.074 325.6)

Open the analogous palette in the generator

Split complementary

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

  • #7E72A2

    #7E72A2

    oklch(58.2% 0.074 295.5)

  • #8F7846

    #8F7846

    oklch(58.3% 0.074 85.5)

  • #5E8760

    #5E8760

    oklch(58.2% 0.074 145.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E72A2

    #7E72A2

    oklch(58.2% 0.074 295.5)

  • #9D6F50

    #9D6F50

    oklch(58.1% 0.074 54.7)

  • #468979

    #468979

    oklch(58.1% 0.073 176.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E72A2

    #7E72A2

    oklch(58.2% 0.074 295.5)

  • #A26A64

    #A26A64

    oklch(58.2% 0.073 26.2)

  • #79804C

    #79804C

    oklch(58.1% 0.074 115)

  • #3E8790

    #3E8790

    oklch(58.1% 0.074 206.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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