#7F39C5

Closest named color: Blue Violet (#8A2BE2). oklch(51.1% 0.206 302.4), rgb(127, 57, 197).

Aa

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

About this color

#7F39C5 is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.206 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Blue Violet (#8A2BE2), ΔE 0.050 away. White text reads best on it, at 6.37:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.206)
Temperaturein between
Nearest nameBlue Violet (#8A2BE2)
Black text3.29:1
White text6.37:1

Values

HEX#7F39C5
RGBrgb(127, 57, 197)
HSLhsl(270, 55%, 50%)
OKLCHoklch(51.1% 0.206 302.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 #7F39C5 6.37:1 AA Lc -86.0 Fine for body text
Black text on #7F39C5 3.29:1 AA large text Lc 23.2 Dividers and decoration only
#7F39C5 text on white 6.37:1 AA Lc 80.9 Fine for body text
#7F39C5 text on black 3.29:1 AA large text Lc -21.0 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 700.

  1. Step 50

    50

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EDE6FA

    oklch(93.6% 0.028 301.7)

  3. Step 200

    200

    #E0D1F8

    oklch(88.5% 0.055 302.8)

  4. Step 300

    300

    #CDB1F6

    oklch(80.8% 0.1 302.8)

  5. Step 400

    400

    #B485F2

    oklch(70.6% 0.16 302.4)

  6. Step 500

    500

    #A362ED

    oklch(63.2% 0.203 302.5)

  7. Step 600

    600

    #8E42DB

    oklch(55.5% 0.221 302.4)

  8. Step 700

    700 (this color)

    #7F39C5

    oklch(51.1% 0.206 302.4)

  9. Step 800

    800

    #632B9A

    oklch(42.7% 0.171 302.7)

  10. Step 900

    900

    #50297A

    oklch(37.6% 0.133 302.6)

  11. Step 950

    950

    #2F1948

    oklch(27% 0.085 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#7F39C5 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)#005EC90.150
Deuteranopia (no green cones)#005FC20.152
Tritanopia (no blue cones)#705B7B0.152
Achromatopsia (no color)#5F5F5F0.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F39C5

    #7F39C5

    oklch(51.1% 0.206 302.4)

  • #5A7100

    #5A7100

    oklch(51.1% 0.125 122.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F39C5

    #7F39C5

    oklch(51.1% 0.206 302.4)

  • #4451D9

    #4451D9

    oklch(51% 0.206 272.5)

  • #A42198

    #A42198

    oklch(51% 0.206 332.4)

Open the analogous palette in the generator

Split complementary

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

  • #7F39C5

    #7F39C5

    oklch(51.1% 0.206 302.4)

  • #7B6400

    #7B6400

    oklch(51.1% 0.105 93.1)

  • #007B3E

    #007B3E

    oklch(51.1% 0.133 152.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F39C5

    #7F39C5

    oklch(51.1% 0.206 302.4)

  • #945400

    #945400

    oklch(51% 0.117 62.4)

  • #00776B

    #00776B

    oklch(51.1% 0.091 182.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F39C5

    #7F39C5

    oklch(51.1% 0.206 302.4)

  • #BB2100

    #BB2100

    oklch(51.1% 0.192 32.4)

  • #5A7100

    #5A7100

    oklch(51.1% 0.125 122.6)

  • #007384

    #007384

    oklch(51% 0.089 212.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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