#8F52A6

Closest named color: Deep Lavender (#8D5EB7). oklch(54.3% 0.141 316.1), rgb(143, 82, 166).

Aa

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

About this color

#8F52A6 is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.141 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.035 away. White text reads best on it, at 5.34:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromavivid (0.141)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text3.92:1
White text5.34:1

Values

HEX#8F52A6
RGBrgb(143, 82, 166)
HSLhsl(284, 34%, 49%)
OKLCHoklch(54.3% 0.141 316.1)

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 #8F52A6 5.34:1 AA Lc -81.7 Fine for body text
Black text on #8F52A6 3.92:1 AA large text Lc 27.7 Dividers and decoration only
#8F52A6 text on white 5.34:1 AA Lc 76.3 Fine for body text
#8F52A6 text on black 3.92:1 AA large text Lc -25.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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F2

    oklch(93.5% 0.019 317.7)

  3. Step 200

    200

    #E3D2E9

    oklch(88.4% 0.036 317.3)

  4. Step 300

    300

    #D1B5DD

    oklch(81% 0.063 315.7)

  5. Step 400

    400

    #B98DCB

    oklch(70.7% 0.1 315.9)

  6. Step 500

    500

    #A86FBE

    oklch(63.1% 0.13 316.1)

  7. Step 600

    600 (this color)

    #8F52A6

    oklch(54.3% 0.141 316.1)

  8. Step 700

    700

    #7D4592

    oklch(49% 0.132 316.1)

  9. Step 800

    800

    #663A76

    oklch(42.8% 0.107 316.5)

  10. Step 900

    900

    #53325F

    oklch(37.7% 0.084 316.6)

  11. Step 950

    950

    #311E38

    oklch(27.1% 0.053 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#8F52A6 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)#4167A90.123
Deuteranopia (no green cones)#536DA40.111
Tritanopia (no blue cones)#8E5F740.094
Achromatopsia (no color)#6B6B6B0.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F52A6

    #8F52A6

    oklch(54.3% 0.141 316.1)

  • #468122

    #468122

    oklch(54.3% 0.141 136.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F52A6

    #8F52A6

    oklch(54.3% 0.141 316.1)

  • #6B60BD

    #6B60BD

    oklch(54.4% 0.141 286.1)

  • #A74881

    #A74881

    oklch(54.3% 0.141 345.8)

Open the analogous palette in the generator

Split complementary

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

  • #8F52A6

    #8F52A6

    oklch(54.3% 0.141 316.1)

  • #797300

    #797300

    oklch(54.3% 0.116 106)

  • #008460

    #008460

    oklch(54.4% 0.113 165.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F52A6

    #8F52A6

    oklch(54.3% 0.141 316.1)

  • #956500

    #956500

    oklch(54.4% 0.114 76.3)

  • #008081

    #008081

    oklch(54.4% 0.093 195.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F52A6

    #8F52A6

    oklch(54.3% 0.141 316.1)

  • #AF4F17

    #AF4F17

    oklch(54.2% 0.141 45.9)

  • #468122

    #468122

    oklch(54.3% 0.141 136.1)

  • #007B9E

    #007B9E

    oklch(54.3% 0.104 226.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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