#8B1866

Closest named color: Red Violet (#9E0168). oklch(43.6% 0.167 344.9), rgb(139, 24, 102).

Aa

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

About this color

#8B1866 is a dark, vivid purple. In OKLCH its lightness is 44%, its chroma 0.167 and its hue 345°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.039 away. White text reads best on it, at 8.67:1.

Hue familyPurples
Lightnessdark (44%)
Chromavivid (0.167)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.42:1
White text8.67:1

Values

HEX#8B1866
RGBrgb(139, 24, 102)
HSLhsl(319, 71%, 32%)
OKLCHoklch(43.6% 0.167 344.9)

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 #8B1866 8.67:1 AAA Lc -93.0 Preferred for body text
Black text on #8B1866 2.42:1 Fails Lc 15.6 Dividers and decoration only
#8B1866 text on white 8.67:1 AAA Lc 88.4 Fine for body text
#8B1866 text on black 2.42:1 Fails Lc -13.8 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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F9E3EE

    oklch(93.7% 0.028 345.9)

  3. Step 200

    200

    #F5CBE1

    oklch(88.4% 0.055 345.4)

  4. Step 300

    300

    #EEA7CF

    oklch(80.8% 0.097 344.7)

  5. Step 400

    400

    #E375B7

    oklch(70.8% 0.156 344.9)

  6. Step 500

    500

    #D74AA5

    oklch(63.1% 0.199 344.7)

  7. Step 600

    600

    #C22290

    oklch(55.6% 0.216 344.7)

  8. Step 700

    700

    #A70F7A

    oklch(49% 0.201 344.9)

  9. Step 800

    800 (this color)

    #8B1866

    oklch(43.6% 0.167 344.9)

  10. Step 900

    900

    #6E1B51

    oklch(37.8% 0.13 345.2)

  11. Step 950

    950

    #41122F

    oklch(27.1% 0.082 345.9)

Export this scale for Tailwind in the Tailwind colors tool

#8B1866 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)#293F680.186
Deuteranopia (no green cones)#4C52630.162
Tritanopia (no blue cones)#95163E0.071
Achromatopsia (no color)#4B4B4B0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #8B1866

    #8B1866

    oklch(43.6% 0.167 344.9)

  • #006145

    #006145

    oklch(43.7% 0.091 165.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8B1866

    #8B1866

    oklch(43.6% 0.167 344.9)

  • #72298F

    #72298F

    oklch(43.6% 0.167 314.6)

  • #970E33

    #970E33

    oklch(43.6% 0.166 14.7)

Open the analogous palette in the generator

Split complementary

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

  • #8B1866

    #8B1866

    oklch(43.6% 0.167 344.9)

  • #2F6000

    #2F6000

    oklch(43.7% 0.128 135)

  • #005E5E

    #005E5E

    oklch(43.6% 0.074 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8B1866

    #8B1866

    oklch(43.6% 0.167 344.9)

  • #595400

    #595400

    oklch(43.7% 0.093 105.7)

  • #005A74

    #005A74

    oklch(43.5% 0.083 225.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8B1866

    #8B1866

    oklch(43.6% 0.167 344.9)

  • #6F4900

    #6F4900

    oklch(43.7% 0.092 75)

  • #006145

    #006145

    oklch(43.7% 0.091 165.3)

  • #00509E

    #00509E

    oklch(43.8% 0.143 254.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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