#7F3AB1

Closest named color: Purply (#983FB2). oklch(49.7% 0.184 307.6), rgb(127, 58, 177).

Aa

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

About this color

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

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

Values

HEX#7F3AB1
RGBrgb(127, 58, 177)
HSLhsl(275, 51%, 46%)
OKLCHoklch(49.7% 0.184 307.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 #7F3AB1 6.68:1 AA Lc -87.4 Fine for body text
Black text on #7F3AB1 3.14:1 AA large text Lc 21.7 Dividers and decoration only
#7F3AB1 text on white 6.68:1 AA Lc 82.3 Fine for body text
#7F3AB1 text on black 3.14: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

    #F7F3FC

    oklch(97% 0.013 306)

  2. Step 100

    100

    #EEE6F8

    oklch(93.6% 0.025 305.8)

  3. Step 200

    200

    #E2D1F3

    oklch(88.5% 0.049 307.8)

  4. Step 300

    300

    #D0B2EE

    oklch(81% 0.089 307.2)

  5. Step 400

    400

    #B987E5

    oklch(70.8% 0.142 307.6)

  6. Step 500

    500

    #A765DD

    oklch(63.1% 0.182 307.4)

  7. Step 600

    600

    #9348CA

    oklch(55.6% 0.197 307.7)

  8. Step 700

    700 (this color)

    #7F3AB1

    oklch(49.7% 0.184 307.6)

  9. Step 800

    800

    #66308E

    oklch(42.8% 0.152 307.6)

  10. Step 900

    900

    #532C71

    oklch(37.8% 0.118 307.8)

  11. Step 950

    950

    #301A42

    oklch(26.9% 0.075 307.5)

Export this scale for Tailwind in the Tailwind colors tool

#7F3AB1 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)#005AB50.154
Deuteranopia (no green cones)#205DAE0.145
Tritanopia (no blue cones)#7754710.130
Achromatopsia (no color)#5C5C5C0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F3AB1

    #7F3AB1

    oklch(49.7% 0.184 307.6)

  • #4D6F00

    #4D6F00

    oklch(49.7% 0.129 127.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F3AB1

    #7F3AB1

    oklch(49.7% 0.184 307.6)

  • #4F4EC7

    #4F4EC7

    oklch(49.7% 0.183 277.8)

  • #9F2886

    #9F2886

    oklch(49.8% 0.183 337.9)

Open the analogous palette in the generator

Split complementary

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

  • #7F3AB1

    #7F3AB1

    oklch(49.7% 0.184 307.6)

  • #736200

    #736200

    oklch(49.8% 0.103 97.3)

  • #007647

    #007647

    oklch(49.8% 0.118 157.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F3AB1

    #7F3AB1

    oklch(49.7% 0.184 307.6)

  • #8B5400

    #8B5400

    oklch(49.7% 0.11 67.2)

  • #00726B

    #00726B

    oklch(49.7% 0.087 187.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F3AB1

    #7F3AB1

    oklch(49.7% 0.184 307.6)

  • #AB3300

    #AB3300

    oklch(49.8% 0.164 37.8)

  • #4D6F00

    #4D6F00

    oklch(49.7% 0.129 127.7)

  • #006E84

    #006E84

    oklch(49.7% 0.089 218)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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