#8B006E

Closest named color: Purple (#800080). oklch(42.9% 0.186 340.4), rgb(139, 0, 110).

Aa

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

About this color

#8B006E is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.186 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Purple (#800080), ΔE 0.041 away. White text reads best on it, at 9.04:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.186)
Temperaturewarm
Nearest namePurple (#800080)
Black text2.32:1
White text9.04:1

Values

HEX#8B006E
RGBrgb(139, 0, 110)
HSLhsl(313, 100%, 27%)
OKLCHoklch(42.9% 0.186 340.4)

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 #8B006E 9.04:1 AAA Lc -93.2 Preferred for body text
Black text on #8B006E 2.32:1 Fails Lc 15.4 Dividers and decoration only
#8B006E text on white 9.04:1 AAA Lc 88.5 Fine for body text
#8B006E text on black 2.32:1 Fails Lc -13.6 Not readable

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 800.

  1. Step 50

    50

    #FDF2F8

    oklch(97.1% 0.014 343.2)

  2. Step 100

    100

    #F9E2F0

    oklch(93.5% 0.031 340.6)

  3. Step 200

    200

    #F6CAE6

    oklch(88.5% 0.061 340)

  4. Step 300

    300

    #F0A5D6

    oklch(80.9% 0.108 340.4)

  5. Step 400

    400

    #E56FC2

    oklch(70.6% 0.175 340)

  6. Step 500

    500

    #DA3FB2

    oklch(63% 0.223 340.2)

  7. Step 600

    600

    #C5009D

    oklch(55.5% 0.241 340.4)

  8. Step 700

    700

    #A70085

    oklch(49.1% 0.213 340.2)

  9. Step 800

    800 (this color)

    #8B006E

    oklch(42.9% 0.186 340.4)

  10. Step 900

    900

    #6F1359

    oklch(37.7% 0.145 340)

  11. Step 950

    950

    #420E34

    oklch(27% 0.093 340.6)

Export this scale for Tailwind in the Tailwind colors tool

#8B006E 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)#153C700.213
Deuteranopia (no green cones)#45506B0.178
Tritanopia (no blue cones)#94093E0.087
Achromatopsia (no color)#4949490.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #8B006E

    #8B006E

    oklch(42.9% 0.186 340.4)

  • #005F3D

    #005F3D

    oklch(42.9% 0.096 160.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8B006E

    #8B006E

    oklch(42.9% 0.186 340.4)

  • #6F1F99

    #6F1F99

    oklch(43% 0.187 310.4)

  • #960039

    #960039

    oklch(43% 0.172 10.4)

Open the analogous palette in the generator

Split complementary

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

  • #8B006E

    #8B006E

    oklch(42.9% 0.186 340.4)

  • #395B00

    #395B00

    oklch(42.8% 0.116 130.2)

  • #005C59

    #005C59

    oklch(42.9% 0.074 190.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8B006E

    #8B006E

    oklch(42.9% 0.186 340.4)

  • #5B5000

    #5B5000

    oklch(42.9% 0.089 100.2)

  • #00596D

    #00596D

    oklch(42.9% 0.078 220)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8B006E

    #8B006E

    oklch(42.9% 0.186 340.4)

  • #6F4500

    #6F4500

    oklch(42.9% 0.093 70.5)

  • #005F3D

    #005F3D

    oklch(42.9% 0.096 160.4)

  • #005190

    #005190

    oklch(43% 0.124 250.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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