#8A4CDA

Closest named color: Purpley (#8756E4). oklch(56.2% 0.207 299.8), rgb(138, 76, 218).

Aa

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

About this color

#8A4CDA is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.207 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.025 away. White text reads best on it, at 5.08:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.207)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.12:1
White text5.08:1

Values

HEX#8A4CDA
RGBrgb(138, 76, 218)
HSLhsl(266, 66%, 58%)
OKLCHoklch(56.2% 0.207 299.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 #8A4CDA 5.08:1 AA Lc -79.9 Fine for body text
Black text on #8A4CDA 4.12:1 AA large text Lc 29.6 Dividers and decoration only
#8A4CDA text on white 5.08:1 AA Lc 74.5 Content text, not long reading
#8A4CDA text on black 4.12:1 AA large text Lc -27.2 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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #ECE6FA

    oklch(93.6% 0.027 299.5)

  3. Step 200

    200

    #DED2F7

    oklch(88.5% 0.052 300.1)

  4. Step 300

    300

    #C9B3F5

    oklch(80.8% 0.094 299.6)

  5. Step 400

    400

    #AF89EF

    oklch(70.7% 0.149 299.8)

  6. Step 500

    500

    #9C67EA

    oklch(63% 0.191 299.6)

  7. Step 600

    600 (this color)

    #8A4CDA

    oklch(56.2% 0.207 299.8)

  8. Step 700

    700

    #743ABB

    oklch(49.2% 0.192 299.9)

  9. Step 800

    800

    #5E3197

    oklch(42.7% 0.159 299.9)

  10. Step 900

    900

    #4D2D79

    oklch(37.8% 0.125 299.8)

  11. Step 950

    950

    #2D1B47

    oklch(27% 0.08 300)

Export this scale for Tailwind in the Tailwind colors tool

#8A4CDA 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)#006EDE0.149
Deuteranopia (no green cones)#006DD70.150
Tritanopia (no blue cones)#786C8C0.157
Achromatopsia (no color)#6E6E6E0.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A4CDA

    #8A4CDA

    oklch(56.2% 0.207 299.8)

  • #6C7F00

    #6C7F00

    oklch(56.1% 0.133 119.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A4CDA

    #8A4CDA

    oklch(56.2% 0.207 299.8)

  • #4864EC

    #4864EC

    oklch(56.2% 0.207 269.7)

  • #B337AE

    #B337AE

    oklch(56.3% 0.207 329.6)

Open the analogous palette in the generator

Split complementary

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

  • #8A4CDA

    #8A4CDA

    oklch(56.2% 0.207 299.8)

  • #907100

    #907100

    oklch(56.3% 0.115 89.5)

  • #008D3E

    #008D3E

    oklch(56.2% 0.156 149.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A4CDA

    #8A4CDA

    oklch(56.2% 0.207 299.8)

  • #AC5F00

    #AC5F00

    oklch(56.3% 0.132 60)

  • #008877

    #008877

    oklch(56.2% 0.102 179.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A4CDA

    #8A4CDA

    oklch(56.2% 0.207 299.8)

  • #D3281B

    #D3281B

    oklch(56.1% 0.207 29.6)

  • #6C7F00

    #6C7F00

    oklch(56.1% 0.133 119.6)

  • #008494

    #008494

    oklch(56.2% 0.097 209.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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