#7F3BB1

Closest named color: Purply (#983FB2). oklch(49.8% 0.182 307.5), rgb(127, 59, 177).

Aa

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

About this color

#7F3BB1 is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.182 and its hue 307°. 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.182)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.16:1
White text6.63:1

Values

HEX#7F3BB1
RGBrgb(127, 59, 177)
HSLhsl(275, 50%, 46%)
OKLCHoklch(49.8% 0.182 307.5)

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 #7F3BB1 6.63:1 AA Lc -87.2 Fine for body text
Black text on #7F3BB1 3.16:1 AA large text Lc 21.9 Dividers and decoration only
#7F3BB1 text on white 6.63:1 AA Lc 82.2 Fine for body text
#7F3BB1 text on black 3.16: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

    #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

    #D0B2ED

    oklch(80.9% 0.088 307.6)

  5. Step 400

    400

    #B887E4

    oklch(70.6% 0.141 307.4)

  6. Step 500

    500

    #A765DC

    oklch(63% 0.181 307.6)

  7. Step 600

    600

    #9248CA

    oklch(55.5% 0.197 307.3)

  8. Step 700

    700 (this color)

    #7F3BB1

    oklch(49.8% 0.182 307.5)

  9. Step 800

    800

    #65308D

    oklch(42.6% 0.151 307.4)

  10. Step 900

    900

    #532C71

    oklch(37.8% 0.118 307.8)

  11. Step 950

    950

    #301B42

    oklch(27% 0.073 307)

Export this scale for Tailwind in the Tailwind colors tool

#7F3BB1 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.153
Deuteranopia (no green cones)#215DAE0.143
Tritanopia (no blue cones)#7754710.128
Achromatopsia (no color)#5C5C5C0.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F3BB1

    #7F3BB1

    oklch(49.8% 0.182 307.5)

  • #4E6F00

    #4E6F00

    oklch(49.7% 0.129 127.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F3BB1

    #7F3BB1

    oklch(49.8% 0.182 307.5)

  • #4F4FC7

    #4F4FC7

    oklch(49.9% 0.182 277.5)

  • #9F2987

    #9F2987

    oklch(49.9% 0.183 337.5)

Open the analogous palette in the generator

Split complementary

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

  • #7F3BB1

    #7F3BB1

    oklch(49.8% 0.182 307.5)

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

  • #7F3BB1

    #7F3BB1

    oklch(49.8% 0.182 307.5)

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

  • #7F3BB1

    #7F3BB1

    oklch(49.8% 0.182 307.5)

  • #AC3200

    #AC3200

    oklch(49.8% 0.166 37.3)

  • #4E6F00

    #4E6F00

    oklch(49.7% 0.129 127.3)

  • #006F84

    #006F84

    oklch(49.9% 0.089 216.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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