#8C45AB

Closest named color: Purply (#983FB2). oklch(52.4% 0.166 314.3), rgb(140, 69, 171).

Aa

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

About this color

#8C45AB is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.166 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.026 away. White text reads best on it, at 5.90:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.166)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.55:1
White text5.90:1

Values

HEX#8C45AB
RGBrgb(140, 69, 171)
HSLhsl(282, 43%, 47%)
OKLCHoklch(52.4% 0.166 314.3)

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 #8C45AB 5.90:1 AA Lc -84.3 Fine for body text
Black text on #8C45AB 3.55:1 AA large text Lc 25.0 Dividers and decoration only
#8C45AB text on white 5.90:1 AA Lc 79.0 Fine for body text
#8C45AB text on black 3.55:1 AA large text Lc -22.8 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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F4

    oklch(93.6% 0.021 313.8)

  3. Step 200

    200

    #E3D1ED

    oklch(88.4% 0.043 313.7)

  4. Step 300

    300

    #D3B3E3

    oklch(81% 0.075 314.4)

  5. Step 400

    400

    #BC89D4

    oklch(70.6% 0.12 314.5)

  6. Step 500

    500

    #AB6AC9

    oklch(63.2% 0.152 314.3)

  7. Step 600

    600 (this color)

    #8C45AB

    oklch(52.4% 0.166 314.3)

  8. Step 700

    700

    #803F9C

    oklch(49.1% 0.154 314.5)

  9. Step 800

    800

    #68357F

    oklch(42.8% 0.128 314.1)

  10. Step 900

    900

    #552F66

    oklch(37.8% 0.1 314.5)

  11. Step 950

    950

    #321C3C

    oklch(27.1% 0.064 314.5)

Export this scale for Tailwind in the Tailwind colors tool

#8C45AB 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)#2660AE0.151
Deuteranopia (no green cones)#4266A80.133
Tritanopia (no blue cones)#8957710.111
Achromatopsia (no color)#6464640.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C45AB

    #8C45AB

    oklch(52.4% 0.166 314.3)

  • #417B00

    #417B00

    oklch(52.2% 0.151 134.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C45AB

    #8C45AB

    oklch(52.4% 0.166 314.3)

  • #6256C4

    #6256C4

    oklch(52.4% 0.166 284.1)

  • #A73881

    #A73881

    oklch(52.4% 0.165 344)

Open the analogous palette in the generator

Split complementary

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

  • #8C45AB

    #8C45AB

    oklch(52.4% 0.166 314.3)

  • #756C00

    #756C00

    oklch(52.3% 0.11 103.8)

  • #007D59

    #007D59

    oklch(52.2% 0.11 164.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C45AB

    #8C45AB

    oklch(52.4% 0.166 314.3)

  • #8F5F00

    #8F5F00

    oklch(52.4% 0.111 74.7)

  • #007A79

    #007A79

    oklch(52.4% 0.09 193.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C45AB

    #8C45AB

    oklch(52.4% 0.166 314.3)

  • #AD4500

    #AD4500

    oklch(52.3% 0.151 44.6)

  • #417B00

    #417B00

    oklch(52.2% 0.151 134.3)

  • #007594

    #007594

    oklch(52.3% 0.099 224.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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