#7F43A1

Closest named color: Light Eggplant (#894585). oklch(49.9% 0.153 311.6), rgb(127, 67, 161).

Aa

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

About this color

#7F43A1 is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.153 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.051 away. White text reads best on it, at 6.52:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.153)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.21:1
White text6.52:1

Values

HEX#7F43A1
RGBrgb(127, 67, 161)
HSLhsl(278, 41%, 45%)
OKLCHoklch(49.9% 0.153 311.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 #7F43A1 6.52:1 AA Lc -87.0 Fine for body text
Black text on #7F43A1 3.21:1 AA large text Lc 22.1 Dividers and decoration only
#7F43A1 text on white 6.52:1 AA Lc 81.9 Fine for body text
#7F43A1 text on black 3.21:1 AA large text Lc -20.0 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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E2D2ED

    oklch(88.5% 0.04 311.7)

  4. Step 300

    300

    #D0B3E4

    oklch(80.8% 0.075 311.3)

  5. Step 400

    400

    #B98AD6

    oklch(70.6% 0.119 311.9)

  6. Step 500

    500

    #A76BCB

    oklch(63% 0.151 311.6)

  7. Step 600

    600

    #9251B8

    oklch(55.6% 0.164 311.3)

  8. Step 700

    700 (this color)

    #7F43A1

    oklch(49.9% 0.153 311.6)

  9. Step 800

    800

    #653681

    oklch(42.7% 0.127 311.1)

  10. Step 900

    900

    #533067

    oklch(37.8% 0.098 311.9)

  11. Step 950

    950

    #301C3C

    oklch(26.8% 0.063 311.6)

Export this scale for Tailwind in the Tailwind colors tool

#7F43A1 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)#255BA40.134
Deuteranopia (no green cones)#3C5F9F0.118
Tritanopia (no blue cones)#7B546B0.106
Achromatopsia (no color)#5E5E5E0.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F43A1

    #7F43A1

    oklch(49.9% 0.153 311.6)

  • #447200

    #447200

    oklch(49.9% 0.138 131.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F43A1

    #7F43A1

    oklch(49.9% 0.153 311.6)

  • #5752B6

    #5752B6

    oklch(49.7% 0.153 281.5)

  • #99377B

    #99377B

    oklch(49.8% 0.152 341.7)

Open the analogous palette in the generator

Split complementary

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

  • #7F43A1

    #7F43A1

    oklch(49.9% 0.153 311.6)

  • #6F6400

    #6F6400

    oklch(49.8% 0.104 101.9)

  • #00764E

    #00764E

    oklch(50% 0.111 161.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F43A1

    #7F43A1

    oklch(49.9% 0.153 311.6)

  • #885700

    #885700

    oklch(49.9% 0.107 71.8)

  • #00726F

    #00726F

    oklch(49.9% 0.086 191.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F43A1

    #7F43A1

    oklch(49.9% 0.153 311.6)

  • #A63B00

    #A63B00

    oklch(49.8% 0.152 41.4)

  • #447200

    #447200

    oklch(49.9% 0.138 131.8)

  • #006E88

    #006E88

    oklch(49.9% 0.092 221.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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