#7F4FB2

Closest named color: Deep Lavender (#8D5EB7). oklch(52.8% 0.154 304), rgb(127, 79, 178).

Aa

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

About this color

#7F4FB2 is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.154 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.045 away. White text reads best on it, at 5.73:1.

Hue familyPurples
Lightnessmedium-dark (53%)
Chromavivid (0.154)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text3.66:1
White text5.73:1

Values

HEX#7F4FB2
RGBrgb(127, 79, 178)
HSLhsl(269, 39%, 50%)
OKLCHoklch(52.8% 0.154 304)

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 #7F4FB2 5.73:1 AA Lc -83.6 Fine for body text
Black text on #7F4FB2 3.66:1 AA large text Lc 25.7 Dividers and decoration only
#7F4FB2 text on white 5.73:1 AA Lc 78.3 Fine for body text
#7F4FB2 text on black 3.66:1 AA large text Lc -23.4 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 600.

  1. Step 50

    50

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE7F5

    oklch(93.7% 0.02 305.3)

  3. Step 200

    200

    #DED3EE

    oklch(88.4% 0.038 304)

  4. Step 300

    300

    #CAB6E6

    oklch(80.9% 0.07 303.8)

  5. Step 400

    400

    #B08FD9

    oklch(70.8% 0.111 304.2)

  6. Step 500

    500

    #9C71CE

    oklch(63% 0.141 304)

  7. Step 600

    600 (this color)

    #7F4FB2

    oklch(52.8% 0.154 304)

  8. Step 700

    700

    #7347A1

    oklch(49.1% 0.143 304.2)

  9. Step 800

    800

    #5D3B83

    oklch(42.7% 0.119 303.6)

  10. Step 900

    900

    #4C3369

    oklch(37.6% 0.093 303.6)

  11. Step 950

    950

    #2D1E3D

    oklch(26.9% 0.059 305.1)

Export this scale for Tailwind in the Tailwind colors tool

#7F4FB2 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)#2A65B50.119
Deuteranopia (no green cones)#3B66B00.108
Tritanopia (no blue cones)#7662790.114
Achromatopsia (no color)#6666660.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F4FB2

    #7F4FB2

    oklch(52.8% 0.154 304)

  • #5C7700

    #5C7700

    oklch(52.8% 0.131 123.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F4FB2

    #7F4FB2

    oklch(52.8% 0.154 304)

  • #525FC2

    #525FC2

    oklch(52.7% 0.154 274.3)

  • #9D428F

    #9D428F

    oklch(52.7% 0.153 333.9)

Open the analogous palette in the generator

Split complementary

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

  • #7F4FB2

    #7F4FB2

    oklch(52.8% 0.154 304)

  • #806900

    #806900

    oklch(52.8% 0.108 93.8)

  • #008045

    #008045

    oklch(52.6% 0.133 153.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F4FB2

    #7F4FB2

    oklch(52.8% 0.154 304)

  • #9A5900

    #9A5900

    oklch(52.7% 0.12 63.5)

  • #007C71

    #007C71

    oklch(52.7% 0.093 184.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F4FB2

    #7F4FB2

    oklch(52.8% 0.154 304)

  • #B24027

    #B24027

    oklch(52.7% 0.154 33.9)

  • #5C7700

    #5C7700

    oklch(52.8% 0.131 123.9)

  • #00788C

    #00788C

    oklch(52.7% 0.093 214.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7F4FB2.

Similar named colors

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

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