#8C4FA4

Closest named color: Deep Lavender (#8D5EB7). oklch(53.4% 0.142 315.7), rgb(140, 79, 164).

Aa

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

About this color

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

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

Values

HEX#8C4FA4
RGBrgb(140, 79, 164)
HSLhsl(283, 35%, 48%)
OKLCHoklch(53.4% 0.142 315.7)

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 #8C4FA4 5.57:1 AA Lc -82.8 Fine for body text
Black text on #8C4FA4 3.76:1 AA large text Lc 26.6 Dividers and decoration only
#8C4FA4 text on white 5.57:1 AA Lc 77.5 Fine for body text
#8C4FA4 text on black 3.76:1 AA large text Lc -24.3 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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F2

    oklch(93.5% 0.019 317.7)

  3. Step 200

    200

    #E2D2E9

    oklch(88.4% 0.036 315.7)

  4. Step 300

    300

    #D1B5DD

    oklch(81% 0.063 315.7)

  5. Step 400

    400

    #B98DCC

    oklch(70.7% 0.102 315.4)

  6. Step 500

    500

    #A86FBF

    oklch(63.2% 0.131 315.7)

  7. Step 600

    600 (this color)

    #8C4FA4

    oklch(53.4% 0.142 315.7)

  8. Step 700

    700

    #7D4593

    oklch(49.1% 0.133 315.7)

  9. Step 800

    800

    #663977

    oklch(42.7% 0.11 316.1)

  10. Step 900

    900

    #533260

    oklch(37.7% 0.085 315.9)

  11. Step 950

    950

    #311E38

    oklch(27.1% 0.053 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#8C4FA4 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)#3D64A70.125
Deuteranopia (no green cones)#4F6AA20.112
Tritanopia (no blue cones)#8B5C720.094
Achromatopsia (no color)#6868680.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C4FA4

    #8C4FA4

    oklch(53.4% 0.142 315.7)

  • #447E1C

    #447E1C

    oklch(53.3% 0.142 135.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C4FA4

    #8C4FA4

    oklch(53.4% 0.142 315.7)

  • #675DBB

    #675DBB

    oklch(53.4% 0.143 285.3)

  • #A4457F

    #A4457F

    oklch(53.4% 0.142 345.4)

Open the analogous palette in the generator

Split complementary

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

  • #8C4FA4

    #8C4FA4

    oklch(53.4% 0.142 315.7)

  • #777000

    #777000

    oklch(53.4% 0.114 105.3)

  • #00815D

    #00815D

    oklch(53.5% 0.112 165.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C4FA4

    #8C4FA4

    oklch(53.4% 0.142 315.7)

  • #926200

    #926200

    oklch(53.4% 0.112 75.5)

  • #007D7E

    #007D7E

    oklch(53.4% 0.091 195.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C4FA4

    #8C4FA4

    oklch(53.4% 0.142 315.7)

  • #AD4C12

    #AD4C12

    oklch(53.4% 0.142 45.7)

  • #447E1C

    #447E1C

    oklch(53.3% 0.142 135.6)

  • #00789A

    #00789A

    oklch(53.4% 0.102 226.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8C4FA4.

Similar named colors

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

Use #8C4FA4 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.