#8B51BC

Closest named color: Deep Lavender (#8D5EB7). oklch(55% 0.166 306.8), rgb(139, 81, 188).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.166)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.00:1
White text5.24:1

Values

HEX#8B51BC
RGBrgb(139, 81, 188)
HSLhsl(273, 44%, 53%)
OKLCHoklch(55% 0.166 306.8)

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 #8B51BC 5.24:1 AA Lc -81.0 Fine for body text
Black text on #8B51BC 4.00:1 AA large text Lc 28.4 Dividers and decoration only
#8B51BC text on white 5.24:1 AA Lc 75.7 Fine for body text
#8B51BC text on black 4.00:1 AA large text Lc -26.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 600.

  1. Step 50

    50

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE6F6

    oklch(93.5% 0.023 305.6)

  3. Step 200

    200

    #E0D2EF

    oklch(88.4% 0.042 307.2)

  4. Step 300

    300

    #CDB4E7

    oklch(80.8% 0.075 307)

  5. Step 400

    400

    #B48CDB

    oklch(70.7% 0.12 306.8)

  6. Step 500

    500

    #A26DD1

    oklch(63.1% 0.153 307)

  7. Step 600

    600 (this color)

    #8B51BC

    oklch(55% 0.166 306.8)

  8. Step 700

    700

    #7843A4

    oklch(49.2% 0.154 306.8)

  9. Step 800

    800

    #613785

    oklch(42.6% 0.129 306.6)

  10. Step 900

    900

    #4F316A

    oklch(37.7% 0.099 306.6)

  11. Step 950

    950

    #2E1D3E

    oklch(26.9% 0.063 306.4)

Export this scale for Tailwind in the Tailwind colors tool

#8B51BC 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)#2A6AC00.135
Deuteranopia (no green cones)#406DB90.122
Tritanopia (no blue cones)#83657F0.119
Achromatopsia (no color)#6C6C6C0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #8B51BC

    #8B51BC

    oklch(55% 0.166 306.8)

  • #5C7F00

    #5C7F00

    oklch(54.9% 0.141 126.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8B51BC

    #8B51BC

    oklch(55% 0.166 306.8)

  • #5C63D0

    #5C63D0

    oklch(55.1% 0.165 276.7)

  • #AB4395

    #AB4395

    oklch(55.1% 0.167 336.7)

Open the analogous palette in the generator

Split complementary

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

  • #8B51BC

    #8B51BC

    oklch(55% 0.166 306.8)

  • #857100

    #857100

    oklch(55.1% 0.114 96.8)

  • #008851

    #008851

    oklch(55.1% 0.132 156.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8B51BC

    #8B51BC

    oklch(55% 0.166 306.8)

  • #A06100

    #A06100

    oklch(55% 0.122 66.9)

  • #00837B

    #00837B

    oklch(54.9% 0.096 187.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8B51BC

    #8B51BC

    oklch(55% 0.166 306.8)

  • #BE431C

    #BE431C

    oklch(55% 0.166 37)

  • #5C7F00

    #5C7F00

    oklch(54.9% 0.141 126.4)

  • #007F97

    #007F97

    oklch(55% 0.098 217.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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