#7E5FB6

Closest named color: Deep Lavender (#8D5EB7). oklch(55.6% 0.133 298.4), rgb(126, 95, 182).

Aa

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

About this color

#7E5FB6 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 56%, its chroma 0.133 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.026 away. White text reads best on it, at 5.00:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.133)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.19:1
White text5.00:1

Values

HEX#7E5FB6
RGBrgb(126, 95, 182)
HSLhsl(261, 37%, 54%)
OKLCHoklch(55.6% 0.133 298.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 #7E5FB6 5.00:1 AA Lc -79.8 Fine for body text
Black text on #7E5FB6 4.19:1 AA large text Lc 29.7 Dividers and decoration only
#7E5FB6 text on white 5.00:1 AA Lc 74.4 Content text, not long reading
#7E5FB6 text on black 4.19:1 AA large text Lc -27.3 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 600.

  1. Step 50

    50

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EBE8F4

    oklch(93.7% 0.016 297.5)

  3. Step 200

    200

    #DBD5ED

    oklch(88.5% 0.033 297.2)

  4. Step 300

    300

    #C5B9E3

    oklch(80.9% 0.06 298.1)

  5. Step 400

    400

    #A893D5

    oklch(70.6% 0.097 298.5)

  6. Step 500

    500

    #9378C9

    oklch(63.1% 0.122 298.2)

  7. Step 600

    600 (this color)

    #7E5FB6

    oklch(55.6% 0.133 298.4)

  8. Step 700

    700

    #6B4E9D

    oklch(49.2% 0.125 298.7)

  9. Step 800

    800

    #57407F

    oklch(42.7% 0.103 298.8)

  10. Step 900

    900

    #473766

    oklch(37.7% 0.08 298.2)

  11. Step 950

    950

    #2A213C

    oklch(27.2% 0.05 298.4)

Export this scale for Tailwind in the Tailwind colors tool

#7E5FB6 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)#436FB90.086
Deuteranopia (no green cones)#4A6FB40.080
Tritanopia (no blue cones)#726F820.104
Achromatopsia (no color)#6F6F6F0.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E5FB6

    #7E5FB6

    oklch(55.6% 0.133 298.4)

  • #6C7D00

    #6C7D00

    oklch(55.6% 0.13 118.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E5FB6

    #7E5FB6

    oklch(55.6% 0.133 298.4)

  • #526DC1

    #526DC1

    oklch(55.5% 0.134 268.4)

  • #9C539A

    #9C539A

    oklch(55.5% 0.134 328.2)

Open the analogous palette in the generator

Split complementary

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

  • #7E5FB6

    #7E5FB6

    oklch(55.6% 0.133 298.4)

  • #8E6E00

    #8E6E00

    oklch(55.4% 0.113 88.4)

  • #2D8844

    #2D8844

    oklch(55.6% 0.134 148.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E5FB6

    #7E5FB6

    oklch(55.6% 0.133 298.4)

  • #AB5C00

    #AB5C00

    oklch(55.6% 0.133 58.3)

  • #008674

    #008674

    oklch(55.5% 0.101 178.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E5FB6

    #7E5FB6

    oklch(55.6% 0.133 298.4)

  • #B44F44

    #B44F44

    oklch(55.5% 0.134 28.4)

  • #6C7D00

    #6C7D00

    oklch(55.6% 0.13 118.8)

  • #008291

    #008291

    oklch(55.5% 0.096 208.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7E5FB6.

Similar named colors

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

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