#7F1F63

Closest named color: Velvet (#750851). oklch(42% 0.149 342.2), rgb(127, 31, 99).

Aa

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

About this color

#7F1F63 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.044 away. White text reads best on it, at 9.21:1.

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

Values

HEX#7F1F63
RGBrgb(127, 31, 99)
HSLhsl(318, 61%, 31%)
OKLCHoklch(42% 0.149 342.2)

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 #7F1F63 9.21:1 AAA Lc -94.6 Preferred for body text
Black text on #7F1F63 2.27:1 Fails Lc 13.8 Not readable
#7F1F63 text on white 9.21:1 AAA Lc 90.2 Preferred for body text
#7F1F63 text on black 2.27:1 Fails Lc -12.1 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

    #FBF2F8

    oklch(97% 0.012 337.5)

  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

    #E9ABD0

    oklch(81% 0.087 342.7)

  5. Step 400

    400

    #DB7BB9

    oklch(70.7% 0.14 342)

  6. Step 500

    500

    #CE55A7

    oklch(63.1% 0.178 342.1)

  7. Step 600

    600

    #B93492

    oklch(55.5% 0.194 342.1)

  8. Step 700

    700

    #9F257C

    oklch(49% 0.18 342.2)

  9. Step 800

    800 (this color)

    #7F1F63

    oklch(42% 0.149 342.2)

  10. Step 900

    900

    #682252

    oklch(37.6% 0.116 342.2)

  11. Step 950

    950

    #3D1530

    oklch(26.9% 0.073 342)

Export this scale for Tailwind in the Tailwind colors tool

#7F1F63 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)#283E650.165
Deuteranopia (no green cones)#464D610.143
Tritanopia (no blue cones)#87203E0.066
Achromatopsia (no color)#4848480.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F1F63

    #7F1F63

    oklch(42% 0.149 342.2)

  • #005C3D

    #005C3D

    oklch(42% 0.092 161.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F1F63

    #7F1F63

    oklch(42% 0.149 342.2)

  • #682C86

    #682C86

    oklch(42% 0.15 312.4)

  • #8B1836

    #8B1836

    oklch(41.9% 0.149 12.4)

Open the analogous palette in the generator

Split complementary

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

  • #7F1F63

    #7F1F63

    oklch(42% 0.149 342.2)

  • #335900

    #335900

    oklch(41.9% 0.117 132.2)

  • #005957

    #005957

    oklch(41.9% 0.072 192.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F1F63

    #7F1F63

    oklch(42% 0.149 342.2)

  • #574E00

    #574E00

    oklch(42% 0.088 101.8)

  • #00566B

    #00566B

    oklch(42% 0.077 221.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F1F63

    #7F1F63

    oklch(42% 0.149 342.2)

  • #6A4300

    #6A4300

    oklch(41.8% 0.09 72)

  • #005C3D

    #005C3D

    oklch(42% 0.092 161.9)

  • #004D8F

    #004D8F

    oklch(41.9% 0.127 252.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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