#7F3EAA

Closest named color: Purply (#983FB2). oklch(49.7% 0.171 309.2), rgb(127, 62, 170).

Aa

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

About this color

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

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

Values

HEX#7F3EAA
RGBrgb(127, 62, 170)
HSLhsl(276, 47%, 45%)
OKLCHoklch(49.7% 0.171 309.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 #7F3EAA 6.62:1 AA Lc -87.3 Fine for body text
Black text on #7F3EAA 3.17:1 AA large text Lc 21.9 Dividers and decoration only
#7F3EAA text on white 6.62:1 AA Lc 82.2 Fine for body text
#7F3EAA text on black 3.17:1 AA large text Lc -19.7 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

    #EEE6F6

    oklch(93.6% 0.023 308.2)

  3. Step 200

    200

    #E2D1F1

    oklch(88.4% 0.047 309.2)

  4. Step 300

    300

    #D0B2E9

    oklch(80.8% 0.083 309.3)

  5. Step 400

    400

    #B988DF

    oklch(70.7% 0.133 309.2)

  6. Step 500

    500

    #A768D5

    oklch(63.1% 0.168 309.1)

  7. Step 600

    600

    #934CC2

    oklch(55.6% 0.183 309.4)

  8. Step 700

    700 (this color)

    #7F3EAA

    oklch(49.7% 0.171 309.2)

  9. Step 800

    800

    #663288

    oklch(42.7% 0.142 309.5)

  10. Step 900

    900

    #532D6D

    oklch(37.7% 0.111 309.5)

  11. Step 950

    950

    #301B40

    oklch(26.9% 0.07 308.6)

Export this scale for Tailwind in the Tailwind colors tool

#7F3EAA 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)#025AAD0.151
Deuteranopia (no green cones)#2E5EA80.133
Tritanopia (no blue cones)#79536E0.119
Achromatopsia (no color)#5D5D5D0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F3EAA

    #7F3EAA

    oklch(49.7% 0.171 309.2)

  • #4A7000

    #4A7000

    oklch(49.7% 0.132 129.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F3EAA

    #7F3EAA

    oklch(49.7% 0.171 309.2)

  • #5250C0

    #5250C0

    oklch(49.7% 0.171 279)

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

  • #7F3EAA

    #7F3EAA

    oklch(49.7% 0.171 309.2)

  • #716300

    #716300

    oklch(49.8% 0.103 99.6)

  • #00764A

    #00764A

    oklch(49.9% 0.115 158.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F3EAA

    #7F3EAA

    oklch(49.7% 0.171 309.2)

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

  • #7F3EAA

    #7F3EAA

    oklch(49.7% 0.171 309.2)

  • #A93600

    #A93600

    oklch(49.7% 0.159 39)

  • #4A7000

    #4A7000

    oklch(49.7% 0.132 129.2)

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

Similar named colors

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

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