#7F3EA9

Closest named color: Purply (#983FB2). oklch(49.7% 0.17 309.6), rgb(127, 62, 169).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.170)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.16:1
White text6.63:1

Values

HEX#7F3EA9
RGBrgb(127, 62, 169)
HSLhsl(276, 46%, 45%)
OKLCHoklch(49.7% 0.17 309.6)

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 #7F3EA9 6.63:1 AA Lc -87.3 Fine for body text
Black text on #7F3EA9 3.16:1 AA large text Lc 21.8 Dividers and decoration only
#7F3EA9 text on white 6.63:1 AA Lc 82.3 Fine for body text
#7F3EA9 text on black 3.16:1 AA large text Lc -19.6 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

    #E2D1F0

    oklch(88.4% 0.046 309.9)

  4. Step 300

    300

    #D1B2E9

    oklch(80.9% 0.083 310.1)

  5. Step 400

    400

    #B988DE

    oklch(70.6% 0.132 309.5)

  6. Step 500

    500

    #A868D4

    oklch(63.1% 0.167 309.8)

  7. Step 600

    600

    #934CC2

    oklch(55.6% 0.183 309.4)

  8. Step 700

    700 (this color)

    #7F3EA9

    oklch(49.7% 0.17 309.6)

  9. Step 800

    800

    #663387

    oklch(42.7% 0.139 309.7)

  10. Step 900

    900

    #532E6C

    oklch(37.8% 0.108 309.7)

  11. Step 950

    950

    #311B3F

    oklch(27% 0.069 310.8)

Export this scale for Tailwind in the Tailwind colors tool

#7F3EA9 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)#065AAC0.151
Deuteranopia (no green cones)#2F5DA70.132
Tritanopia (no blue cones)#79536E0.117
Achromatopsia (no color)#5C5C5C0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F3EA9

    #7F3EA9

    oklch(49.7% 0.17 309.6)

  • #497000

    #497000

    oklch(49.7% 0.133 129.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F3EA9

    #7F3EA9

    oklch(49.7% 0.17 309.6)

  • #5350BF

    #5350BF

    oklch(49.7% 0.169 279.5)

  • #9C2F81

    #9C2F81

    oklch(49.7% 0.17 339.3)

Open the analogous palette in the generator

Split complementary

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

  • #7F3EA9

    #7F3EA9

    oklch(49.7% 0.17 309.6)

  • #716300

    #716300

    oklch(49.8% 0.103 99.6)

  • #00754B

    #00754B

    oklch(49.6% 0.113 159.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F3EA9

    #7F3EA9

    oklch(49.7% 0.17 309.6)

  • #895500

    #895500

    oklch(49.7% 0.108 69.3)

  • #00726D

    #00726D

    oklch(49.8% 0.086 189.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F3EA9

    #7F3EA9

    oklch(49.7% 0.17 309.6)

  • #A83700

    #A83700

    oklch(49.7% 0.157 39.5)

  • #497000

    #497000

    oklch(49.7% 0.133 129.6)

  • #006E85

    #006E85

    oklch(49.7% 0.09 219)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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