#7E2587

Closest named color: Purple (#800080). oklch(44.4% 0.17 323.9), rgb(126, 37, 135).

Aa

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

About this color

#7E2587 is a dark, vivid purple. In OKLCH its lightness is 44%, its chroma 0.170 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.036 away. White text reads best on it, at 8.39:1.

Hue familyPurples
Lightnessdark (44%)
Chromavivid (0.170)
Temperaturein between
Nearest namePurple (#800080)
Black text2.50:1
White text8.39:1

Values

HEX#7E2587
RGBrgb(126, 37, 135)
HSLhsl(294, 57%, 34%)
OKLCHoklch(44.4% 0.17 323.9)

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 #7E2587 8.39:1 AAA Lc -92.6 Preferred for body text
Black text on #7E2587 2.50:1 Fails Lc 16.0 Dividers and decoration only
#7E2587 text on white 8.39:1 AAA Lc 88.0 Fine for body text
#7E2587 text on black 2.50:1 Fails Lc -14.2 Not readable

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 800.

  1. Step 50

    50

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F4E4F5

    oklch(93.7% 0.028 324)

  3. Step 200

    200

    #ECCDEE

    oklch(88.4% 0.056 324.1)

  4. Step 300

    300

    #E1ABE5

    oklch(80.9% 0.099 324.2)

  5. Step 400

    400

    #D07BD8

    oklch(70.7% 0.159 323.9)

  6. Step 500

    500

    #C254CD

    oklch(63.1% 0.202 324)

  7. Step 600

    600

    #AD31BA

    oklch(55.6% 0.22 323.8)

  8. Step 700

    700

    #9521A0

    oklch(49.2% 0.205 324.1)

  9. Step 800

    800 (this color)

    #7E2587

    oklch(44.4% 0.17 323.9)

  10. Step 900

    900

    #622168

    oklch(37.7% 0.132 324.3)

  11. Step 950

    950

    #39153D

    oklch(27% 0.083 323.6)

Export this scale for Tailwind in the Tailwind colors tool

#7E2587 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)#05478A0.177
Deuteranopia (no green cones)#3651850.150
Tritanopia (no blue cones)#8036530.100
Achromatopsia (no color)#4D4D4D0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E2587

    #7E2587

    oklch(44.4% 0.17 323.9)

  • #006610

    #006610

    oklch(44.3% 0.144 143.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E2587

    #7E2587

    oklch(44.4% 0.17 323.9)

  • #5C36A6

    #5C36A6

    oklch(44.3% 0.17 293.9)

  • #94145A

    #94145A

    oklch(44.5% 0.17 354.1)

Open the analogous palette in the generator

Split complementary

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

  • #7E2587

    #7E2587

    oklch(44.4% 0.17 323.9)

  • #535900

    #535900

    oklch(44.3% 0.1 114.2)

  • #006250

    #006250

    oklch(44.3% 0.084 174.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E2587

    #7E2587

    oklch(44.4% 0.17 323.9)

  • #6B4E00

    #6B4E00

    oklch(44.3% 0.091 83.8)

  • #005F67

    #005F67

    oklch(44.3% 0.076 204.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E2587

    #7E2587

    oklch(44.4% 0.17 323.9)

  • #813F00

    #813F00

    oklch(44.4% 0.111 54.2)

  • #006610

    #006610

    oklch(44.3% 0.144 143.9)

  • #005B7F

    #005B7F

    oklch(44.4% 0.093 234.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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