#7E1F63

Closest named color: Velvet (#750851). oklch(41.8% 0.149 341.7), rgb(126, 31, 99).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.149)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.26:1
White text9.27:1

Values

HEX#7E1F63
RGBrgb(126, 31, 99)
HSLhsl(317, 61%, 31%)
OKLCHoklch(41.8% 0.149 341.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 #7E1F63 9.27:1 AAA Lc -94.8 Preferred for body text
Black text on #7E1F63 2.26:1 Fails Lc 13.6 Not readable
#7E1F63 text on white 9.27:1 AAA Lc 90.4 Preferred for body text
#7E1F63 text on black 2.26:1 Fails Lc -11.9 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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F7E4EF

    oklch(93.7% 0.025 341.8)

  3. Step 200

    200

    #F1CDE2

    oklch(88.5% 0.049 342.3)

  4. Step 300

    300

    #E8ABD1

    oklch(80.9% 0.086 341.4)

  5. Step 400

    400

    #DA7BB9

    oklch(70.6% 0.139 341.7)

  6. Step 500

    500

    #CE56A8

    oklch(63.2% 0.178 341.7)

  7. Step 600

    600

    #B93593

    oklch(55.7% 0.194 341.7)

  8. Step 700

    700

    #9F267D

    oklch(49.2% 0.18 341.8)

  9. Step 800

    800 (this color)

    #7E1F63

    oklch(41.8% 0.149 341.7)

  10. Step 900

    900

    #682253

    oklch(37.7% 0.117 341.5)

  11. Step 950

    950

    #3D1530

    oklch(26.9% 0.073 342)

Export this scale for Tailwind in the Tailwind colors tool

#7E1F63 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)#273D650.164
Deuteranopia (no green cones)#454D610.143
Tritanopia (no blue cones)#86203E0.066
Achromatopsia (no color)#4747470.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E1F63

    #7E1F63

    oklch(41.8% 0.149 341.7)

  • #005C3C

    #005C3C

    oklch(41.9% 0.093 161.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E1F63

    #7E1F63

    oklch(41.8% 0.149 341.7)

  • #672C86

    #672C86

    oklch(41.8% 0.149 311.8)

  • #8A1837

    #8A1837

    oklch(41.8% 0.148 11.6)

Open the analogous palette in the generator

Split complementary

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

  • #7E1F63

    #7E1F63

    oklch(41.8% 0.149 341.7)

  • #345800

    #345800

    oklch(41.7% 0.115 131.5)

  • #005956

    #005956

    oklch(41.9% 0.072 190.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E1F63

    #7E1F63

    oklch(41.8% 0.149 341.7)

  • #574D00

    #574D00

    oklch(41.7% 0.087 100.8)

  • #00556A

    #00556A

    oklch(41.7% 0.077 221.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E1F63

    #7E1F63

    oklch(41.8% 0.149 341.7)

  • #6A4300

    #6A4300

    oklch(41.8% 0.09 72)

  • #005C3C

    #005C3C

    oklch(41.9% 0.093 161.2)

  • #004D8D

    #004D8D

    oklch(41.8% 0.124 251.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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