#8039AA

Closest named color: Purply (#983FB2). oklch(49.2% 0.178 310.3), rgb(128, 57, 170).

Aa

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

About this color

#8039AA is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.178 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.050 away. White text reads best on it, at 6.81:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.178)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.08:1
White text6.81:1

Values

HEX#8039AA
RGBrgb(128, 57, 170)
HSLhsl(278, 50%, 45%)
OKLCHoklch(49.2% 0.178 310.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 #8039AA 6.81:1 AA Lc -87.9 Fine for body text
Black text on #8039AA 3.08:1 AA large text Lc 21.2 Dividers and decoration only
#8039AA text on white 6.81:1 AA Lc 82.9 Fine for body text
#8039AA text on black 3.08:1 AA large text Lc -19.1 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 700.

  1. Step 50

    50

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #EFE6F7

    oklch(93.7% 0.025 309.4)

  3. Step 200

    200

    #E3D1F1

    oklch(88.5% 0.047 310.5)

  4. Step 300

    300

    #D2B1EA

    oklch(80.8% 0.086 310.7)

  5. Step 400

    400

    #BB87E0

    oklch(70.8% 0.137 310.1)

  6. Step 500

    500

    #AA65D7

    oklch(63.1% 0.176 310.2)

  7. Step 600

    600

    #9648C4

    oklch(55.6% 0.192 310.6)

  8. Step 700

    700 (this color)

    #8039AA

    oklch(49.2% 0.178 310.3)

  9. Step 800

    800

    #683089

    oklch(42.7% 0.147 310.6)

  10. Step 900

    900

    #542C6E

    oklch(37.7% 0.114 310)

  11. Step 950

    950

    #311A40

    oklch(26.8% 0.073 310.3)

Export this scale for Tailwind in the Tailwind colors tool

#8039AA 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)#0058AD0.158
Deuteranopia (no green cones)#2A5CA70.142
Tritanopia (no blue cones)#7A506D0.121
Achromatopsia (no color)#5B5B5B0.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #8039AA

    #8039AA

    oklch(49.2% 0.178 310.3)

  • #466F00

    #466F00

    oklch(49.2% 0.133 130.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8039AA

    #8039AA

    oklch(49.2% 0.178 310.3)

  • #534CC2

    #534CC2

    oklch(49.3% 0.178 280.3)

  • #9E287F

    #9E287F

    oklch(49.3% 0.178 340.7)

Open the analogous palette in the generator

Split complementary

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

  • #8039AA

    #8039AA

    oklch(49.2% 0.178 310.3)

  • #6F6200

    #6F6200

    oklch(49.3% 0.103 100.3)

  • #00744B

    #00744B

    oklch(49.3% 0.111 160.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8039AA

    #8039AA

    oklch(49.2% 0.178 310.3)

  • #875400

    #875400

    oklch(49.2% 0.107 69.6)

  • #00706C

    #00706C

    oklch(49.2% 0.085 190.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8039AA

    #8039AA

    oklch(49.2% 0.178 310.3)

  • #A53800

    #A53800

    oklch(49.3% 0.154 40.4)

  • #466F00

    #466F00

    oklch(49.2% 0.133 130.4)

  • #006C84

    #006C84

    oklch(49.2% 0.09 220.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8039AA 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.