#7F3DA5

Closest named color: Purply (#983FB2). oklch(49.3% 0.167 311), rgb(127, 61, 165).

Aa

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

About this color

#7F3DA5 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.167 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.052 away. White text reads best on it, at 6.74:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.167)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.11:1
White text6.74:1

Values

HEX#7F3DA5
RGBrgb(127, 61, 165)
HSLhsl(278, 46%, 44%)
OKLCHoklch(49.3% 0.167 311)

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 #7F3DA5 6.74:1 AA Lc -87.7 Fine for body text
Black text on #7F3DA5 3.11:1 AA large text Lc 21.3 Dividers and decoration only
#7F3DA5 text on white 6.74:1 AA Lc 82.7 Fine for body text
#7F3DA5 text on black 3.11:1 AA large text Lc -19.2 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

    #F8F4FB

    oklch(97.2% 0.01 311.2)

  2. Step 100

    100

    #EFE6F6

    oklch(93.7% 0.023 310.7)

  3. Step 200

    200

    #E3D1EF

    oklch(88.4% 0.045 312)

  4. Step 300

    300

    #D1B2E7

    oklch(80.8% 0.08 311)

  5. Step 400

    400

    #BA88DC

    oklch(70.6% 0.13 310.7)

  6. Step 500

    500

    #A968D2

    oklch(63.1% 0.165 310.8)

  7. Step 600

    600

    #944CBF

    oklch(55.5% 0.18 310.7)

  8. Step 700

    700 (this color)

    #7F3DA5

    oklch(49.3% 0.167 311)

  9. Step 800

    800

    #673385

    oklch(42.7% 0.138 311.2)

  10. Step 900

    900

    #542E6B

    oklch(37.8% 0.107 311.1)

  11. Step 950

    950

    #311B3F

    oklch(27% 0.069 310.8)

Export this scale for Tailwind in the Tailwind colors tool

#7F3DA5 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)#0E58A80.150
Deuteranopia (no green cones)#325DA30.132
Tritanopia (no blue cones)#7A516B0.115
Achromatopsia (no color)#5B5B5B0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F3DA5

    #7F3DA5

    oklch(49.3% 0.167 311)

  • #457000

    #457000

    oklch(49.4% 0.135 131)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F3DA5

    #7F3DA5

    oklch(49.3% 0.167 311)

  • #554EBC

    #554EBC

    oklch(49.3% 0.167 281.2)

  • #9B2E7D

    #9B2E7D

    oklch(49.2% 0.167 340.8)

Open the analogous palette in the generator

Split complementary

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

  • #7F3DA5

    #7F3DA5

    oklch(49.3% 0.167 311)

  • #6E6200

    #6E6200

    oklch(49.2% 0.103 101)

  • #00744C

    #00744C

    oklch(49.4% 0.11 160.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F3DA5

    #7F3DA5

    oklch(49.3% 0.167 311)

  • #865500

    #865500

    oklch(49.3% 0.106 71.2)

  • #00706D

    #00706D

    oklch(49.2% 0.085 191.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F3DA5

    #7F3DA5

    oklch(49.3% 0.167 311)

  • #A43900

    #A43900

    oklch(49.2% 0.152 40.9)

  • #457000

    #457000

    oklch(49.4% 0.135 131)

  • #006C85

    #006C85

    oklch(49.2% 0.09 221.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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