#7F3AC3

Closest named color: Dark Orchid (#9932CC). oklch(51% 0.203 302.8), rgb(127, 58, 195).

Aa

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

About this color

#7F3AC3 is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.203 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Orchid (#9932CC), ΔE 0.051 away. White text reads best on it, at 6.37:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.203)
Temperaturein between
Nearest nameDark Orchid (#9932CC)
Black text3.29:1
White text6.37:1

Values

HEX#7F3AC3
RGBrgb(127, 58, 195)
HSLhsl(270, 54%, 50%)
OKLCHoklch(51% 0.203 302.8)

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 #7F3AC3 6.37:1 AA Lc -86.1 Fine for body text
Black text on #7F3AC3 3.29:1 AA large text Lc 23.1 Dividers and decoration only
#7F3AC3 text on white 6.37:1 AA Lc 80.9 Fine for body text
#7F3AC3 text on black 3.29:1 AA large text Lc -20.9 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

    #CDB1F5

    oklch(80.8% 0.099 303.1)

  5. Step 400

    400

    #B486F0

    oklch(70.7% 0.156 302.6)

  6. Step 500

    500

    #A362EB

    oklch(63.1% 0.201 302.9)

  7. Step 600

    600

    #8F43D9

    oklch(55.6% 0.218 303.1)

  8. Step 700

    700 (this color)

    #7F3AC3

    oklch(51% 0.203 302.8)

  9. Step 800

    800

    #632C98

    oklch(42.7% 0.168 303.2)

  10. Step 900

    900

    #502A79

    oklch(37.7% 0.13 302.7)

  11. Step 950

    950

    #2F1A47

    oklch(27.1% 0.082 302.8)

Export this scale for Tailwind in the Tailwind colors tool

#7F3AC3 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)#005EC70.150
Deuteranopia (no green cones)#005FC00.152
Tritanopia (no blue cones)#715A7A0.148
Achromatopsia (no color)#5F5F5F0.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F3AC3

    #7F3AC3

    oklch(51% 0.203 302.8)

  • #597100

    #597100

    oklch(51.1% 0.125 123.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F3AC3

    #7F3AC3

    oklch(51% 0.203 302.8)

  • #4551D7

    #4551D7

    oklch(50.9% 0.203 272.9)

  • #A42397

    #A42397

    oklch(51.1% 0.203 332.8)

Open the analogous palette in the generator

Split complementary

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

  • #7F3AC3

    #7F3AC3

    oklch(51% 0.203 302.8)

  • #7B6400

    #7B6400

    oklch(51.1% 0.105 93.1)

  • #007B3F

    #007B3F

    oklch(51.1% 0.132 152.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F3AC3

    #7F3AC3

    oklch(51% 0.203 302.8)

  • #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.

  • #7F3AC3

    #7F3AC3

    oklch(51% 0.203 302.8)

  • #BA2300

    #BA2300

    oklch(51% 0.19 32.7)

  • #597100

    #597100

    oklch(51.1% 0.125 123.1)

  • #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 #7F3AC3, closest first.

Similar named colors

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

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