#7E1F5E

Closest named color: Velvet (#750851). oklch(41.6% 0.145 344.6), rgb(126, 31, 94).

Aa

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

About this color

#7E1F5E is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.145 and its hue 345°. Its hue sits on the warm side of the wheel. The nearest named color is Velvet (#750851), ΔE 0.039 away. White text reads best on it, at 9.35:1.

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.145)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.24:1
White text9.35:1

Values

HEX#7E1F5E
RGBrgb(126, 31, 94)
HSLhsl(320, 61%, 31%)
OKLCHoklch(41.6% 0.145 344.6)

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 #7E1F5E 9.35:1 AAA Lc -95.0 Preferred for body text
Black text on #7E1F5E 2.24:1 Fails Lc 13.4 Not readable
#7E1F5E text on white 9.35:1 AAA Lc 90.6 Preferred for body text
#7E1F5E text on black 2.24:1 Fails Lc -11.7 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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F7E4EE

    oklch(93.7% 0.024 344.4)

  3. Step 200

    200

    #F1CDE0

    oklch(88.4% 0.047 345)

  4. Step 300

    300

    #E9ABCE

    oklch(80.9% 0.085 344.3)

  5. Step 400

    400

    #DB7CB4

    oklch(70.7% 0.135 344.8)

  6. Step 500

    500

    #CF56A2

    oklch(63.1% 0.174 344.6)

  7. Step 600

    600

    #BA368D

    oklch(55.6% 0.189 344.6)

  8. Step 700

    700

    #A02778

    oklch(49.2% 0.176 344.5)

  9. Step 800

    800 (this color)

    #7E1F5E

    oklch(41.6% 0.145 344.6)

  10. Step 900

    900

    #69234F

    oklch(37.8% 0.113 345.2)

  11. Step 950

    950

    #3E162F

    oklch(27.2% 0.072 344.5)

Export this scale for Tailwind in the Tailwind colors tool

#7E1F5E 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)#2A3C600.161
Deuteranopia (no green cones)#474C5C0.140
Tritanopia (no blue cones)#871E3C0.061
Achromatopsia (no color)#4747470.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E1F5E

    #7E1F5E

    oklch(41.6% 0.145 344.6)

  • #005A3F

    #005A3F

    oklch(41.4% 0.088 164.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E1F5E

    #7E1F5E

    oklch(41.6% 0.145 344.6)

  • #682B81

    #682B81

    oklch(41.5% 0.146 314.6)

  • #891A32

    #891A32

    oklch(41.6% 0.145 14.7)

Open the analogous palette in the generator

Split complementary

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

  • #7E1F5E

    #7E1F5E

    oklch(41.6% 0.145 344.6)

  • #2C5900

    #2C5900

    oklch(41.5% 0.121 134.7)

  • #005858

    #005858

    oklch(41.7% 0.071 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E1F5E

    #7E1F5E

    oklch(41.6% 0.145 344.6)

  • #544E00

    #544E00

    oklch(41.7% 0.088 104.5)

  • #00546C

    #00546C

    oklch(41.5% 0.079 225.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E1F5E

    #7E1F5E

    oklch(41.6% 0.145 344.6)

  • #674300

    #674300

    oklch(41.4% 0.088 74.4)

  • #005A3F

    #005A3F

    oklch(41.4% 0.088 164.6)

  • #004A93

    #004A93

    oklch(41.5% 0.136 254.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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